mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-28 14:01:29 -05:00
gnu: tuxmath: Fix building with newer gcc.
* gnu/packages/education.scm (tuxmath)[source]: Adjust snippet to remove duplicate code definition.
This commit is contained in:
parent
4dd62947f1
commit
e428e9898e
1 changed files with 3 additions and 0 deletions
|
@ -977,6 +977,9 @@ (define-public tuxmath
|
||||||
;; Unbundle fonts.
|
;; Unbundle fonts.
|
||||||
(snippet
|
(snippet
|
||||||
`(begin
|
`(begin
|
||||||
|
;; Remove duplicate definition.
|
||||||
|
(substitute* "src/menu_lan.c"
|
||||||
|
(("lan_player_type.*MAX_CLIENTS\\];") ""))
|
||||||
(for-each delete-file (find-files "data/fonts" "\\.ttf$"))
|
(for-each delete-file (find-files "data/fonts" "\\.ttf$"))
|
||||||
#t))))
|
#t))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
|
|
Loading…
Reference in a new issue