me
/
guix
Archived
1
0
Fork 0

gnu: tuxmath: Fix building with newer gcc.

* gnu/packages/education.scm (tuxmath)[source]: Adjust snippet to remove
duplicate code definition.
master
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
1 changed files with 3 additions and 0 deletions

View File

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