Archived
1
0
Fork 0

gnu: squashfs-tools: Update to 4.4.

* gnu/packages/compression.scm (squashfs-tools): Update to 4.4.
[arguments]: Remove obsolete ‘fix-glibc-compatability’ phase.
This commit is contained in:
Tobias Geerinckx-Rice 2019-12-25 17:06:42 +01:00
parent c3cfa73251
commit 957fe1c208
No known key found for this signature in database
GPG key ID: D889B0F018C5493C

View file

@ -779,7 +779,7 @@ time for compression ratio.")
(define-public squashfs-tools (define-public squashfs-tools
(package (package
(name "squashfs-tools") (name "squashfs-tools")
(version "4.3") (version "4.4")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://sourceforge/squashfs/squashfs/" (uri (string-append "mirror://sourceforge/squashfs/squashfs/"
@ -787,10 +787,10 @@ time for compression ratio.")
"squashfs" version ".tar.gz")) "squashfs" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1xpklm0y43nd9i6jw43y2xh5zvlmj9ar2rvknh0bh7kv8c95aq0d")))) "0zmhvczscqz0mzh4b9m8m42asq14db0a6lc8clp5ljq5ybrv70d9"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:tests? #f ; no check target '(#:tests? #f ; no check target
#:make-flags #:make-flags
(list "CC=gcc" (list "CC=gcc"
"XZ_SUPPORT=1" "XZ_SUPPORT=1"
@ -802,13 +802,6 @@ time for compression ratio.")
(replace 'configure (replace 'configure
(lambda _ (lambda _
(chdir "squashfs-tools") (chdir "squashfs-tools")
#t))
(add-after 'unpack 'fix-glibc-compatability
(lambda _
(substitute* '("squashfs-tools/mksquashfs.c"
"squashfs-tools/unsquashfs.c")
(("<sys/sysinfo.h>")
"<sys/sysinfo.h>\n#include <sys/sysmacros.h>"))
#t))))) #t)))))
(inputs (inputs
`(("lz4" ,lz4) `(("lz4" ,lz4)