From 97ae2ed24ba08bb706c41a7190d47896cbed4160 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Mon, 17 May 2021 20:47:34 +0200 Subject: gnu: yubikey-personalization: Update to 1.20.0. * gnu/packages/security-token.scm (yubikey-personalization): Update to 1.20.0. --- gnu/packages/security-token.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/security-token.scm') diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index accab82419..06da3e80a0 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -362,7 +362,7 @@ and other operations. It includes a library and a command-line tool.") (define-public yubikey-personalization (package (name "yubikey-personalization") - (version "1.19.3") + (version "1.20.0") (source (origin (method url-fetch) (uri (string-append @@ -370,7 +370,7 @@ and other operations. It includes a library and a command-line tool.") "/Releases/ykpers-" version ".tar.gz")) (sha256 (base32 - "0jhvnavjrpwzmmjcw486df5s48j53njqgyz36yz3dskbaz3kwlfr")))) + "14wvlwqnwj0gllkpvfqiy8ns938bwvjsz8x1hmymmx32m074vj0f")))) (build-system gnu-build-system) (arguments '(#:configure-flags (list (string-append "--with-udevrulesdir=" -- cgit v1.2.3 From 57e004053769cfed2aa5d679629cc5528a5bd4f2 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Mon, 17 May 2021 20:48:00 +0200 Subject: 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(-) (limited to 'gnu/packages/security-token.scm') diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index 06da3e80a0..dfa43bb2bf 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=" -- cgit v1.2.3