diff options
Diffstat (limited to 'dev-libs/libvoikko')
-rw-r--r-- | dev-libs/libvoikko/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/libvoikko/files/libvoikko-4.3-disable-wall-werror.patch | 30 | ||||
-rw-r--r-- | dev-libs/libvoikko/libvoikko-4.3.ebuild | 6 |
3 files changed, 36 insertions, 3 deletions
diff --git a/dev-libs/libvoikko/Manifest b/dev-libs/libvoikko/Manifest index adb08ed1b999..2a4900eebf14 100644 --- a/dev-libs/libvoikko/Manifest +++ b/dev-libs/libvoikko/Manifest @@ -1,4 +1,5 @@ +AUX libvoikko-4.3-disable-wall-werror.patch 1227 BLAKE2B 6c943d0a77465c176109d790e650044227a82b386d43494e0ea19426fa985d732cfd3e3a9ef309c2de38da6693f813c3f87eef58c72ab809ee8f8d6e70396ebf SHA512 40c95ba1c78e854ef97bcecc3b98f16089d5f26c70051a8022a782338c704428cac0f08e87b7b4db495d78245cf191ed0a00406963da77d515c56f1a1fad5d5a DIST libvoikko-4.3.tar.gz 655465 BLAKE2B a5c0cfd420d51f873bbd707dfddf2e20ea3df8285a88a13fd6a2af947183be42137aefd1ae088b7b01e938864b3fc9402b110cc8a577efb8331a7ea24f795c2e SHA512 804d55d34deca52f882580ff8699a548d0b62d79eb8e27f8f5783a9e0e57d1ab8986963084df2b5fc7ca9f45546e6e4d66e195a42cfbe0327ca02dc211563988 DIST libvoikko-4.3.tar.gz.asc 833 BLAKE2B 78c8da90512a214ce2060c41f6251c7f7575df59bccb50ae80876de0acd37da56c616e73bcdd83f5962712a9e90fc38817fbd2cd773e4ddb9985f0dc86c7f2bf SHA512 3087e098c3d85ba6419e414ec92af380fedebcab2a8a037b7fc55738f00fe042c9d0de7ec18fb6eb12e3afe2c6e0e8a0bdbcfc55747f0e46268a19158a08fb0b -EBUILD libvoikko-4.3.ebuild 1177 BLAKE2B aa4e245e4219ddbe869cd26177ca32ec39b047fa3b57fac97c98959f3d88d670df63de3222ee34100a5716c8f2141c497892c89ccde818fe1f96a60f5677f012 SHA512 09c89a4d5cd44e30d1c911a004d79f1787dd3692fb8a6971ed25598d707dab0fb8e0a636c9b34d2b0fc045e671d1157127184d4e64ad443326b7627cdce1467f +EBUILD libvoikko-4.3.ebuild 1235 BLAKE2B 3887dfa49f9c0bc1d62a52e4c38dcee8b64131538f3687ca6722036de2cfaa4233507a3a36f375660ac7693fd8760f3c354584002412b90987ad1eca3a3e1de4 SHA512 112c5a28dad525cda883157251dfe3bead401c834ac49c7ef7ced715d585432f8896bfc544654d01e17ea55fa7de34d00ad13ab994e2778e5fc6f4f9da58ea95 MISC metadata.xml 419 BLAKE2B dbdf2112c9dec7639da8529d60e49c4da9cc413ca6a64d9175428495e73e7daca3d2a31306984d12f3d264fecc9d0258c7849f8533da3880ca287469c749a5fc SHA512 62374b7251abadedc04b5581551429300ba783b1ad02f237d8a73c3bbe60b1c8495e0de5540418c02d79ff14f58b4b7820be9f6f6dd8c529003a7fc6a7584b5b 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 000000000000..59369a613b7b --- /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 825312749e49..16a28656c60d 100644 --- a/dev-libs/libvoikko/libvoikko-4.3.ebuild +++ b/dev-libs/libvoikko/libvoikko-4.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7..8} ) +PYTHON_COMPAT=( python3_{7..9} ) inherit python-r1 verify-sig @@ -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 |