diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-10-08 17:49:55 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-10-08 17:49:55 +0300 |
commit | 4dd62947f1fff3945a7768e23bd0d248efc1e4f8 (patch) | |
tree | 20850c75fedcb0b74a2e132bf72da1cc088bfaea /gnu/packages/education.scm | |
parent | a940689896c154a40c98c7d2391d1ac6797bb15c (diff) | |
download | guix-4dd62947f1fff3945a7768e23bd0d248efc1e4f8.tar.gz |
gnu: t4k-common: Fix building with newer gcc.
* gnu/packages/education.scm (t4l-common)[source]: Add snippet to update code for stricter checks with newer gcc versions.
Diffstat (limited to 'gnu/packages/education.scm')
-rw-r--r-- | gnu/packages/education.scm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index 0ba7bc6848..0d1a1c40be 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm @@ -921,8 +921,13 @@ endless. For example: (file-name (git-file-name name version)) (sha256 (base32 "13q02xpmps9qg8zrzzy2gzv4a6afgi28lxk4z242j780v0gphchp")) - (patches - (search-patches "t4k-common-libpng16.patch")))) + (patches (search-patches "t4k-common-libpng16.patch")) + (modules '((guix build utils))) + (snippet + `(begin + (substitute* "src/t4k_common.h" + (("char wrapped_lines") "extern char wrapped_lines")) + #t)))) (build-system cmake-build-system) (arguments `(#:tests? #f ;FIXME: cannot find how to run tests |