summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2016-03-10 12:19:42 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2016-03-10 12:20:42 -0500
commit4a262cede946862078b67fc0595aab5c31437465 (patch)
treeb8d9ef0b578b9ca1569e5b96e8319118cf366cc5 /games-strategy/uqm/uqm-0.7.0-r3.ebuild
parentdev-libs/libclc: new snapshot (diff)
downloadgentoo-4a262cede946862078b67fc0595aab5c31437465.tar.gz
gentoo-4a262cede946862078b67fc0595aab5c31437465.tar.bz2
gentoo-4a262cede946862078b67fc0595aab5c31437465.zip
games-strategy/uqm: avoid leaving temp files lying around in /tmp (bug #576098); silence compile warning
Package-Manager: portage-2.2.26
Diffstat (limited to 'games-strategy/uqm/uqm-0.7.0-r3.ebuild')
-rw-r--r--games-strategy/uqm/uqm-0.7.0-r3.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/games-strategy/uqm/uqm-0.7.0-r3.ebuild b/games-strategy/uqm/uqm-0.7.0-r3.ebuild
index 41d994abfc0..61167b7496e 100644
--- a/games-strategy/uqm/uqm-0.7.0-r3.ebuild
+++ b/games-strategy/uqm/uqm-0.7.0-r3.ebuild
@@ -39,6 +39,10 @@ src_prepare() {
&& myopengl=opengl \
|| myopengl=pure
+ epatch \
+ "${FILESDIR}"/${P}-tempdir.patch \
+ "${FILESDIR}"/${P}-warning.patch
+
cat <<-EOF > config.state
CHOICE_debug_VALUE='nodebug'
CHOICE_graphics_VALUE='${myopengl}'