summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-04-30 20:40:58 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-04-30 20:40:58 +0000
commit00dd5b8805c559122d4f903e1a607f088d9b96d9 (patch)
tree695d65a511f57e6723e37875c03216ead07f47cb /games-action
parentVersion bump (diff)
downloadgentoo-2-00dd5b8805c559122d4f903e1a607f088d9b96d9.tar.gz
gentoo-2-00dd5b8805c559122d4f903e1a607f088d9b96d9.tar.bz2
gentoo-2-00dd5b8805c559122d4f903e1a607f088d9b96d9.zip
Fix building with gcc-4.3
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/orbital-eunuchs-sniper/ChangeLog7
-rw-r--r--games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.30-gcc43.patch10
-rw-r--r--games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.30.ebuild6
3 files changed, 20 insertions, 3 deletions
diff --git a/games-action/orbital-eunuchs-sniper/ChangeLog b/games-action/orbital-eunuchs-sniper/ChangeLog
index da930a2d7c9d..48934776ea8d 100644
--- a/games-action/orbital-eunuchs-sniper/ChangeLog
+++ b/games-action/orbital-eunuchs-sniper/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-action/orbital-eunuchs-sniper
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/orbital-eunuchs-sniper/ChangeLog,v 1.10 2008/03/19 01:11:21 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/orbital-eunuchs-sniper/ChangeLog,v 1.11 2008/04/30 20:40:58 nyhm Exp $
+
+ 30 Apr 2008; Tristan Heaven <nyhm@gentoo.org>
+ +files/orbital-eunuchs-sniper-1.30-gcc43.patch,
+ orbital-eunuchs-sniper-1.30.ebuild:
+ Fix building with gcc-4.3
19 Mar 2008; Tristan Heaven <nyhm@gentoo.org>
orbital-eunuchs-sniper-1.30.ebuild:
diff --git a/games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.30-gcc43.patch b/games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.30-gcc43.patch
new file mode 100644
index 000000000000..268294a2c6c9
--- /dev/null
+++ b/games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.30-gcc43.patch
@@ -0,0 +1,10 @@
+--- src/snipe2d.h
++++ src/snipe2d.h
+@@ -39,6 +39,7 @@
+ #include <stdlib.h>
+ #include <math.h>
+ #include <string.h>
++#include <climits>
+ #include <libgen.h>
+ #include <SDL/SDL.h>
+ #include <SDL/SDL_image.h>
diff --git a/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.30.ebuild b/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.30.ebuild
index 0f80cc799b3c..133f4fc37d23 100644
--- a/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.30.ebuild
+++ b/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.30.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.30.ebuild,v 1.3 2008/03/19 01:11:21 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.30.ebuild,v 1.4 2008/04/30 20:40:58 nyhm Exp $
inherit autotools eutils games
@@ -23,7 +23,9 @@ S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}"/${P}-datadir.patch
+ epatch \
+ "${FILESDIR}"/${P}-datadir.patch \
+ "${FILESDIR}"/${P}-gcc43.patch
eautoreconf
}