summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2006-05-06 00:25:54 +0000
committerAlfredo Tupone <tupone@gentoo.org>2006-05-06 00:25:54 +0000
commit311786f54b0ea088510fc7c73984f03fda373564 (patch)
tree9bdf5b592820a4fa818adb45315a41b8c9d06204 /games-fps/lsdldoom
parentmark ~ppc (diff)
downloadgentoo-2-311786f54b0ea088510fc7c73984f03fda373564.tar.gz
gentoo-2-311786f54b0ea088510fc7c73984f03fda373564.tar.bz2
gentoo-2-311786f54b0ea088510fc7c73984f03fda373564.zip
Fix for gcc-4.1, bug #130482
(Portage version: 2.1_pre10-r2)
Diffstat (limited to 'games-fps/lsdldoom')
-rw-r--r--games-fps/lsdldoom/ChangeLog9
-rw-r--r--games-fps/lsdldoom/files/digest-lsdldoom-1.4.4.42
-rw-r--r--games-fps/lsdldoom/files/lsdldoom-1.4.4.4-gcc41.patch14
-rw-r--r--games-fps/lsdldoom/lsdldoom-1.4.4.4.ebuild7
4 files changed, 27 insertions, 5 deletions
diff --git a/games-fps/lsdldoom/ChangeLog b/games-fps/lsdldoom/ChangeLog
index cda70a6a7062..608715c97e21 100644
--- a/games-fps/lsdldoom/ChangeLog
+++ b/games-fps/lsdldoom/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-fps/lsdldoom
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/lsdldoom/ChangeLog,v 1.8 2005/09/26 18:07:29 wolf31o2 Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/lsdldoom/ChangeLog,v 1.9 2006/05/06 00:25:53 tupone Exp $
+
+ 06 May 2006; <Tupone@gentoo.org> +files/lsdldoom-1.4.4.4-gcc41.patch,
+ lsdldoom-1.4.4.4.ebuild:
+ Fix for gcc-4.1, bug #130482 by David Morgan
+ Patched only the src/r_bsp.h files
26 Sep 2005; Chris Gianelloni <wolf31o2@gentoo.org>
lsdldoom-1.4.4.4.ebuild:
diff --git a/games-fps/lsdldoom/files/digest-lsdldoom-1.4.4.4 b/games-fps/lsdldoom/files/digest-lsdldoom-1.4.4.4
index 64987023dd1e..47fa8003b043 100644
--- a/games-fps/lsdldoom/files/digest-lsdldoom-1.4.4.4
+++ b/games-fps/lsdldoom/files/digest-lsdldoom-1.4.4.4
@@ -1 +1,3 @@
MD5 e1ecfd5a0bd640be48cfd83b28bb1443 lsdldoom-1.4.4.4.tar.gz 916884
+RMD160 92438a234b4642f320364308737e20f232d7da82 lsdldoom-1.4.4.4.tar.gz 916884
+SHA256 6c29560a3a87b351f81717bd79c2cff124df0e68b807a7a365af15317a47d83c lsdldoom-1.4.4.4.tar.gz 916884
diff --git a/games-fps/lsdldoom/files/lsdldoom-1.4.4.4-gcc41.patch b/games-fps/lsdldoom/files/lsdldoom-1.4.4.4-gcc41.patch
new file mode 100644
index 000000000000..6c0ce7dc3b52
--- /dev/null
+++ b/games-fps/lsdldoom/files/lsdldoom-1.4.4.4-gcc41.patch
@@ -0,0 +1,14 @@
+--- src/r_bsp.h.old 2006-05-06 02:07:04.000000000 +0200
++++ src/r_bsp.h 2006-05-06 02:08:48.000000000 +0200
+@@ -41,11 +41,6 @@
+ extern line_t *linedef;
+ extern sector_t *frontsector;
+ extern sector_t *backsector;
+-extern int rw_x;
+-extern int rw_stopx;
+-extern boolean segtextured;
+-extern boolean markfloor; /* false if the back side is the same plane */
+-extern boolean markceiling;
+
+ /* old code -- killough:
+ * extern drawseg_t drawsegs[MAXDRAWSEGS];
diff --git a/games-fps/lsdldoom/lsdldoom-1.4.4.4.ebuild b/games-fps/lsdldoom/lsdldoom-1.4.4.4.ebuild
index a271e2137824..8d2f35096ff8 100644
--- a/games-fps/lsdldoom/lsdldoom-1.4.4.4.ebuild
+++ b/games-fps/lsdldoom/lsdldoom-1.4.4.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/lsdldoom/lsdldoom-1.4.4.4.ebuild,v 1.11 2005/09/26 18:07:29 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/lsdldoom/lsdldoom-1.4.4.4.ebuild,v 1.12 2006/05/06 00:25:53 tupone Exp $
inherit eutils games
@@ -21,7 +21,8 @@ src_unpack() {
unpack ${A}
cp -r ${S}{,.orig}
cd ${S}
- epatch "${FILESDIR}"/${PV}-gentoo-paths.patch
+ epatch "${FILESDIR}"/${PV}-gentoo-paths.patch \
+ "${FILESDIR}/${P}"-gcc41.patch
epatch "${FILESDIR}"/${PV}-gcc34.patch #77846
}