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:
Efraim Flashner 2021-10-08 17:53:48 +03:00
parent 4dd62947f1
commit e428e9898e
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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)