diff options
author | Joonas Niilola <juippis@gentoo.org> | 2023-04-02 14:45:00 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2023-04-02 14:45:43 +0300 |
commit | e777de3b1d051ffb432195cdd83dc02602a6af84 (patch) | |
tree | 5ecb1a3786d4df6800247e3f7f7ab32bbe426d34 /dev-libs | |
parent | sci-mathematics/why3-for-spark: stabilize 2020 for amd64 (diff) | |
download | gentoo-e777de3b1d051ffb432195cdd83dc02602a6af84.tar.gz gentoo-e777de3b1d051ffb432195cdd83dc02602a6af84.tar.bz2 gentoo-e777de3b1d051ffb432195cdd83dc02602a6af84.zip |
dev-libs/libvoikko: disable -Werror on 4.3.2
Closes: https://bugs.gentoo.org/903694
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libvoikko/files/libvoikko-4.3.2-disable-wall-werror.patch | 30 | ||||
-rw-r--r-- | dev-libs/libvoikko/libvoikko-4.3.2.ebuild | 2 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-libs/libvoikko/files/libvoikko-4.3.2-disable-wall-werror.patch b/dev-libs/libvoikko/files/libvoikko-4.3.2-disable-wall-werror.patch new file mode 100644 index 000000000000..eee8dd56419e --- /dev/null +++ b/dev-libs/libvoikko/files/libvoikko-4.3.2-disable-wall-werror.patch @@ -0,0 +1,30 @@ +diff -Naur a/configure b/configure +--- a/configure 2023-03-04 19:40:49.000000000 +0200 ++++ b/configure 2023-04-02 14:42:31.748484834 +0300 +@@ -18676,7 +18676,7 @@ + + + tmp_CXXFLAGS="$CXXFLAGS" +-CXXFLAGS="$CXXFLAGS -Wall -Werror -fvisibility=hidden" ++CXXFLAGS="$CXXFLAGS -fvisibility=hidden" + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports the visibility attribute" >&5 + printf %s "checking whether $CC supports the visibility attribute... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -19748,7 +19748,7 @@ + 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. */ +@@ -20239,7 +20239,7 @@ + fi + + +-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.2.ebuild b/dev-libs/libvoikko/libvoikko-4.3.2.ebuild index c34db2cdc492..a77427b3f6db 100644 --- a/dev-libs/libvoikko/libvoikko-4.3.2.ebuild +++ b/dev-libs/libvoikko/libvoikko-4.3.2.ebuild @@ -31,6 +31,8 @@ BDEPEND="virtual/pkgconfig VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/voikko.asc +PATCHES=( "${FILESDIR}"/libvoikko-4.3.2-disable-wall-werror.patch ) + src_configure() { local myconf=( --prefix=/usr |