aboutsummaryrefslogtreecommitdiff
path: root/games/xsoldier
diff options
context:
space:
mode:
authorYukihiro Nakai <nakai@FreeBSD.org>2000-01-22 11:18:59 +0000
committerYukihiro Nakai <nakai@FreeBSD.org>2000-01-22 11:18:59 +0000
commite9780e98f173614be8b2d1fbf74ca7b29369ed65 (patch)
treeb944d8b7f2a466a0fbf83ce5521d6a0306fab779 /games/xsoldier
parent0f49af69848b2ffe1b242aa102c24d34094f7fd3 (diff)
downloadports-e9780e98f173614be8b2d1fbf74ca7b29369ed65.tar.gz
ports-e9780e98f173614be8b2d1fbf74ca7b29369ed65.zip
Notes
Diffstat (limited to 'games/xsoldier')
-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 c6c85f368a99..aedc6a5f74eb 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 292382939991..60a9ee80e3d9 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 80c21d0d79b0..ef3b80d3a5a7 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