mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -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"))
|
||||
#: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)
|
||||
|
|
Loading…
Reference in a new issue