View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/portage/games-roguelike/tome/files/gentoo-paths.patch (+24 lines)
Line 0    Link Here 
diff -rU 1 tome-225-src.orig/src/files.c tome-225-src/src/files.c
--- tome-225-src.orig/src/files.c	2004-01-14 11:17:02.423263360 -0500
@@ -5670,3 +5670,3 @@
 	/* Build the filename */
-	path_build(buf, 1024, ANGBAND_DIR_APEX, "scores.raw");
 
@@ -5748,3 +5748,3 @@
 	/* Build the filename */
-	path_build(buf, 1024, ANGBAND_DIR_APEX, "scores.raw");
 
@@ -5846,3 +5846,3 @@
 	/* Build the filename */
-	path_build(buf, 1024, ANGBAND_DIR_APEX, "scores.raw");
 
@@ -6296,3 +6296,3 @@
 	/* Build the filename */
-	path_build(buf, 1024, ANGBAND_DIR_APEX, "scores.raw");
 
diff -rU 1 tome-225-src.orig/src/init2.c tome-225-src/src/init2.c
--- tome-225-src.orig/src/init2.c	2004-01-14 11:17:02.473255760 -0500
@@ -6686,3 +6686,3 @@
 	/* Build the filename */
-	path_build(buf, 1024, ANGBAND_DIR_APEX, "scores.raw");
 
(-) /usr/portage/games-roguelike/tome/files/makefile-ncurses.patch (+12 lines)
Line 0    Link Here 
--- makefile	2004-06-11 04:45:12.662310408 +0200
@@ -154,10 +154,10 @@
 #
 COPTS = -Wall -O1 -pipe -g
 INCLUDES = -I/usr/X11R6/include
-DEFINES = -DUSE_X11 \
 	-DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA \
 	-DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK
-LIBS = -lX11 -L/usr/X11R6/lib
 
 
 
(-) /usr/portage/games-roguelike/tome/tome-2.2.7.ebuild (-4 / +10 lines)
 Lines 14-31    Link Here 
KEYWORDS="x86 ~ppc ~amd64"
KEYWORDS="x86 ~ppc ~amd64"
IUSE=""
IUSE=""
DEPEND="virtual/glibc
RDEPEND="virtual/glibc
	dev-lang/lua
	dev-lang/lua
	>=sys-libs/ncurses-5
	>=sys-libs/ncurses-5
	virtual/x11"
	virtual/x11"
DEPEND="${RDEPEND}
	>=sys-apps/sed-4"
S=${WORKDIR}/tome-${MY_PV}-src
S=${WORKDIR}/tome-${MY_PV}-src
src_unpack() {
src_unpack() {
	unpack ${A}
	unpack ${A}
	cp "${S}/src/makefile.std" "${S}/src/makefile" \
	cd ${S}/src
	|| die "cp failed"
	mv makefile.std makefile
	find "${S}" -name .cvsignore -exec rm -f \{\} \;
	epatch "${FILESDIR}/makefile-ncurses.patch"
	epatch "${FILESDIR}/gentoo-paths.patch"
	sed -i \
		-e "s:GENTOO_DIR:${GAMES_STATEDIR}:" files.c init2.c \
			|| die "sed failed"
}
}
src_compile() {
src_compile() {