summaryrefslogtreecommitdiff
path: root/games/cake
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2005-12-27 14:03:31 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2005-12-27 14:03:31 +0000
commitaf6c426e27866930aa9ec6d9e6ae94ae303ce5fd (patch)
tree13bf21d0a83f3ad946d9f98fee89b7660ae90b93 /games/cake
parentUpdate to 1.5.6 (diff)
Get rid of really simple patch, save an inode.
Notes
Notes: svn path=/head/; revision=152202
Diffstat (limited to 'games/cake')
-rw-r--r--games/cake/Makefile1
-rw-r--r--games/cake/files/patch-main.cpp11
2 files changed, 1 insertions, 11 deletions
diff --git a/games/cake/Makefile b/games/cake/Makefile
index b4e5d11825be..b1321161c452 100644
--- a/games/cake/Makefile
+++ b/games/cake/Makefile
@@ -48,6 +48,7 @@ post-extract:
-e 's/#pragma[[:blank:]]+pack[[:blank:]]*\([[:blank:]]*pop[[:blank:]]*\)/#pragma pack()/g' '{}' \;
@${REINPLACE_CMD} -e 's/ENABLE_SOUND 1/ENABLE_SOUND 0/' \
${WRKSRC}/cake/sound.h
+ @${REINPLACE_CMD} -e 's/167/96/' ${WRKSRC}/main.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/main ${PREFIX}/bin/cake
diff --git a/games/cake/files/patch-main.cpp b/games/cake/files/patch-main.cpp
deleted file mode 100644
index 68cdd13674d9..000000000000
--- a/games/cake/files/patch-main.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- main.cpp.orig Tue Jul 27 17:58:18 2004
-+++ main.cpp Tue Jul 27 17:58:45 2004
-@@ -65,7 +65,7 @@
-
- // console
- int histLine; // commands history scrolling value
--Var consoleKey("consoleKey", 167, VF_PERSISTENT); // key used for console opening/closing
-+Var consoleKey("consoleKey", '`', VF_PERSISTENT); // key used for console opening/closing
- int tabmode = 1; // console tabulation mode
-
- // window