summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2017-06-09 14:20:43 -0400
committerBrian Evans <grknight@gentoo.org>2017-06-09 14:21:17 -0400
commit472703f53f4a530931c923e3e04c9d5f681518ee (patch)
tree704da79ddef6680e21579f79aea42cd64ac2db8e /dev-db/myodbc/myodbc-5.2.7-r1.ebuild
parentdev-python/uncompyle6: Version Bump (diff)
downloadgentoo-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/myodbc-5.2.7-r1.ebuild')
-rw-r--r--dev-db/myodbc/myodbc-5.2.7-r1.ebuild5
1 files changed, 4 insertions, 1 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() {