commit: fdb70d5b0aa516f8bbbbd256e2c26ed313593745 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Fri Apr 29 20:35:16 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun May 1 04:50:25 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdb70d5b
dev-python/berkeleydb: keyword 18.1.5 for ~ia64 (append needed flag too) Big thanks to matoro for reporting this package working with -O1 compilation. This was tested on guppy.ia64.d.g.o and indeed it passes tests now. (sam: matoro has identified -foptimize-sibling-calls is the issue which is implied by -O2). Bug: https://bugs.gentoo.org/814179 Thanks-to: matoro <matoro <AT> airmail.cc> Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> Signed-off-by: Sam James <sam <AT> gentoo.org> dev-python/berkeleydb/berkeleydb-18.1.5.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild index 9c8e6b6acd04..e9c4a1c6fce3 100644 --- a/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild +++ b/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild @@ -6,7 +6,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{8..10} ) PYTHON_REQ_USE="threads(+)" DISTUTILS_IN_SOURCE_BUILD=1 -inherit db-use distutils-r1 +inherit db-use flag-o-matic distutils-r1 # Tests aren't included in PyPi tarballs, so just manually clone from upstream # at https://hg.jcea.es/pybsddb/ and prepare out tarball @@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86" RDEPEND=" || ( @@ -55,6 +55,11 @@ python_configure_all() { export BERKELEYDB_INCDIR="$(db_includedir ${DB_VER})" export BERKELEYDB_LIBDIR="${EPREFIX}/usr/$(get_libdir)" export YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=1 + + if use ia64; then + # bug #814179 + append-flags -fno-optimize-sibling-calls + fi } python_test() {
