From 2f4ffa29e4ea99c5804353208d32f1acd8fa5467 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 5 Oct 2025 20:38:03 +0100 Subject: [PATCH] gnu: python-renpy: Fix build. * gnu/packages/game-development.scm (python-renpy): [arguments] : 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 --- gnu/packages/game-development.scm | 11 +++++++++-- 1 file 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