[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/14: gnu: yubikey-personalization: Fix build with GCC 10.
From: |
guix-commits |
Subject: |
06/14: gnu: yubikey-personalization: Fix build with GCC 10. |
Date: |
Tue, 18 May 2021 16:25:49 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 57e004053769cfed2aa5d679629cc5528a5bd4f2
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon May 17 20:48:00 2021 +0200
gnu: yubikey-personalization: Fix build with GCC 10.
* gnu/packages/security-token.scm (yubikey-personalization)[source](modules,
snippet): New fields.
---
gnu/packages/security-token.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index 06da3e8..dfa43bb 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -370,7 +370,14 @@ and other operations. It includes a library and a
command-line tool.")
"/Releases/ykpers-" version ".tar.gz"))
(sha256
(base32
- "14wvlwqnwj0gllkpvfqiy8ns938bwvjsz8x1hmymmx32m074vj0f"))))
+ "14wvlwqnwj0gllkpvfqiy8ns938bwvjsz8x1hmymmx32m074vj0f"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; Fix build with GCC 10, remove for versions > 1.20.0.
+ '(begin
+ (substitute* "ykpers-args.h"
+ (("^const char")
+ "extern const char"))))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags (list (string-append "--with-udevrulesdir="
- branch master updated (3e68e83 -> b58efbc), guix-commits, 2021/05/18
- 01/14: gnu: qhull: Update to 2020.2., guix-commits, 2021/05/18
- 02/14: gnu: PackCC: Update to 1.5.0., guix-commits, 2021/05/18
- 04/14: gnu: hdf5: Fix invalid regex range., guix-commits, 2021/05/18
- 03/14: gnu: universal-ctags: Update to 5.9.20210509.0., guix-commits, 2021/05/18
- 05/14: gnu: yubikey-personalization: Update to 1.20.0., guix-commits, 2021/05/18
- 07/14: gnu: ucx: Update to 1.9.0., guix-commits, 2021/05/18
- 09/14: gnu: iwd: Update to 1.14., guix-commits, 2021/05/18
- 06/14: gnu: yubikey-personalization: Fix build with GCC 10.,
guix-commits <=
- 11/14: gnu: asciidoc-py3: Update to 9.1.0., guix-commits, 2021/05/18
- 08/14: gnu: ell: Update to 0.40., guix-commits, 2021/05/18
- 10/14: gnu: asciidoc-py3: Fix source URI., guix-commits, 2021/05/18
- 13/14: gnu: kbd: Update to 2.4.0., guix-commits, 2021/05/18
- 12/14: gnu: asciidoc: Remove Python 2 variant., guix-commits, 2021/05/18
- 14/14: gnu: Add libxml2-xpath0., guix-commits, 2021/05/18