summaryrefslogtreecommitdiff
path: root/games/xmris/patches
diff options
context:
space:
mode:
Diffstat (limited to 'games/xmris/patches')
-rw-r--r--games/xmris/patches/patch-aa26
-rw-r--r--games/xmris/patches/patch-ab8
2 files changed, 34 insertions, 0 deletions
diff --git a/games/xmris/patches/patch-aa b/games/xmris/patches/patch-aa
new file mode 100644
index 00000000000..6d0181731d9
--- /dev/null
+++ b/games/xmris/patches/patch-aa
@@ -0,0 +1,26 @@
+--- Imakefile.orig Fri Jul 31 00:15:54 1998
++++ Imakefile Fri Jul 31 00:20:49 1998
+@@ -73,3 +73,3 @@
+ XCOMM SCORE = $(LOCAL)/lib/$(APP)
+-SCORE = $(LIBDIR)/$(APP)
++SCORE = $(X11BASE)/share/$(APP)
+ /* to install default gardens not in app_defaults/$(APP)
+@@ -86,3 +86,3 @@
+ 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 these are set for a setuid xmris
+-OWNER = -o games
+-INSTSCOREFLAGS = $(OWNER) -m 755
+-INSTMRISFLAGS = $(OWNER) $(INSTUIDFLAGS)
++OWNER = -o bin -g games
++INSTSCOREFLAGS = $(OWNER) -m 775
++INSTMRISFLAGS = $(OWNER) -m 2755
+ XCOMM normal install locations
diff --git a/games/xmris/patches/patch-ab b/games/xmris/patches/patch-ab
new file mode 100644
index 00000000000..c9006629828
--- /dev/null
+++ b/games/xmris/patches/patch-ab
@@ -0,0 +1,8 @@
+--- all.c.orig Fri Jul 31 00:22:37 1998
++++ all.c Fri Jul 31 00:23:07 1998
+@@ -640,3 +640,5 @@
+ extern int sys_nerr;
++#ifndef __NetBSD__
+ extern char *sys_errlist[];
++#endif
+