mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-01 23:05:57 +02: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:
@@ -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
Block a user