From: Brian Evans Date: Fri, 9 Jun 2017 18:20:43 +0000 (-0400) Subject: dev-db/myodbc: Fix undefined references with gcc 5 std change X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=472703f53f4a530931c923e3e04c9d5f681518ee;p=gentoo.git dev-db/myodbc: Fix undefined references with gcc 5 std change Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- 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() {