mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
gnu: yubikey-personalization: Fix build with GCC 10.
* gnu/packages/security-token.scm (yubikey-personalization)[source](modules, snippet): New fields.
This commit is contained in:
parent
97ae2ed24b
commit
57e0040537
1 changed files with 8 additions and 1 deletions
|
@ -370,7 +370,14 @@ (define-public yubikey-personalization
|
|||
"/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="
|
||||
|
|
Loading…
Reference in a new issue