1 |
commit: 01df74eb09be15e0bc046525233de8c0a2a48f1d |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 2 11:57:47 2019 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 2 11:58:06 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01df74eb |
7 |
|
8 |
sys-auth/oath-toolkit: fix USE=pskc for gcc-7, bug #618100 |
9 |
|
10 |
Propagate gcc-7 fix to all copies of intprops.h. |
11 |
|
12 |
Reported-by: Francisco J. Vazquez |
13 |
Closes: https://bugs.gentoo.org/618100 |
14 |
Package-Manager: Portage-2.3.59, Repoman-2.3.12 |
15 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
16 |
|
17 |
sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild | 10 +++++++++- |
18 |
1 file changed, 9 insertions(+), 1 deletion(-) |
19 |
|
20 |
diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild |
21 |
index 26a301c8849..5fccec15e71 100644 |
22 |
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild |
23 |
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild |
24 |
@@ -1,4 +1,4 @@ |
25 |
-# Copyright 1999-2018 Gentoo Authors |
26 |
+# Copyright 1999-2019 Gentoo Authors |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
|
29 |
EAPI=6 |
30 |
@@ -28,6 +28,14 @@ PATCHES=( |
31 |
src_prepare() { |
32 |
default |
33 |
|
34 |
+ # Below files are verbatim copy. Effectively apply ${P}-gcc7.patch |
35 |
+ # to all of them. |
36 |
+ local s='oathtool/gl/intprops.h' d |
37 |
+ for d in {liboath/gl/tests,libpskc/gl,pskctool/gl}/intprops.h; do |
38 |
+ echo "Copy '${s}' to '${d}'" |
39 |
+ cp "${s}" "${d}" || die |
40 |
+ done |
41 |
+ |
42 |
# These tests need git/cvs and don't reflect anything in the final app |
43 |
sed -i -r \ |
44 |
-e '/TESTS/s,test-vc-list-files-(git|cvs).sh,,g' \ |