gnu: klick: Fix build with GCC 7.

* gnu/packages/music.scm (klick)[arguments]: Pass -fpermissive to compiler.
This commit is contained in:
Ricardo Wurmus 2019-09-19 16:04:44 +02:00
parent 923b2b5a48
commit fb1d8d2baa
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -777,6 +777,11 @@ (define-public klick
#:tests? #f ; no "check" target
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'be-permissive
(lambda _
(substitute* "SConstruct"
(("'-Wall'") "'-Wall', '-fpermissive'"))
#t))
(add-after 'unpack 'replace-removed-scons-syntax
(lambda _
(substitute* "SConstruct"