aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-10-18 14:28:11 +0200
committerMarius Bakke <mbakke@fastmail.com>2019-10-18 14:35:57 +0200
commit7349f926c70d92b4ade0da2201d0df797e73fe07 (patch)
treeee4809a1d5faf2684e21228e8b7343b30a713cd3
parent1df9245586939e5a359f8c486662642d9d5998b5 (diff)
downloadguix-7349f926c70d92b4ade0da2201d0df797e73fe07.tar
guix-7349f926c70d92b4ade0da2201d0df797e73fe07.tar.gz
gnu: ucl: Build with the C90 standard.
Fixes <https://bugs.gnu.org/37778>. Reported by Pierre Neidhardt <mail@ambrevar.xyz>. * gnu/packages/compression.scm (ucl)[arguments]: New field.
-rw-r--r--gnu/packages/compression.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index c4298c1e95..b63ca4da32 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1901,6 +1901,9 @@ The specification of the Brotli Compressed Data Format is defined in RFC 7932.")
(base32
"0j036lkwsxvm15gr29n8wn07cqq79dswjs9k54939ms5zngjjrdq"))))
(build-system gnu-build-system)
+ (arguments
+ `(;; UCL 1.03 fails to build with newer C standards.
+ #:configure-flags '("CFLAGS=-std=gnu90")))
(home-page "http://www.oberhumer.com/opensource/ucl/")
(synopsis "Portable lossless data compression library")
(description "UCL implements a number of compression algorithms that