summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/xsoldier/files/patch-aa10
-rw-r--r--games/xsoldier/files/patch-ac4
-rw-r--r--games/xsoldier/pkg-descr4
3 files changed, 9 insertions, 9 deletions
diff --git a/games/xsoldier/files/patch-aa b/games/xsoldier/files/patch-aa
index c6c85f3..aedc6a5 100644
--- a/games/xsoldier/files/patch-aa
+++ b/games/xsoldier/files/patch-aa
@@ -1,5 +1,5 @@
-*** Imakefile.orig Fri Feb 28 09:48:57 1997
---- Imakefile Fri Dec 24 12:47:19 1999
+*** Imakefile.orig Sat Mar 1 00:48:57 1997
+--- Imakefile Sat Jan 15 00:00:00 2000
***************
*** 6,63 ****
@@ -69,9 +69,9 @@
! /* Install Directory */
! /* You can't install without write permission of these. => Unplayable. (^^;*/
-! PIXMAPDIR = /usr/X11R6/lib/X11/xsoldier
-! SCOREDIR = /usr/X11R6/lib/X11/xsoldier
-! BINDIR = /usr/X11R6/bin
+! PIXMAPDIR = $(LIBDIR)/xsoldier
+! SCOREDIR = $(LIBDIR)/xsoldier
+! /* BINDIR = /usr/local/games */
! /* Score File Name. It's under SCOREDIR. */
SCOREFILE = .scorefile
diff --git a/games/xsoldier/files/patch-ac b/games/xsoldier/files/patch-ac
index 2923829..60a9ee8 100644
--- a/games/xsoldier/files/patch-ac
+++ b/games/xsoldier/files/patch-ac
@@ -5,7 +5,7 @@
else
argv0 = argv[0];
- strcpy(command,argv0); /*** コマンド名取得とコピー ***/
-+ strlcpy(command,argv0,sizeof(command)); /*** コマンド名取得とコピー ***/
++ strncpy(command,argv0,sizeof(command)); /*** コマンド名取得とコピー ***/
for (i=1; i<argc; i++)
{
@@ -13,7 +13,7 @@
{
if (i < argc-1)
- strcpy(display,argv[i+1]);
-+ strlcpy(display,argv[i+1],sizeof(display));
++ strncpy(display,argv[i+1],sizeof(display));
}
else if ((strcmp(argv[i],"-wait")==0) || (strcmp(argv[i],"-w")==0))
{
diff --git a/games/xsoldier/pkg-descr b/games/xsoldier/pkg-descr
index 80c21d0..ef3b80d 100644
--- a/games/xsoldier/pkg-descr
+++ b/games/xsoldier/pkg-descr
@@ -33,6 +33,6 @@ PLAY:
AUTHOR:
When you find bugs or some, please e-mail to the author
- s945750@educ.info.kanagawa-u.ac.jp
+ hachi@surfline.ne.jp
-WWW: http://www.educ.info.kanagawa-u.ac.jp/~s945750/xsoldier.html
+WWW: http://www.surfline.ne.jp/hachi/xsoldier.html
OpenPOWER on IntegriCloud