From 14093b79fdd6f07dc123b4f501b61d627835ae39 Mon Sep 17 00:00:00 2001 From: 宋文武 Date: Wed, 19 Jun 2024 08:49:09 +0800 Subject: gnu: blobwars: Fix build. * gnu/packages/games.scm (blobwars)[arguments]<#:phases>: Get rid of custom 'strlcat' and 'strlcpy' implementations. Change-Id: I657d316a4846eda6ae817bc76a6070bcc70adb2e --- gnu/packages/games.scm | 7 +++++-- 1 file 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) -- cgit v1.2.3 ?id=d58faa7f447bbccc1b8714dc43a7940177ab3e62'>refslogtreecommitdiff
path: root/gnu/packages/inklingreader.scm
AgeCommit message (Expand)Author