diff options
author | Yukihiro Nakai <nakai@FreeBSD.org> | 2000-01-22 11:46:45 +0000 |
---|---|---|
committer | Yukihiro Nakai <nakai@FreeBSD.org> | 2000-01-22 11:46:45 +0000 |
commit | 044fe0d8a22849514107c0302251f03f434a9688 (patch) | |
tree | 899ac543c0d46a568279b5e0bcdf8d9c7e123a6a /games/xsokoban/files | |
parent | Fix the ports. (diff) |
Fix and updates from KATO Tsuguru.
Submitted by: "KATO Tsuguru" <tkato@prontomail.ne.jp>
Notes
Notes:
svn path=/head/; revision=24924
Diffstat (limited to 'games/xsokoban/files')
-rw-r--r-- | games/xsokoban/files/patch-aa | 11 | ||||
-rw-r--r-- | games/xsokoban/files/patch-ab | 2 | ||||
-rw-r--r-- | games/xsokoban/files/patch-ad | 14 |
3 files changed, 20 insertions, 7 deletions
diff --git a/games/xsokoban/files/patch-aa b/games/xsokoban/files/patch-aa index 89bc7c5a4fc1..355fb6bab0aa 100644 --- a/games/xsokoban/files/patch-aa +++ b/games/xsokoban/files/patch-aa @@ -1,5 +1,5 @@ -*** Imakefile.org Sun Nov 17 15:36:02 1996 ---- Imakefile Sun Nov 17 15:36:36 1996 +*** Imakefile.orig Wed Aug 28 02:34:41 1996 +--- Imakefile Sat Jan 15 00:00:00 2000 *************** *** 1,7 **** DEFINES= -DNDEBUG @@ -9,12 +9,11 @@ # -lXpm is only needed if you are using Xpm. SRCS= display.c main.c resources.c play.c score.c screen.c \ ---- 1,8 ---- +--- 1,7 ---- DEFINES= -DNDEBUG -! EXTRA_INCLUDES= -I/usr/local/include -I/usr/X11R6/include/X11 \ -! -I/usr/X11R6/include +! EXTRA_INCLUDES= -I$(INCDIR)/X11 -! SYS_LIBRARIES= -L/usr/local/lib -L/usr/X11R6/lib -lXpm $(XLIB) +! SYS_LIBRARIES= -lXpm $(XLIB) # -lXpm is only needed if you are using Xpm. SRCS= display.c main.c resources.c play.c score.c screen.c \ diff --git a/games/xsokoban/files/patch-ab b/games/xsokoban/files/patch-ab index 395b4a0875cf..32d94ebae589 100644 --- a/games/xsokoban/files/patch-ab +++ b/games/xsokoban/files/patch-ab @@ -13,7 +13,7 @@ variable in the installed version, but you know best... */ #ifndef ROOTDIR -! #define ROOTDIR "/usr/X11R6/lib/X11/xsokoban" +! #define ROOTDIR "%%PREFIX%%/lib/X11/xsokoban" #endif /* diff --git a/games/xsokoban/files/patch-ad b/games/xsokoban/files/patch-ad new file mode 100644 index 000000000000..b8f11957c8d8 --- /dev/null +++ b/games/xsokoban/files/patch-ad @@ -0,0 +1,14 @@ +*** externs.h.orig Sun Apr 16 07:46:14 1995 +--- externs.h Sat Jan 15 00:00:00 2000 +*************** +*** 5,11 **** +--- 5,13 ---- + #include <X11/Xresource.h> + #include <sys/stat.h> + #include <sys/types.h> ++ #ifndef __STDC__ + #include <malloc.h> ++ #endif + + #ifdef NEED_NETINET_IN + #include <netinet/in.h> |