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.master
parent
a940689896
commit
4dd62947f1
|
@ -921,8 +921,13 @@ endless. For example:
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "13q02xpmps9qg8zrzzy2gzv4a6afgi28lxk4z242j780v0gphchp"))
|
(base32 "13q02xpmps9qg8zrzzy2gzv4a6afgi28lxk4z242j780v0gphchp"))
|
||||||
(patches
|
(patches (search-patches "t4k-common-libpng16.patch"))
|
||||||
(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)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ;FIXME: cannot find how to run tests
|
`(#:tests? #f ;FIXME: cannot find how to run tests
|
||||||
|
|
Reference in New Issue