diff options
author | nakai <nakai@FreeBSD.org> | 2000-01-22 19:46:45 +0800 |
---|---|---|
committer | nakai <nakai@FreeBSD.org> | 2000-01-22 19:46:45 +0800 |
commit | 8e76258260591feba8c1af15c1ca6664ed23c5c7 (patch) | |
tree | 6d1a5aa0965f5392bbc49122cf3833c044e424b0 /games/xdeblock/files | |
parent | fe634d0115acb9af3ad90191efcd3274f380d426 (diff) | |
download | freebsd-ports-graphics-8e76258260591feba8c1af15c1ca6664ed23c5c7.tar.gz freebsd-ports-graphics-8e76258260591feba8c1af15c1ca6664ed23c5c7.tar.zst freebsd-ports-graphics-8e76258260591feba8c1af15c1ca6664ed23c5c7.zip |
Fix and updates from KATO Tsuguru.
Submitted by: "KATO Tsuguru" <tkato@prontomail.ne.jp>
Diffstat (limited to 'games/xdeblock/files')
-rw-r--r-- | games/xdeblock/files/patch-aa | 10 | ||||
-rw-r--r-- | games/xdeblock/files/patch-ab | 6 | ||||
-rw-r--r-- | games/xdeblock/files/patch-ac | 36 |
3 files changed, 44 insertions, 8 deletions
diff --git a/games/xdeblock/files/patch-aa b/games/xdeblock/files/patch-aa index ebeda585528..fd5cbc10e1a 100644 --- a/games/xdeblock/files/patch-aa +++ b/games/xdeblock/files/patch-aa @@ -1,5 +1,5 @@ -*** Imakefile.orig Sat Jan 25 23:26:41 1997 ---- Imakefile Sat Jan 25 23:31:45 1997 +*** Imakefile.orig Sat Nov 16 13:06:36 1996 +--- Imakefile Thu Jan 15 00:00:00 2000 *************** *** 10,16 **** XCOMM Set xdeblock working directory. @@ -13,7 +13,7 @@ XCOMM Set xdeblock working directory. XCOMM ===================================================================== -! XDEBLO_DIR = /usr/X11R6/lib/X11/xdeblock +! XDEBLO_DIR = $(LIBDIR)/xdeblock XCOMM ===================================================================== XCOMM Set xpm. @@ -31,8 +31,8 @@ XCOMM abc% find /usr -name xpm.h -print XCOMM ===================================================================== -! XPM_INC = -I/usr/X11R6/include/X11 -! XPMLIB_DIR = -L/usr/X11R6/lib +! XPM_INC = -I$(INCDIR)/X11 +! XPMLIB_DIR = -L$(USRLIBDIR) XCOMM ===================================================================== diff --git a/games/xdeblock/files/patch-ab b/games/xdeblock/files/patch-ab index 07dd0937db4..d73228060bd 100644 --- a/games/xdeblock/files/patch-ab +++ b/games/xdeblock/files/patch-ab @@ -1,5 +1,5 @@ -*** main.c.orig Sat Nov 16 05:37:16 1996 ---- main.c Wed Mar 5 03:11:37 1997 +*** main.c.orig Sat Nov 16 14:37:16 1996 +--- main.c Thu Jan 15 00:00:00 2000 *************** *** 66,72 **** /*** set s_map ***/ @@ -13,7 +13,7 @@ /*** set s_map ***/ gameMainFlg.s_map = False; nowDataRec.nowMap.gameSpeed = 90; -! strcpy(nowDataRec.nowMap.dirname, "/usr/X11R6/lib/X11/xdeblock/mapf"); +! strcpy(nowDataRec.nowMap.dirname, "%%PREFIX%%/lib/X11/xdeblock/mapf"); for(i =1; i < argc; i++) { diff --git a/games/xdeblock/files/patch-ac b/games/xdeblock/files/patch-ac new file mode 100644 index 00000000000..d89daf31ed1 --- /dev/null +++ b/games/xdeblock/files/patch-ac @@ -0,0 +1,36 @@ +*** dialog.c.orig Sat Nov 16 14:37:15 1996 +--- dialog.c Fri Jan 15 00:00:00 2000 +*************** +*** 8,14 **** + + #include <sys/types.h> + #include <sys/stat.h> +! #include <sys/dir.h> + + #include "gameheader.h" + +--- 8,14 ---- + + #include <sys/types.h> + #include <sys/stat.h> +! #include <dirent.h> + + #include "gameheader.h" + +*************** +*** 430,436 **** + char *fflag; + { + DIR *dp; +! struct direct *dir; + struct stat sbuf; + char newname[256]; + register i = 0; +--- 430,436 ---- + char *fflag; + { + DIR *dp; +! struct dirent *dir; + struct stat sbuf; + char newname[256]; + register i = 0; |