summaryrefslogtreecommitdiff
path: root/gnu/packages/game-development.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-05 20:38:03 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-05 20:39:18 +0100
commit2f4ffa29e4ea99c5804353208d32f1acd8fa5467 (patch)
tree8bd2dab970c56578ffde9e293ab56709d81a9e68 /gnu/packages/game-development.scm
parent548f225f3131b66d09fd4aa10750e47b93f146d0 (diff)
gnu: python-renpy: Fix build.
* gnu/packages/game-development.scm (python-renpy): [arguments] <phases>: Add 'relax-gcc-14-strictness. [inputs]: Remove ffmpeg; add ffmpeg-6. [native-inputs]: Remove python-cython; add python-cython-0. Fixes: guix/guix#3308 Change-Id: Ie0c8187e4ec12e9854ce90d94e84b06fbe9a7be1
Diffstat (limited to 'gnu/packages/game-development.scm')
-rw-r--r--gnu/packages/game-development.scm11
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index d670d7f2c49..2f8da3c67eb 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1743,6 +1743,13 @@ bugfixes and enhancements, and a new governance model.")
(search-input-file (or native-inputs inputs)
"/bin/cython"))
(setenv "RENPY_DEPS_INSTALL" (string-join (map cdr inputs) ":"))))
+ (add-before 'build 'relax-gcc-14-strictness
+ (lambda _
+ (setenv "CFLAGS" (string-join
+ (list "-g" "-O2"
+ "-Wno-error=incompatible-pointer-types"
+ "-Wno-error=implicit-function-declaration")
+ " "))))
(replace 'build
(lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
;; The "module" subdirectory contains a python (really cython)
@@ -1769,9 +1776,9 @@ bugfixes and enhancements, and a new governance model.")
(string-append out site "/renpy"))
(delete-file-recursively (string-append out site
"/renpy/common"))))))))
- (native-inputs (list python-cython))
+ (native-inputs (list python-cython-0))
(inputs
- (list ffmpeg
+ (list ffmpeg-6
freetype
fribidi
glew