mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 00:52:55 -05:00
gnu: squashfs-tools: Prepare for GCC 10.
* gnu/packages/compression.scm (squashfs-tools)[source](modules, snippet): New fields.
This commit is contained in:
parent
d49402ab45
commit
9351b2a481
1 changed files with 9 additions and 1 deletions
|
@ -863,7 +863,15 @@ (define-public squashfs-tools
|
||||||
"squashfs" version ".tar.gz"))
|
"squashfs" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(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)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no check target
|
`(#:tests? #f ; no check target
|
||||||
|
|
Loading…
Reference in a new issue