commit: 3069ac90e025371da864ea4a04e2908837b787fc Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Fri Feb 19 09:38:20 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Fri Feb 19 09:38:43 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3069ac90
dev-libs/libvoikko: disable -Wall -Werror Closes: https://bugs.gentoo.org/745009 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> .../files/libvoikko-4.3-disable-wall-werror.patch | 30 ++++++++++++++++++++++ dev-libs/libvoikko/libvoikko-4.3.ebuild | 4 ++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/dev-libs/libvoikko/files/libvoikko-4.3-disable-wall-werror.patch b/dev-libs/libvoikko/files/libvoikko-4.3-disable-wall-werror.patch new file mode 100644 index 00000000000..59369a613b7 --- /dev/null +++ b/dev-libs/libvoikko/files/libvoikko-4.3-disable-wall-werror.patch @@ -0,0 +1,30 @@ +diff -Naur a/configure b/configure +--- a/configure 2019-10-17 17:28:10.000000000 +0300 ++++ b/configure 2021-02-19 11:32:45.084523937 +0200 +@@ -17652,7 +17652,7 @@ + + + tmp_CXXFLAGS="$CXXFLAGS" +-CXXFLAGS="$CXXFLAGS -Wall -Werror -fvisibility=hidden" ++CXXFLAGS="$CXXFLAGS -fvisibility=hidden" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports the visibility attribute" >&5 + $as_echo_n "checking whether $CC supports the visibility attribute... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -18413,7 +18413,7 @@ + if test "x$ax_pthread_try" = "xunknown"; then : + break + fi +- CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS" ++ CFLAGS="-Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS" + ac_link="$ax_pthread_save_ac_link" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -19102,7 +19102,7 @@ + done + + +-CXXFLAGS="$CXXFLAGS -Wall -Werror -pedantic" ++CXXFLAGS="$CXXFLAGS -pedantic" + + ac_config_files="$ac_config_files Makefile src/Makefile src/tools/Makefile java/Makefile test/Makefile cs/Makefile cl/Makefile src/libvoikko.pc" + diff --git a/dev-libs/libvoikko/libvoikko-4.3.ebuild b/dev-libs/libvoikko/libvoikko-4.3.ebuild index 825312749e4..8c80dbafcda 100644 --- a/dev-libs/libvoikko/libvoikko-4.3.ebuild +++ b/dev-libs/libvoikko/libvoikko-4.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -29,6 +29,8 @@ BDEPEND="verify-sig? ( app-crypt/openpgp-keys-voikko )" VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/voikko.asc +PATCHES=( "${FILESDIR}"/${P}-disable-wall-werror.patch ) + src_configure() { local myconf=( --prefix=/usr
