commit:     9a94f630e4b5ca5ed771b0ca665c6ec1c8d44944
Author:     Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 26 20:04:30 2015 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Mon Oct 26 20:05:29 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a94f630

sys-auth/oath-toolkit: Disable automake portability warnings, bug #545702

Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>

 sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild
index a41e3dd..29c0e31 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild
@@ -25,6 +25,10 @@ src_prepare() {
        sed -i -r \
                -e '/TESTS/s,test-vc-list-files-(git|cvs).sh,,g' \
                gl/tests/Makefile.am
+       # disable portability warnings, caused by gtk-doc.make
+       sed -i \
+               -e '/AM_INIT_AUTOMAKE/ s:-Werror:\0 -Wno-portability:' \
+               {liboath,libpskc}/configure.ac
        eautoreconf
        default
 }

Reply via email to