diff options
author | Marius Bakke <marius@gnu.org> | 2021-05-17 20:48:00 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2021-05-18 22:23:48 +0200 |
commit | 57e004053769cfed2aa5d679629cc5528a5bd4f2 (patch) | |
tree | 00fbc3e65b4a290a59bb0b0450a419804d75edb7 /gnu | |
parent | 97ae2ed24ba08bb706c41a7190d47896cbed4160 (diff) | |
download | guix-57e004053769cfed2aa5d679629cc5528a5bd4f2.tar guix-57e004053769cfed2aa5d679629cc5528a5bd4f2.tar.gz |
gnu: yubikey-personalization: Fix build with GCC 10.
* gnu/packages/security-token.scm (yubikey-personalization)[source](modules,
snippet): New fields.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/security-token.scm | 9 |
1 files changed, 8 insertions, 1 deletions
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=" |