diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-10-08 17:53:48 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-10-08 17:53:48 +0300 |
commit | e428e9898e7acd5e1c806546ab17d484515bc2c6 (patch) | |
tree | 966d62ae0ce49d2a620dec859732562abe2fbcad | |
parent | 4dd62947f1fff3945a7768e23bd0d248efc1e4f8 (diff) |
gnu: tuxmath: Fix building with newer gcc.
* gnu/packages/education.scm (tuxmath)[source]: Adjust snippet to remove
duplicate code definition.
-rw-r--r-- | gnu/packages/education.scm | 3 |
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) |