diff options
author | Brian Evans <grknight@gentoo.org> | 2017-06-09 14:20:43 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2017-06-09 14:21:17 -0400 |
commit | 472703f53f4a530931c923e3e04c9d5f681518ee (patch) | |
tree | 704da79ddef6680e21579f79aea42cd64ac2db8e /dev-db/myodbc | |
parent | dev-python/uncompyle6: Version Bump (diff) | |
download | gentoo-472703f53f4a530931c923e3e04c9d5f681518ee.tar.gz gentoo-472703f53f4a530931c923e3e04c9d5f681518ee.tar.bz2 gentoo-472703f53f4a530931c923e3e04c9d5f681518ee.zip |
dev-db/myodbc: Fix undefined references with gcc 5 std change
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-db/myodbc')
-rw-r--r-- | dev-db/myodbc/myodbc-5.2.7-r1.ebuild | 5 | ||||
-rw-r--r-- | dev-db/myodbc/myodbc-5.2.7-r2.ebuild | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/dev-db/myodbc/myodbc-5.2.7-r1.ebuild b/dev-db/myodbc/myodbc-5.2.7-r1.ebuild index aea3236e0f01..22819c507ced 100644 --- a/dev-db/myodbc/myodbc-5.2.7-r1.ebuild +++ b/dev-db/myodbc/myodbc-5.2.7-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -43,6 +43,9 @@ src_prepare() { epatch "${FILESDIR}/cmake-doc-path.patch" \ "${FILESDIR}/${PVR}-cxxlinkage.patch" \ "${FILESDIR}/${PV}-mariadb-dynamic-array.patch" + + # Fix undefined references due to standards change + append-cflags -std=gnu89 } multilib_src_configure() { diff --git a/dev-db/myodbc/myodbc-5.2.7-r2.ebuild b/dev-db/myodbc/myodbc-5.2.7-r2.ebuild index 24446560e0c3..e475faca21ee 100644 --- a/dev-db/myodbc/myodbc-5.2.7-r2.ebuild +++ b/dev-db/myodbc/myodbc-5.2.7-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -46,6 +46,9 @@ src_prepare() { "${FILESDIR}/${PV}-r1-cxxlinkage.patch" \ "${FILESDIR}/${PV}-mariadb-dynamic-array.patch" \ "${FILESDIR}/${PV}-my_malloc.patch" + + # Fix undefined references due to standards change + append-cflags -std=gnu89 } multilib_src_configure() { |