diff options
author | Matthew Hunt <mph@FreeBSD.org> | 1999-12-02 19:19:03 +0000 |
---|---|---|
committer | Matthew Hunt <mph@FreeBSD.org> | 1999-12-02 19:19:03 +0000 |
commit | ac7b5b17c7383ea2135d62e7bb51f83126b629a9 (patch) | |
tree | 6c4731f029683bd19dbbb304f0c02720b436b12e /games/angband/files/patch-ad | |
parent | Update to 3.11: (diff) |
Install angband non-sgid, with the following side effects:
- Two directories are mode 1777; the user is alerted to
this during "make install".
- High score reporting doesn't work, to avoid having a
world-writable file.
- It is presumably possible for one user to prevent another
from playing by creating bogus savefiles in the mode 1777
directories. Frankly, I'm not going to devote my time to
solving game-play DoS attacks.
Previously, certain files (lib/data) were generated the first time
angband was run. These files are now obtained from my directory on
www.freebsd.org and are installed during "make install".
Several cleanups also, while I'm here.
This port is no longer BROKEN.
Notes
Notes:
svn path=/head/; revision=23558
Diffstat (limited to 'games/angband/files/patch-ad')
-rw-r--r-- | games/angband/files/patch-ad | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/games/angband/files/patch-ad b/games/angband/files/patch-ad index 4ff8860be1cc..ab45c2154585 100644 --- a/games/angband/files/patch-ad +++ b/games/angband/files/patch-ad @@ -1,5 +1,5 @@ ---- src/Makefile.orig Mon Feb 9 09:38:23 1998 -+++ src/Makefile Mon Feb 9 09:38:24 1998 +--- src/Makefile.orig Thu Dec 2 10:00:10 1999 ++++ src/Makefile Thu Dec 2 10:12:47 1999 @@ -94,7 +94,7 @@ # # This is my compiler of choice, it seems to work most everywhere @@ -16,16 +16,7 @@ -CFLAGS = -Wall -O1 -pipe -g -D"USE_X11" -D"USE_GCU" -LIBS = -lX11 -lcurses -ltermcap +#CFLAGS = -Wall -O1 -pipe -g -D"USE_X11" -D"USE_GCU" -+LIBS = -L/usr/X11R6/lib -lX11 -lcurses -ltermcap - - - ## -@@ -137,7 +137,7 @@ - ## Variation -- Use "main-xaw.c" instead of "main-x11.c" - ## - #CFLAGS = -Wall -O1 -pipe -g -D"USE_XAW" -D"USE_GCU" --#LIBS = -lXaw -lXmu -lXt -lX11 -lcurses -ltermcap -+#LIBS = -L/usr/X11R6/lib -lXaw -lXmu -lXt -lX11 -lcurses -ltermcap ++LIBS = -L$(X11BASE)/lib -lX11 -lcurses -ltermcap ## |