aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-10-08 17:53:48 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-10-08 17:53:48 +0300
commite428e9898e7acd5e1c806546ab17d484515bc2c6 (patch)
tree966d62ae0ce49d2a620dec859732562abe2fbcad /gnu/packages
parent4dd62947f1fff3945a7768e23bd0d248efc1e4f8 (diff)
downloadguix-e428e9898e7acd5e1c806546ab17d484515bc2c6.tar.gz
guix-e428e9898e7acd5e1c806546ab17d484515bc2c6.zip
gnu: tuxmath: Fix building with newer gcc.
* gnu/packages/education.scm (tuxmath)[source]: Adjust snippet to remove duplicate code definition.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/education.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
index 0d1a1c40be..bac3148c54 100644
--- a/gnu/packages/education.scm
+++ b/gnu/packages/education.scm
@@ -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)