aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-12-29 16:54:28 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-29 17:26:58 -0600
commit1570e9f8138513f992c971a82ceab258f7861071 (patch)
tree1ed938f7cb704a5d482a28be47973e980f9dcf7d /games
parent059aa944e86779a8659ac16bcdffe132e514de48 (diff)
games/sdlmess: Uncompressed the patch
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/sdlmess/ini_path.diff16
-rw-r--r--games/sdlmess/ini_path.diff.gzbin348 -> 0 bytes
-rw-r--r--games/sdlmess/sdlmess.SlackBuild2
3 files changed, 17 insertions, 1 deletions
diff --git a/games/sdlmess/ini_path.diff b/games/sdlmess/ini_path.diff
new file mode 100644
index 000000000000..27151e4ff7d2
--- /dev/null
+++ b/games/sdlmess/ini_path.diff
@@ -0,0 +1,16 @@
+diff -Naur sdlmess0129.orig/makefile.sdl sdlmess0129/makefile.sdl
+--- sdlmess0129.orig/makefile.sdl 2009-01-06 23:41:45.000000000 -0500
++++ sdlmess0129/makefile.sdl 2009-03-07 18:43:52.000000000 -0500
+@@ -242,8 +242,11 @@
+ # compile-time definitions
+ #-------------------------------------------------
+
++# 20090304 bkw: Look for mess.ini in ~/.mess, then /etc
++DEFS = -DINI_PATH="\"\$$HOME/.mess;/etc\""
++
+ # CR/LF setup: use both on win32/os2, CR only on everything else
+-DEFS = -DCRLF=2
++DEFS += -DCRLF=2
+
+ ifeq ($(TARGETOS),win32)
+ DEFS = -DCRLF=3
diff --git a/games/sdlmess/ini_path.diff.gz b/games/sdlmess/ini_path.diff.gz
deleted file mode 100644
index 7fb45acb1f26..000000000000
--- a/games/sdlmess/ini_path.diff.gz
+++ /dev/null
Binary files differ
diff --git a/games/sdlmess/sdlmess.SlackBuild b/games/sdlmess/sdlmess.SlackBuild
index d1338aa74b5c..66dd0d7f43ad 100644
--- a/games/sdlmess/sdlmess.SlackBuild
+++ b/games/sdlmess/sdlmess.SlackBuild
@@ -50,7 +50,7 @@ chmod -R a-s,u+w,go+r-w .
# This patch makes sdlmess look for its config file (mess.ini) in
# $HOME/.mess, then /etc.
-zcat $CWD/ini_path.diff.gz | patch -p1
+patch -p1 < $CWD/ini_path.diff
# The MESS debugger requires GConf.If you really really want the
# debugger, install GConf, then remove the NO_DEBUGGER=1 NO_X11=1 below.