gnu: libfreehand: Fix compiling with gcc-10.

* gnu/packages/libreoffice.scm (libfreehand)[arguments]: Add
configure-flag to not treat warnings as errors.
This commit is contained in:
Efraim Flashner 2021-08-08 14:43:34 +03:00
parent d30130bcd6
commit 08a9e49d02
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -553,7 +553,8 @@ (define-public libfreehand
"1b1lvqh68rwij1yvmxy02hsmh7i74ma5767mk8mg5nx6chajshhf"))))
(build-system gnu-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
'(#:configure-flags '("--disable-werror")
#:phases (modify-phases %standard-phases
(add-before 'build 'adjust-for-ICU-65
(lambda _
;; Fix build with ICU 65 and later. Taken from this