aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/games.scm7
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)