diff options
author | Marius Bakke <marius@gnu.org> | 2022-11-20 21:09:53 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-11-20 21:09:53 +0100 |
commit | c37a4260387f7be89783c8f46ffd4a2643069fbd (patch) | |
tree | 090423296e17c3f60b5dd772bad23bceaa19f734 /gnu/packages/game-development.scm | |
parent | cae97cd773befcc68ce0ba8709e50c8697b7f0d3 (diff) | |
parent | 4416e94e517a955fe6152094df8b89d2c0c13e65 (diff) |
Merge branch 'master' into staging
Diffstat (limited to 'gnu/packages/game-development.scm')
-rw-r--r-- | gnu/packages/game-development.scm | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 90205a89ab..5622b9d2ee 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -380,9 +380,10 @@ PCM data.") (substitute* (find-files "." "^Makefile\\.in$") (("-Werror") "")) #t))))) - (native-inputs `(("pkgconfig" ,pkg-config))) + (native-inputs (list pkg-config)) (inputs (list bdb glib + gmp guile-3.0 libmicrohttpd ncurses @@ -2444,12 +2445,20 @@ 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 - #: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/") |