commit: e74b7e94d9d15ee82b2a10feb17b2e912a1701e0 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> AuthorDate: Sat Jun 23 08:15:49 2018 +0000 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> CommitDate: Sat Jun 23 08:17:07 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e74b7e94
dev-db/qdbm: fix build with >=sys-devel/gcc-7 Closes: https://bugs.gentoo.org/638878 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-db/qdbm/{qdbm-1.8.78-r1.ebuild => qdbm-1.8.78-r2.ebuild} | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-db/qdbm/qdbm-1.8.78-r1.ebuild b/dev-db/qdbm/qdbm-1.8.78-r2.ebuild similarity index 93% rename from dev-db/qdbm/qdbm-1.8.78-r1.ebuild rename to dev-db/qdbm/qdbm-1.8.78-r2.ebuild index fcb210018c4..fee0cfe58c3 100644 --- a/dev-db/qdbm/qdbm-1.8.78-r1.ebuild +++ b/dev-db/qdbm/qdbm-1.8.78-r2.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="6" USE_RUBY="ruby21 ruby22 ruby23 ruby24" RUBY_OPTIONAL="yes" -inherit autotools java-pkg-opt-2 perl-functions ruby-ng +inherit autotools flag-o-matic java-pkg-opt-2 perl-functions ruby-ng DESCRIPTION="Quick Database Manager" HOMEPAGE="http://fallabs.com/qdbm/" @@ -89,6 +89,9 @@ src_prepare() { default java-pkg-opt-2_src_prepare + # fix build with >=sys-devel/gcc-7, bug #638878 + append-cflags $(test-flags-CC -fno-tree-vrp) + sed -i \ -e "/^CFLAGS/s|$| ${CFLAGS}|" \ -e "/^OPTIMIZE/s|$| ${CFLAGS}|" \
