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
parent
d09a4cc7c7
commit
3d1a5a3ec7
|
@ -2444,7 +2444,14 @@ computer games, 3D authoring tools and simulation tools.")
|
||||||
(commit (string-append "Chipmunk-" version))))
|
(commit (string-append "Chipmunk-" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(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)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ;no test
|
`(#:tests? #f ;no test
|
||||||
|
|
Reference in New Issue