guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: tuxmath: Fix building with newer gcc.


From: guix-commits
Subject: 02/02: gnu: tuxmath: Fix building with newer gcc.
Date: Fri, 8 Oct 2021 10:56:17 -0400 (EDT)

efraim pushed a commit to branch core-updates-frozen
in repository guix.

commit e428e9898e7acd5e1c806546ab17d484515bc2c6
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Fri Oct 8 17:53:48 2021 +0300

    gnu: tuxmath: Fix building with newer gcc.
    
    * gnu/packages/education.scm (tuxmath)[source]: Adjust snippet to remove
    duplicate code definition.
---
 gnu/packages/education.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
index 0d1a1c4..bac3148 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]