emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59395: closed ([PATCH] gnu: chipmunk: Fix build.)


From: GNU bug Tracking System
Subject: bug#59395: closed ([PATCH] gnu: chipmunk: Fix build.)
Date: Sun, 20 Nov 2022 09:17:02 +0000

Your message dated Sun, 20 Nov 2022 11:16:46 +0200
with message-id <Y3nwfiOSkm6npZkD@3900XT>
and subject line Re: [bug#59395] [PATCH] gnu: chipmunk: Fix build.
has caused the debbugs.gnu.org bug report #59395,
regarding [PATCH] gnu: chipmunk: Fix build.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
59395: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59395
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: chipmunk: Fix build. Date: Sun, 20 Nov 2022 09:25:31 +0800
From 365ca7ef3d98d3ce1cfff80defea5bbc4ebf5d62 Mon Sep 17 00:00:00 2001
From: AwesomeAdam54321 <adam.faiz@disroot.org>
Date: Sun, 20 Nov 2022 09:03:29 +0800
Subject: [PATCH] gnu: chipmunk: Fix build.

* gnu/packages/game-development.scm (chipmunk): Don't include
the <sys/sysctl.h> header. It has been removed in glibc since 2.32.
---
 gnu/packages/game-development.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 90205a89ab..b319f2fef3 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -2444,7 +2444,14 @@ (define-public chipmunk
              (commit (string-append "Chipmunk-" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1qmkn01g06p3rnhmbyffmjns6wj5vhgf9cscigk3wzxcpwv1hyxb"))))
+        (base32 "1qmkn01g06p3rnhmbyffmjns6wj5vhgf9cscigk3wzxcpwv1hyxb"))
+       (modules '((guix build utils)))
+       (snippet
+        #~(begin
+            ;; This is fixed in the upstream repository but the fix
+            ;; has not been released.
+            (substitute* "src/cpHastySpace.c"
+              (("#include <sys/sysctl.h>") ""))))))
     (build-system cmake-build-system)
     (arguments
      `(#:tests? #f                      ;no test
--
2.38.1



--- End Message ---
--- Begin Message --- Subject: Re: [bug#59395] [PATCH] gnu: chipmunk: Fix build. Date: Sun, 20 Nov 2022 11:16:46 +0200
Thanks. Patches pushed.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]