summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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