From e0559c531425da5a689d14553af7873528b49d09 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 17 Dec 2021 17:13:03 +0100 Subject: gnu: grfcodec: Fix build with GCC 10. * gnu/packages/patches/grfcodec-gcc-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/game-development.scm (grfcodec)[source](patches): New field. [arguments]: Remove trailing #t. --- gnu/packages/game-development.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/game-development.scm') diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 19d5e71506..d7502dbc29 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -213,6 +213,7 @@ DeuTex has functions such as merging wads, etc.") (uri (string-append "https://binaries.openttd.org/extra/" name "/" version "/" name "-" version "-source.tar.xz")) + (patches (search-patches "grfcodec-gcc-compat.patch")) (sha256 (base32 "08admgnpqcsifpicbm56apgv360fxapqpbbsp10qyk8i22w1ivsk")))) (build-system gnu-build-system) @@ -238,8 +239,7 @@ DeuTex has functions such as merging wads, etc.") "readme" "readme.rpn")) (for-each (lambda (file) (install-file file man)) - (find-files "." "\\.1")))) - #t))))) + (find-files "." "\\.1"))))))))) (inputs (list boost libpng zlib)) (synopsis "GRF development tools") -- cgit v1.2.3