dev-db/myodbc: Fix undefined references with gcc 5 std change
authorBrian Evans <grknight@gentoo.org>
Fri, 9 Jun 2017 18:20:43 +0000 (14:20 -0400)
committerBrian Evans <grknight@gentoo.org>
Fri, 9 Jun 2017 18:21:17 +0000 (14:21 -0400)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

dev-db/myodbc/myodbc-5.2.7-r1.ebuild
dev-db/myodbc/myodbc-5.2.7-r2.ebuild

index aea3236e0f010c320a395990456be05dff8b193b..22819c507cedeedaa29a7090401d67942c980884 100644 (file)
@@ -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() {
index 24446560e0c3ebe9fac809ed35713bfc1e7dbdd6..e475faca21eed9aec4ef108544fe504d8c42d02a 100644 (file)
@@ -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() {