aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-03-06 16:19:46 +0100
committerMarius Bakke <mbakke@fastmail.com>2019-03-10 18:50:00 +0100
commit97e537c3c759d884ae06611de79969ff51827801 (patch)
tree30f1e20cb78ab8ed4f81ab5e0948132b9fdb684c
parent9ded89fd7c064ce360d5dd13343d0f06cd48a1a1 (diff)
downloadpatches-97e537c3c759d884ae06611de79969ff51827801.tar
patches-97e537c3c759d884ae06611de79969ff51827801.tar.gz
gnu: lz4: Update to 1.8.3.
* gnu/packages/compression.scm (lz4): Update to 1.8.3. [arguments]: Add phase 'disable-broken-test'.
-rw-r--r--gnu/packages/compression.scm15
1 files changed, 11 insertions, 4 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index fff765f69d..2b82e2274c 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -722,7 +722,7 @@ decompression of some loosely related file formats used by Microsoft.")
(define-public lz4
(package
(name "lz4")
- (version "1.8.1.2")
+ (version "1.8.3")
(source
(origin
(method git-fetch)
@@ -730,16 +730,23 @@ decompression of some loosely related file formats used by Microsoft.")
(commit (string-append "v" version))))
(sha256
(base32
- "1jggv4lvfav53advnj0pwqgxzn868lrj8dc9zp73iwvqlj82mhmx"))
+ "0lq00yi7alr9aip6dw0flykzi8yv7z43aay177n86spn9qms7s3g"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
- (native-inputs `(("valgrind" ,valgrind))) ; for tests
+ (native-inputs `(("valgrind" ,valgrind))) ;for tests
(arguments
`(#:test-target "test"
#:make-flags (list "CC=gcc"
(string-append "prefix=" (assoc-ref %outputs "out")))
#:phases (modify-phases %standard-phases
- (delete 'configure)))) ; no configure script
+ (delete 'configure) ;no configure script
+ (add-before 'check 'disable-broken-test
+ (lambda _
+ ;; XXX: test_install.sh fails when prefix is a subdirectory.
+ (substitute* "tests/Makefile"
+ (("^test: (.*) test-install" _ targets)
+ (string-append "test: " targets)))
+ #t)))))
(home-page "https://www.lz4.org")
(synopsis "Compression algorithm focused on speed")
(description "LZ4 is a lossless compression algorithm, providing