[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/06: gnu: squashfs-tools: Prepare for GCC 10.
From: |
guix-commits |
Subject: |
01/06: gnu: squashfs-tools: Prepare for GCC 10. |
Date: |
Sun, 23 May 2021 11:50:34 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 9351b2a48145a690484ff38ace0ccb828c204c09
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat May 22 21:33:53 2021 +0200
gnu: squashfs-tools: Prepare for GCC 10.
* gnu/packages/compression.scm (squashfs-tools)[source](modules, snippet):
New
fields.
---
gnu/packages/compression.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 746a496..c1996ed 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -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
- branch master updated (d49402a -> 4b08aad), guix-commits, 2021/05/23
- 01/06: gnu: squashfs-tools: Prepare for GCC 10.,
guix-commits <=
- 03/06: gnu: OpenSSL: Replace with 1.1.1k [fixes CVE-2021-3449 and CVE-2021-3450]., guix-commits, 2021/05/23
- 04/06: gnu: libx11: Update replacement to 1.7.1 [fixes CVE-2021-31535]., guix-commits, 2021/05/23
- 02/06: gnu: Fix erroneous uses of 'package/inherit'., guix-commits, 2021/05/23
- 05/06: gnu: notmuch: Update to 0.32.1., guix-commits, 2021/05/23
- 06/06: doc: Correct spelling, guix-commits, 2021/05/23