summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-02-02 11:57:47 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2019-02-02 11:58:06 +0000
commit01df74eb09be15e0bc046525233de8c0a2a48f1d (patch)
treefd179f7f337a566287049a1f8aa849b6df9a3e1b /sys-auth
parentapp-emulation/virtualbox: Added forgotten symlinks. (diff)
downloadgentoo-01df74eb09be15e0bc046525233de8c0a2a48f1d.tar.gz
gentoo-01df74eb09be15e0bc046525233de8c0a2a48f1d.tar.bz2
gentoo-01df74eb09be15e0bc046525233de8c0a2a48f1d.zip
sys-auth/oath-toolkit: fix USE=pskc for gcc-7, bug #618100
Propagate gcc-7 fix to all copies of intprops.h. Reported-by: Francisco J. Vazquez Closes: https://bugs.gentoo.org/618100 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
index 26a301c88498..5fccec15e713 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -28,6 +28,14 @@ PATCHES=(
src_prepare() {
default
+ # Below files are verbatim copy. Effectively apply ${P}-gcc7.patch
+ # to all of them.
+ local s='oathtool/gl/intprops.h' d
+ for d in {liboath/gl/tests,libpskc/gl,pskctool/gl}/intprops.h; do
+ echo "Copy '${s}' to '${d}'"
+ cp "${s}" "${d}" || die
+ done
+
# These tests need git/cvs and don't reflect anything in the final app
sed -i -r \
-e '/TESTS/s,test-vc-list-files-(git|cvs).sh,,g' \