diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-06-24 14:43:51 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-06-24 14:43:51 +0200 |
commit | 9ab7415329a8ec661c926ae6174ef1bddfb2c91c (patch) | |
tree | f54f3e6be8ffd7d4762df2e6d9585ddec421172c | |
parent | e11390df55d1b9c022b1e22043c3c81fd54c3835 (diff) | |
download | gnu-guix-9ab7415329a8ec661c926ae6174ef1bddfb2c91c.tar gnu-guix-9ab7415329a8ec661c926ae6174ef1bddfb2c91c.tar.gz |
gnu: json-c: Upgrade to 0.12.
* gnu/packages/pulseaudio.scm (json-c)[source]: Upgrade to 0.12. Add
'modules' and 'snippet' fields.
-rw-r--r-- | gnu/packages/pulseaudio.scm | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm index 386317955d..d1bf981e0a 100644 --- a/gnu/packages/pulseaudio.scm +++ b/gnu/packages/pulseaudio.scm @@ -113,14 +113,26 @@ rates. ") (define json-c (package (name "json-c") - (version "0.11") + (version "0.12") (source (origin (method url-fetch) (uri (string-append "https://s3.amazonaws.com/json-c_releases/releases/json-c-" version ".tar.gz")) (sha256 (base32 - "1324jja19jgsvcz9ij3nf4sgkrf4fg0ilw77vzqls3fw8m8wdpr8")))) + "0gwzic3ifg2d0w32ya3agpxh8i083cgvf7kmc51cnbgqnfr02300")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Somehow 'config.h.in' is older than + ;; 'aclocal.m4', which would trigger a rule to + ;; run 'autoheader'. + (set-file-time "config.h.in" + (stat "aclocal.m4")) + + ;; Don't try to build with -Werror. + (substitute* (find-files "." "Makefile\\.in") + (("-Werror") "")))))) (build-system gnu-build-system) (arguments '(#:parallel-build? #f #:parallel-tests? #f)) |