me
/
guix
Archived
1
0
Fork 0

gnu: squashfs-tools: Prepare for GCC 10.

* gnu/packages/compression.scm (squashfs-tools)[source](modules, snippet): New
fields.
master
Marius Bakke 2021-05-22 21:33:53 +02:00
parent d49402ab45
commit 9351b2a481
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 9 additions and 1 deletions

View File

@ -863,7 +863,15 @@ time for compression ratio.")
"squashfs" version ".tar.gz"))
(sha256
(base32
"0zmhvczscqz0mzh4b9m8m42asq14db0a6lc8clp5ljq5ybrv70d9"))))
"0zmhvczscqz0mzh4b9m8m42asq14db0a6lc8clp5ljq5ybrv70d9"))
(modules '((guix build utils)))
(snippet
'(begin
;; Fix build with -fno-common (default in GCC 10).
;; Remove for squashfs-tools > 4.4.
(substitute* "squashfs-tools/mksquashfs.h"
(("struct cache \\*bwriter_buffer" all)
(string-append "extern " all)))))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no check target