summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2005-12-27 14:03:31 +0000
committerdanfe <danfe@FreeBSD.org>2005-12-27 14:03:31 +0000
commit02457250e055910e3b21b58211776b96d250e554 (patch)
tree2ceea50f58cd8b1db73506cf44c1837c8a72a519 /games
parent1b763b651ac5e9f5d71f729a9dcff85a9312808f (diff)
downloadFreeBSD-ports-02457250e055910e3b21b58211776b96d250e554.zip
FreeBSD-ports-02457250e055910e3b21b58211776b96d250e554.tar.gz
Get rid of really simple patch, save an inode.
Diffstat (limited to 'games')
-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 b4e5d11..b132116 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 68cdd13..0000000
--- 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
OpenPOWER on IntegriCloud