summaryrefslogtreecommitdiff
path: root/games/xmris/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'games/xmris/patches/patch-aa')
-rw-r--r--games/xmris/patches/patch-aa42
1 files changed, 22 insertions, 20 deletions
diff --git a/games/xmris/patches/patch-aa b/games/xmris/patches/patch-aa
index c8e4ff10fc1..ac9d882478e 100644
--- a/games/xmris/patches/patch-aa
+++ b/games/xmris/patches/patch-aa
@@ -1,33 +1,35 @@
-$NetBSD: patch-aa,v 1.4 2004/02/29 13:38:27 jdc Exp $
+$NetBSD: patch-aa,v 1.5 2005/09/08 06:30:37 jdc Exp $
---- Imakefile.orig 1995-12-22 12:05:52.000000000 +0000
-+++ Imakefile 2004-02-29 13:23:08.000000000 +0000
-@@ -36,3 +36,3 @@
- #if HasGcc
--EXTRACCOPTIONS = -Wall -Wpointer-arith -Wwrite-strings -Wtraditional
-+EXTRACCOPTIONS = -Wall -Wpointer-arith -Wwrite-strings
- #endif /* HasGcc */
-@@ -73,3 +73,3 @@
+--- Imakefile.orig 1999-11-22 14:06:25.000000000 +0000
++++ Imakefile 2005-08-13 19:39:35.000000000 +0100
+@@ -69,7 +69,7 @@
+ /* #define thefont "-*-courier-*-r-*-*-18-*-*-*-m-*-*-*" */
+ XCOMM where is the high score file?
XCOMM SCORE = $(LOCAL)/lib/$(APP)
--SCORE = $(LIBDIR)/$(APP)
-+SCORE = /var/games/$(APP)
+-SCORE = /var/lib/games/$(APP)
++SCORE = XXXVARBASEXXX/games/$(APP)
/* to install default gardens not in app_defaults/$(APP)
-@@ -86,3 +86,3 @@
+ /* #define InstallDefaultGardens $(SCORE)/gardens */
+
+@@ -82,7 +82,7 @@
+ XCOMM and they require these two libraries changed
+ XCOMM XLIB = -lXext-mit -lX11-mit
XCOMM required for setuid, try one or the other, (the first is better)
-XCOMM EXTRA_LOAD_FLAGS = -R$(USRLIBDIR)$${LD_RUN_PATH+\:$$LD_RUN_PATH}
+XCOMM EXTRA_LOAD_FLAGS = -Wl,-R$(USRLIBDIR)$${LD_RUN_PATH+\:$$LD_RUN_PATH}
XCOMM EXTRA_LOAD_FLAGS = -static
-@@ -95,3 +95,3 @@
- XCOMM open access on the score file, 'cos transputers can't do setuid
--INSTSCOREFLAGS = -m 777
-+INSTSCOREFLAGS = -m 664
- #else
-@@ -99,5 +99,5 @@
+ XCOMM some X implementations and openwindows require the maths library
+ XCOMM MATHSLIB = -lm
+@@ -91,9 +91,9 @@
+ XCOMM
+ XCOMM owner and access rights for executable & score directory
XCOMM these are set for a setuid xmris
-OWNER = -o games
++OWNER = -o bin -g games
-INSTSCOREFLAGS = $(OWNER) -m 755
++INSTSCOREFLAGS = $(OWNER) -m 575
-INSTMRISFLAGS = $(OWNER) $(INSTUIDFLAGS)
-+OWNER = -o bin -g games
-+INSTSCOREFLAGS = $(OWNER) -m 775
+INSTMRISFLAGS = $(OWNER) -m 2755
XCOMM normal install locations
+ THEBINDIR = $(BINDIR)
+ THEMANDIR = $(MANDIR)