summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-08-14 19:50:14 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-08-14 19:50:14 +0000
commitced78260ee941ea691b49fe8c1cfa23e0425db6e (patch)
tree9dab241d78b6e3390e29f87dc4c14bfd9a1f53f1 /games-fps/lsdldoom
parentMove paludis to PDEPEND b/c portage can't break DEPEND <-> RDEPEND cycles. (diff)
downloadgentoo-2-ced78260ee941ea691b49fe8c1cfa23e0425db6e.tar.gz
gentoo-2-ced78260ee941ea691b49fe8c1cfa23e0425db6e.tar.bz2
gentoo-2-ced78260ee941ea691b49fe8c1cfa23e0425db6e.zip
Patch for broken key configuration, bug #103324
(Portage version: 2.1.3.5)
Diffstat (limited to 'games-fps/lsdldoom')
-rw-r--r--games-fps/lsdldoom/ChangeLog8
-rw-r--r--games-fps/lsdldoom/files/digest-lsdldoom-1.4.4.4-r13
-rw-r--r--games-fps/lsdldoom/files/lsdldoom-1.4.4.4-keys.patch11
-rw-r--r--games-fps/lsdldoom/lsdldoom-1.4.4.4-r1.ebuild51
4 files changed, 72 insertions, 1 deletions
diff --git a/games-fps/lsdldoom/ChangeLog b/games-fps/lsdldoom/ChangeLog
index fa5889cedb86..31571c8d2810 100644
--- a/games-fps/lsdldoom/ChangeLog
+++ b/games-fps/lsdldoom/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-fps/lsdldoom
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/lsdldoom/ChangeLog,v 1.11 2007/02/21 23:41:07 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/lsdldoom/ChangeLog,v 1.12 2007/08/14 19:50:14 nyhm Exp $
+
+*lsdldoom-1.4.4.4-r1 (14 Aug 2007)
+
+ 14 Aug 2007; Tristan Heaven <nyhm@gentoo.org>
+ +files/lsdldoom-1.4.4.4-keys.patch, +lsdldoom-1.4.4.4-r1.ebuild:
+ Patch for broken key configuration, bug #103324
21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/games-fps/lsdldoom/files/digest-lsdldoom-1.4.4.4-r1 b/games-fps/lsdldoom/files/digest-lsdldoom-1.4.4.4-r1
new file mode 100644
index 000000000000..47fa8003b043
--- /dev/null
+++ b/games-fps/lsdldoom/files/digest-lsdldoom-1.4.4.4-r1
@@ -0,0 +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-keys.patch b/games-fps/lsdldoom/files/lsdldoom-1.4.4.4-keys.patch
new file mode 100644
index 000000000000..0c356a9fadcf
--- /dev/null
+++ b/games-fps/lsdldoom/files/lsdldoom-1.4.4.4-keys.patch
@@ -0,0 +1,11 @@
+--- src/g_game.c
++++ src/g_game.c
+@@ -200,7 +200,7 @@
+ #define TURBOTHRESHOLD 0x32
+ #define SLOWTURNTICS 6
+ #define QUICKREVERSE 32768 // 180 degree reverse // phares
+-#define NUMKEYS 256
++#define NUMKEYS 512
+
+ fixed_t forwardmove[2] = {0x19, 0x32};
+ fixed_t sidemove[2] = {0x18, 0x28};
diff --git a/games-fps/lsdldoom/lsdldoom-1.4.4.4-r1.ebuild b/games-fps/lsdldoom/lsdldoom-1.4.4.4-r1.ebuild
new file mode 100644
index 000000000000..647d50c08ffd
--- /dev/null
+++ b/games-fps/lsdldoom/lsdldoom-1.4.4.4-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2007 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-r1.ebuild,v 1.1 2007/08/14 19:50:14 nyhm Exp $
+
+inherit eutils games
+
+DESCRIPTION="Port of ID's doom to SDL"
+HOMEPAGE="http://firehead.org/~jessh/lsdldoom/"
+SRC_URI="http://www.lbjhs.net/~jessh/lsdldoom/src/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="ppc sparc x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl
+ media-libs/sdl-net
+ !games-fps/prboom
+ games-fps/doom-data"
+
+src_unpack() {
+ unpack ${A}
+ cp -r "${S}"{,.orig}
+ cd "${S}"
+ epatch \
+ "${FILESDIR}"/${PV}-gentoo-paths.patch \
+ "${FILESDIR}"/${P}-gcc41.patch \
+ "${FILESDIR}"/${P}-keys.patch \
+ "${FILESDIR}"/${PV}-gcc34.patch #77846
+}
+
+src_compile() {
+ # The SDL_mixer implementation is VERY broken ...
+ # it relies on internal function calls rather than
+ # the exported API ... bad programmer !
+ # i386-asm -> build failure
+ # cpu-opt -> just adds -mcpu crap to CFLAGS
+ ac_cv_lib_SDL_mixer_Mix_LoadMUS=no \
+ egamesconf \
+ --disable-i386-asm \
+ --disable-cpu-opt \
+ || die
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ prepalldocs
+ dodoc ChangeLog
+ prepgamesdirs
+}