gnu: tuxmath: Fix building with newer gcc.
* gnu/packages/education.scm (tuxmath)[source]: Adjust snippet to remove duplicate code definition.master
parent
4dd62947f1
commit
e428e9898e
|
@ -977,6 +977,9 @@ TuxMath and TuxType.")
|
|||
;; 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)
|
||||
|
|
Reference in New Issue