summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2004-08-31 21:22:31 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2004-08-31 21:22:31 +0000
commitbf8b453b72ec18f7401855b88d93effb36f51205 (patch)
tree458c2de7cbe1046a8415ce6b17d1ec2676ed0f74 /games-roguelike/nethack
parentversion bump (bug #62424) (Manifest recommit) (diff)
downloadgentoo-2-bf8b453b72ec18f7401855b88d93effb36f51205.tar.gz
gentoo-2-bf8b453b72ec18f7401855b88d93effb36f51205.tar.bz2
gentoo-2-bf8b453b72ec18f7401855b88d93effb36f51205.zip
Added bison patch and closing bug #61140.
Diffstat (limited to 'games-roguelike/nethack')
-rw-r--r--games-roguelike/nethack/ChangeLog6
-rw-r--r--games-roguelike/nethack/files/3.4.3-bison.patch18
-rw-r--r--games-roguelike/nethack/nethack-3.4.3-r1.ebuild7
3 files changed, 27 insertions, 4 deletions
diff --git a/games-roguelike/nethack/ChangeLog b/games-roguelike/nethack/ChangeLog
index a1b8ca01afc6..5e89543281c9 100644
--- a/games-roguelike/nethack/ChangeLog
+++ b/games-roguelike/nethack/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-roguelike/nethack
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/nethack/ChangeLog,v 1.9 2004/07/10 09:39:36 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/nethack/ChangeLog,v 1.10 2004/08/31 21:22:31 wolf31o2 Exp $
+
+ 31 Aug 2004; Chris Gianelloni <wolf31o2@gentoo.org>
+ +files/3.4.3-bison.patch, nethack-3.4.3-r1.ebuild:
+ Added bison patch and closing bug #61140.
*nethack-3.4.3-r1 (10 Jul 2004)
diff --git a/games-roguelike/nethack/files/3.4.3-bison.patch b/games-roguelike/nethack/files/3.4.3-bison.patch
new file mode 100644
index 000000000000..0bec63a7b6ae
--- /dev/null
+++ b/games-roguelike/nethack/files/3.4.3-bison.patch
@@ -0,0 +1,18 @@
+--- nethack-3.4.3/util/Makefile 2004-08-21 01:09:06.724326360 +0200
++++ nethack-3.4.3.new//util/Makefile 2004-08-21 01:08:03.852884272 +0200
+@@ -101,11 +101,11 @@
+
+ # yacc/lex programs to use to generate *_comp.h, *_lex.c, and *_yacc.c.
+ # if, instead of yacc/lex you have bison/flex, comment/uncomment the following.
+-YACC = yacc
+-LEX = lex
+-# YACC = bison -y
++#YACC = yacc
++#LEX = lex
++ YACC = bison -y
+ # YACC = byacc
+-# LEX = flex
++ LEX = flex
+
+ # these are the names of the output files from YACC/LEX. Under MS-DOS
+ # and similar systems, they may differ
diff --git a/games-roguelike/nethack/nethack-3.4.3-r1.ebuild b/games-roguelike/nethack/nethack-3.4.3-r1.ebuild
index 54c181a211aa..d7f083f2474d 100644
--- a/games-roguelike/nethack/nethack-3.4.3-r1.ebuild
+++ b/games-roguelike/nethack/nethack-3.4.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/nethack/nethack-3.4.3-r1.ebuild,v 1.2 2004/07/10 20:55:37 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/nethack/nethack-3.4.3-r1.ebuild,v 1.3 2004/08/31 21:22:31 wolf31o2 Exp $
inherit eutils gcc flag-o-matic games
@@ -33,8 +33,9 @@ src_unpack() {
source setup.sh || die
cd "${S}"
- epatch "${FILESDIR}/${PV}-gentoo-paths.patch"
- epatch "${FILESDIR}/${PV}-default-options.patch"
+ epatch ${FILESDIR}/${PV}-gentoo-paths.patch
+ epatch ${FILESDIR}/${PV}-default-options.patch
+ epatch ${FILESDIR}/${PV}-bison.patch
sed -i \
-e "s:GENTOO_STATEDIR:${GAMES_STATEDIR}/${PN}:" include/unixconf.h \