me
/
guix
Archived
1
0
Fork 0

gnu: chipmunk: Fix build.

* gnu/packages/game-development.scm (chipmunk)[source]: Don't include
the <sys/sysctl.h> header. It has been removed in glibc since 2.32.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
master
Adam Faiz 2022-11-20 09:25:31 +08:00 committed by Efraim Flashner
parent d09a4cc7c7
commit 3d1a5a3ec7
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 8 additions and 1 deletions

View File

@ -2444,7 +2444,14 @@ computer games, 3D authoring tools and simulation tools.")
(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