summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-06-02 18:18:27 +0000
committerMike Frysinger <vapier@gentoo.org>2004-06-02 18:18:27 +0000
commitc88699fd479cc3bc56bb312392038ecc706f064d (patch)
tree1ee4dca3fd726b46568a81dfbe2d00517552c4d7 /games-arcade/yarsrevenge
parentInitial import. Ebuild submitted by Michael Kohl <citizen428@cargal.org>, clo... (diff)
downloadgentoo-2-c88699fd479cc3bc56bb312392038ecc706f064d.tar.gz
gentoo-2-c88699fd479cc3bc56bb312392038ecc706f064d.tar.bz2
gentoo-2-c88699fd479cc3bc56bb312392038ecc706f064d.zip
Add patch to include missing math header file
Diffstat (limited to 'games-arcade/yarsrevenge')
-rw-r--r--games-arcade/yarsrevenge/files/0.99-math.patch6
-rw-r--r--games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild4
2 files changed, 8 insertions, 2 deletions
diff --git a/games-arcade/yarsrevenge/files/0.99-math.patch b/games-arcade/yarsrevenge/files/0.99-math.patch
new file mode 100644
index 000000000000..bd6feb039899
--- /dev/null
+++ b/games-arcade/yarsrevenge/files/0.99-math.patch
@@ -0,0 +1,6 @@
+--- yar-0.99/yar/graphics.cpp.orig 2004-06-02 14:14:38.174071320 -0400
++++ yar-0.99/yar/graphics.cpp 2004-06-02 14:14:50.352219960 -0400
+@@ -18,2 +18,3 @@
+ #include "yar.hxx"
++#include <cmath>
+
diff --git a/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild b/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild
index ed37e421df68..75d387aab74c 100644
--- a/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild
+++ b/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild,v 1.1 2004/06/02 08:05:56 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild,v 1.2 2004/06/02 18:18:27 vapier Exp $
inherit eutils games
@@ -20,7 +20,7 @@ S="${WORKDIR}/yar-${PV}"
src_unpack() {
unpack ${A}
cd ${S}
- #epatch "${FILESDIR}/${PV}-gcc-typecast.patch"
+ epatch ${FILESDIR}/${PV}-math.patch
}
src_install() {