Subject: bug#65410: closed (Re: bug#65410: [PATCH] gnu: prboom-plus: Fix build.)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 23 Aug 2023 11:00:02 +0000

Your bug report

#65410: [PATCH] gnu: prboom-plus: Fix build.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
65410: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65410
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#65410: [PATCH] gnu: prboom-plus: Fix build.
From: 宋文武 <[email-masked]>
To: [email-masked]
Cc: 宋文武 <[email-masked]>, Liliana Marie Prikler <[email-masked]>
Date: Wed, 23 Aug 2023 18:59:59 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Pushed now, closing.

Subject: [PATCH] gnu: prboom-plus: Fix build.
From: [email-masked]
To: [email-masked]
Cc: 宋文武 <[email-masked]>
Date: Sun, 20 Aug 2023 20:55:03 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

From: 宋文武 <[email-masked]>

* gnu/packages/games.scm (prboom-plus)[arguments]<#:phases>:
Set CFLAGS to '-fcommon'.
---
 gnu/packages/games.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index a5fa19fc20..4563089326 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -2381,6 +2381,9 @@ (define-public prboom-plus
                                      (assoc-ref %outputs "out") "/bin"))
       #:phases
       (modify-phases %standard-phases
+        (add-before 'configure 'set-CFLAGS
+          (lambda _
+            (setenv "CFLAGS" "-fcommon")))
         (add-after 'set-paths 'set-sdl'paths
           (lambda* (#:key inputs #:allow-other-keys)
             (setenv "CPATH"

base-commit: 95a1a819dffa833bdd7a47f272da7ee4ff3260c8
-- 
2.41.0