From 1570e9f8138513f992c971a82ceab258f7861071 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Wed, 29 Dec 2010 16:54:28 -0600 Subject: games/sdlmess: Uncompressed the patch Signed-off-by: Robby Workman --- games/sdlmess/ini_path.diff | 16 ++++++++++++++++ games/sdlmess/ini_path.diff.gz | Bin 348 -> 0 bytes games/sdlmess/sdlmess.SlackBuild | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 games/sdlmess/ini_path.diff delete mode 100644 games/sdlmess/ini_path.diff.gz (limited to 'games') 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 Binary files a/games/sdlmess/ini_path.diff.gz and /dev/null 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. -- cgit v1.2.3