diff options
author | 宋文武 <iyzsong@member.fsf.org> | 2024-06-19 08:49:09 +0800 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-08-31 10:45:12 +0200 |
commit | 14093b79fdd6f07dc123b4f501b61d627835ae39 (patch) | |
tree | 35a869179f1d9906ce556abe9791ce524434d759 | |
parent | 3266dbd3f05629c194280d6df800c49fa9d9862f (diff) | |
download | guix-14093b79fdd6f07dc123b4f501b61d627835ae39.tar.gz guix-14093b79fdd6f07dc123b4f501b61d627835ae39.zip |
gnu: blobwars: Fix build.
* gnu/packages/games.scm (blobwars)[arguments]<#:phases>: Get rid of
custom 'strlcat' and 'strlcpy' implementations.
Change-Id: I657d316a4846eda6ae817bc76a6070bcc70adb2e
-rw-r--r-- | gnu/packages/games.scm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 1f5a534811..3b6f744a70 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -786,10 +786,13 @@ terminal.") "RELEASE=1")) #:phases (modify-phases %standard-phases - (add-after 'unpack 'werror-begone + (add-after 'unpack 'patch-sources (lambda _ (substitute* "Makefile" (("-Werror") "")) - #t)) + ;; glibc 2.38 includes strlcpy and strlcat. + (substitute* "src/headers.h" + (("static inline void strlcat.*") "") + (("static inline void strlcpy.*") "")))) (delete 'configure)))) ;no configure script (native-inputs `(("gettext" ,gettext-minimal) |