diff options
author | Peter Levine <plevine457@gmail.com> | 2018-03-25 22:52:17 -0400 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2018-03-26 12:14:39 -0700 |
commit | c5757e21c174721dad7cedcf5a7a6642da4e1446 (patch) | |
tree | 8dfcba26067a36e0cf1b3a74074d708c00513d94 /sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild | |
parent | app-crypt/dehydrated: Add myself as maintainer (diff) | |
download | gentoo-c5757e21c174721dad7cedcf5a7a6642da4e1446.tar.gz gentoo-c5757e21c174721dad7cedcf5a7a6642da4e1446.tar.bz2 gentoo-c5757e21c174721dad7cedcf5a7a6642da4e1446.zip |
sys-auth/oath-toolkit: Fix building with GCC-7
Bug: https://bugs.gentoo.org/618100
Closes: https://github.com/gentoo/gentoo/pull/7618
Package-Manager: Portage-2.3.16, Repoman-2.3.6
(cherry picked from commit 99a631bb82f619d2553354ca5a0cdf535d4d018b)
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild')
-rw-r--r-- | sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild | 5 |
1 files changed, 4 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 394a6ea3c5f9..f3d38999c1e5 100644 --- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild +++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild @@ -20,7 +20,11 @@ DEPEND="${RDEPEND} test? ( dev-libs/libxml2 ) dev-util/gtk-doc-am" +PATCHES=( "${FILESDIR}"/${P}-gcc7.patch ) + src_prepare() { + default + # 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' \ @@ -30,7 +34,6 @@ src_prepare() { -e '/AM_INIT_AUTOMAKE/ s:-Wall:\0 -Wno-portability:' \ {liboath,libpskc}/configure.ac eautoreconf - default } src_configure() { |