diff options
author | Akinori Hattori <hattya@gentoo.org> | 2018-06-23 17:15:49 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2018-06-23 17:17:07 +0900 |
commit | e74b7e94d9d15ee82b2a10feb17b2e912a1701e0 (patch) | |
tree | 105c48d06d76a04f69aaa901a18425f4c26eb2ab /dev-db/qdbm | |
parent | profiles: stable mask dev-db/qdbm[java] on arm (diff) | |
download | gentoo-e74b7e94d9d15ee82b2a10feb17b2e912a1701e0.tar.gz gentoo-e74b7e94d9d15ee82b2a10feb17b2e912a1701e0.tar.bz2 gentoo-e74b7e94d9d15ee82b2a10feb17b2e912a1701e0.zip |
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
Diffstat (limited to 'dev-db/qdbm')
-rw-r--r-- | dev-db/qdbm/qdbm-1.8.78-r2.ebuild (renamed from dev-db/qdbm/qdbm-1.8.78-r1.ebuild) | 7 |
1 files 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 index fcb210018c4c..fee0cfe58c34 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}|" \ |