commit:     472703f53f4a530931c923e3e04c9d5f681518ee
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  9 18:20:43 2017 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Fri Jun  9 18:21:17 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472703f5

dev-db/myodbc: Fix undefined references with gcc 5 std change

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-db/myodbc/myodbc-5.2.7-r1.ebuild | 5 ++++-
 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 aea3236e0f0..22819c507ce 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 24446560e0c..e475faca21e 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() {

Reply via email to