mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 22:50:23 -05:00
gnu: blobwars: Fix build.
* gnu/packages/games.scm (blobwars)[arguments]<#:phases>: Get rid of custom 'strlcat' and 'strlcpy' implementations. Change-Id: I657d316a4846eda6ae817bc76a6070bcc70adb2e
This commit is contained in:
parent
3266dbd3f0
commit
14093b79fd
1 changed files with 5 additions and 2 deletions
|
@ -786,10 +786,13 @@ (define-public blobwars
|
||||||
"RELEASE=1"))
|
"RELEASE=1"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'werror-begone
|
(add-after 'unpack 'patch-sources
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "Makefile" (("-Werror") ""))
|
(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
|
(delete 'configure)))) ;no configure script
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("gettext" ,gettext-minimal)
|
`(("gettext" ,gettext-minimal)
|
||||||
|
|
Loading…
Reference in a new issue