summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 0000000000..27151e4ff7
--- /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 7fb45acb1f..0000000000
--- 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 d1338aa74b..66dd0d7f43 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.