mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
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>
This commit is contained in:
parent
d09a4cc7c7
commit
3d1a5a3ec7
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue