* [bug#59395] [PATCH] gnu: chipmunk: Fix build.
@ 2022-11-20 1:25 Adam Faiz via Guix-patches via
2022-11-20 1:28 ` [bug#59395] [PATCH] gnu: chipmunk: Use gexps Adam Faiz via Guix-patches via
2022-11-20 9:16 ` bug#59395: [PATCH] gnu: chipmunk: Fix build Efraim Flashner
0 siblings, 2 replies; 3+ messages in thread
From: Adam Faiz via Guix-patches via @ 2022-11-20 1:25 UTC (permalink / raw)
To: 59395
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#59395] [PATCH] gnu: chipmunk: Use gexps.
2022-11-20 1:25 [bug#59395] [PATCH] gnu: chipmunk: Fix build Adam Faiz via Guix-patches via
@ 2022-11-20 1:28 ` Adam Faiz via Guix-patches via
2022-11-20 9:16 ` bug#59395: [PATCH] gnu: chipmunk: Fix build Efraim Flashner
1 sibling, 0 replies; 3+ messages in thread
From: Adam Faiz via Guix-patches via @ 2022-11-20 1:28 UTC (permalink / raw)
To: 59395
From 0fe35cf5b395721ca64cc40fa6a665d0c8bfcb41 Mon Sep 17 00:00:00 2001
From: AwesomeAdam54321 <adam.faiz@disroot.org>
Date: Sun, 20 Nov 2022 09:16:24 +0800
Subject: [PATCH] gnu: chipmunk: Use gexps.
* gnu/packages/game-development.scm (chipmunk)
[arguments]: Use gexps.
---
gnu/packages/game-development.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/game-development.scm
b/gnu/packages/game-development.scm
index b319f2fef3..4228d4aafb 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -2454,9 +2454,10 @@ (define-public chipmunk
(("#include <sys/sysctl.h>") ""))))))
(build-system cmake-build-system)
(arguments
- `(#:tests? #f ;no test
- #:configure-flags '("-DBUILD_STATIC=OFF"
- "-DBUILD_DEMOS=OFF")))
+ (list #:tests? #f ;no test
+ #:configure-flags
+ #~(list "-DBUILD_STATIC=OFF"
+ "-DBUILD_DEMOS=OFF")))
(inputs
(list freeglut libxmu libxrandr))
(home-page "https://chipmunk-physics.net/")
--
2.38.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#59395: [PATCH] gnu: chipmunk: Fix build.
2022-11-20 1:25 [bug#59395] [PATCH] gnu: chipmunk: Fix build Adam Faiz via Guix-patches via
2022-11-20 1:28 ` [bug#59395] [PATCH] gnu: chipmunk: Use gexps Adam Faiz via Guix-patches via
@ 2022-11-20 9:16 ` Efraim Flashner
1 sibling, 0 replies; 3+ messages in thread
From: Efraim Flashner @ 2022-11-20 9:16 UTC (permalink / raw)
To: Adam Faiz; +Cc: 59395-done
[-- Attachment #1: Type: text/plain, Size: 238 bytes --]
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-11-20 9:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-20 1:25 [bug#59395] [PATCH] gnu: chipmunk: Fix build Adam Faiz via Guix-patches via
2022-11-20 1:28 ` [bug#59395] [PATCH] gnu: chipmunk: Use gexps Adam Faiz via Guix-patches via
2022-11-20 9:16 ` bug#59395: [PATCH] gnu: chipmunk: Fix build Efraim Flashner
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.