mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -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.
|
||||
(snippet
|
||||
`(begin
|
||||
;; Remove duplicate definition.
|
||||
(substitute* "src/menu_lan.c"
|
||||
(("lan_player_type.*MAX_CLIENTS\\];") ""))
|
||||
(for-each delete-file (find-files "data/fonts" "\\.ttf$"))
|
||||
#t))))
|
||||
(build-system gnu-build-system)
|
||||
|
|
Loading…
Reference in a new issue