diff options
| author | Marius Bakke <mbakke@fastmail.com> | 2019-07-09 23:35:30 +0200 |
|---|---|---|
| committer | Marius Bakke <mbakke@fastmail.com> | 2019-07-09 23:35:30 +0200 |
| commit | 78affefecc4a3c92a550be22ae0c357f273df659 (patch) | |
| tree | 7e00ee3e6e04f9de8e227c62d4e0036c8477b056 /gnu | |
| parent | 4e073dcd41d47d4e67cc398288bc35edc16ee549 (diff) | |
gnu: oath-toolkit: Fix FTBFS with GCC 7.
* gnu/packages/authentication.scm (oath-toolkit)[source](patches): Add
upstream patch.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/authentication.scm | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/gnu/packages/authentication.scm b/gnu/packages/authentication.scm index 68a64598280..70f2a8c103e 100644 --- a/gnu/packages/authentication.scm +++ b/gnu/packages/authentication.scm | |||
| @@ -26,8 +26,6 @@ | |||
| 26 | #:use-module (guix packages)) | 26 | #:use-module (guix packages)) |
| 27 | 27 | ||
| 28 | (define-public oath-toolkit | 28 | (define-public oath-toolkit |
| 29 | ;; If gcc@7 breaks this package before its next release, try patching it: | ||
| 30 | ;; <https://gitlab.com/oath-toolkit/oath-toolkit/issues/2#note_52958748>. | ||
| 31 | (package | 29 | (package |
| 32 | (name "oath-toolkit") | 30 | (name "oath-toolkit") |
| 33 | (version "2.6.2") | 31 | (version "2.6.2") |
| @@ -36,7 +34,18 @@ | |||
| 36 | (method url-fetch) | 34 | (method url-fetch) |
| 37 | (uri (string-append "https://download.savannah.nongnu.org/releases/" | 35 | (uri (string-append "https://download.savannah.nongnu.org/releases/" |
| 38 | name "/" name "-" version ".tar.gz")) | 36 | name "/" name "-" version ".tar.gz")) |
| 39 | (patches (search-patches "oath-toolkit-glibc-compat.patch")) | 37 | (patches |
| 38 | (append (search-patches "oath-toolkit-glibc-compat.patch") | ||
| 39 | (list (origin | ||
| 40 | ;; This huge commit updates gnulib for GCC 7 compatibility. | ||
| 41 | (method url-fetch) | ||
| 42 | (uri (string-append | ||
| 43 | "https://gitlab.com/oath-toolkit/oath-toolkit/commit/" | ||
| 44 | "2fffce2a471f74a585939c84cce16ef3015e5d3d.diff")) | ||
| 45 | (file-name "oath-toolkit-update-gnulib.patch") | ||
| 46 | (sha256 | ||
| 47 | (base32 | ||
| 48 | "088c9s4ay1b54bjqc4mwfs5l3f6357zj5vpw771zlq5g4addd4s0")))))) | ||
| 40 | (sha256 | 49 | (sha256 |
| 41 | (base32 "182ah8vfbg0yhv6mh1b6ap944d0na6x7lpfkwkmzb6jl9gx4cd5h")))) | 50 | (base32 "182ah8vfbg0yhv6mh1b6ap944d0na6x7lpfkwkmzb6jl9gx4cd5h")))) |
| 42 | (build-system gnu-build-system) | 51 | (build-system gnu-build-system) |
