summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Levine <plevine457@gmail.com>2018-03-25 01:47:01 -0400
committerPacho Ramos <pacho@gentoo.org>2018-04-14 18:18:27 +0200
commit7e72f270aaaaed1ce09b77b1b5f724bc76d77644 (patch)
treee65b2dda4c8d93692b58a7903c41259b403372da /dev-games/ode/ode-0.14-r1.ebuild
parentdev-util/codeblocks: Fix building with GCC-7 (diff)
downloadgentoo-7e72f270aaaaed1ce09b77b1b5f724bc76d77644.tar.gz
gentoo-7e72f270aaaaed1ce09b77b1b5f724bc76d77644.tar.bz2
gentoo-7e72f270aaaaed1ce09b77b1b5f724bc76d77644.zip
dev-games/ode: Fix building with GCC-7
Bug: https://bugs.gentoo.org/646538 Package-Manager: Portage-2.3.16, Repoman-2.3.6 Closes: https://bugs.gentoo.org/646538 Closes: https://github.com/gentoo/gentoo/pull/7605
Diffstat (limited to 'dev-games/ode/ode-0.14-r1.ebuild')
-rw-r--r--dev-games/ode/ode-0.14-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-games/ode/ode-0.14-r1.ebuild b/dev-games/ode/ode-0.14-r1.ebuild
index 08bd2181affa..6cb52f0998f7 100644
--- a/dev-games/ode/ode-0.14-r1.ebuild
+++ b/dev-games/ode/ode-0.14-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -22,6 +22,8 @@ DEPEND="${RDEPEND}
MY_EXAMPLES_DIR=/usr/share/doc/${PF}/examples
src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.14-gcc7.patch
+
sed -i \
-e "s:\$.*/drawstuff/textures:${MY_EXAMPLES_DIR}:" \
drawstuff/src/Makefile.am \