1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-17 00:00:40 +00:00
freebsd-ports/games/xsoldier/files/patch-aa
Yukihiro Nakai e9780e98f1 Fix the ports.
There is not 'strlcpy' function here or in system.
So I replaced to strncpy.

Submitted by:	Tsuguru Kato <tkato@prontomail.ne.jp>
2000-01-22 11:18:59 +00:00

152 lines
5.8 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

*** Imakefile.orig Sat Mar 1 00:48:57 1997
--- Imakefile Sat Jan 15 00:00:00 2000
***************
*** 6,63 ****
/* ----------------------------------------------------------------------- */
! /* -------------------- その1 インストール先の設定 ----------------------- */
/* ----------------------------------------------------------------------- */
! /* インストールディレクトリ */
! /* 書き込み権限が無いとインストール出来ません.=> 遊べない.(^^; */
! PIXMAPDIR = /usr/local/games/lib/xsoldier
! SCOREDIR = /usr/local/games/lib/xsoldier
! BINDIR = /usr/local/games
! /* スコアファイル名SCOREDIR 以下に置かれます. */
SCOREFILE = .scorefile
/* ----------------------------------------------------------------------- */
! /* --------------------- その2 コンパイルの設定 -------------------------- */
/* ----------------------------------------------------------------------- */
! /* xmkmf の Makefile で cc になっちゃう場合 */
/* CC = gcc */
! /* xpmがXと異なるディレクトリにインストールされている場合 */
/* XPMINCDIR = /usr/X11R6/include */
/* XPMLIBDIR = /usr/X11R6/lib */
! /* ココに path を書いて */
/* XPMINCFLAGS = -I$(XPMINCDIR) */
/* XPMLIBFLAGS = -L$(XPMLIBDIR) */
! /* 上の2つのコメントを解除してください */
! /* ゲームのウエイト */
WAIT = 35000
! /* その他コンパイルオプション */
! /* -DDUPSCORE … 同一人物がハイスコアに複数エントリ出来る */
! /* -DSYSV … SystemV 系などで random 関数が無い場合, */
! /* かわりに srand48 と lrand48 関数を使用します */
LOCAL_DEF =
! /* ジョイスティックを使う場合 */
/* #define JOYSTICK */
/* ----------------------------------------------------------------------- */
! /* ------------------ その3 インストールコマンドの設定 ------------------- */
/* ----------------------------------------------------------------------- */
! /* Solarisでopenwinを使用してコンパイルするときに必要 */
/* INSTALL = /usr/ucb/install */
/* ----------------------------------------------------------------------- */
/* */
! /* 基本的にここから下はいぢらなくて済むハズ */
/* */
/* ----------------------------------------------------------------------- */
--- 6,63 ----
/* ----------------------------------------------------------------------- */
! /* ---------------------- PART1 INSTALL DIRECTORY ------------------------ */
/* ----------------------------------------------------------------------- */
! /* Install Directory */
! /* You can't install without write permission of these. => Unplayable. (^^;*/
! PIXMAPDIR = $(LIBDIR)/xsoldier
! SCOREDIR = $(LIBDIR)/xsoldier
! /* BINDIR = /usr/local/games */
! /* Score File Name. It's under SCOREDIR. */
SCOREFILE = .scorefile
/* ----------------------------------------------------------------------- */
! /* ------------------- PART2 COMPILE CONFIGURATION ----------------------- */
/* ----------------------------------------------------------------------- */
! /* What compiler do you want to use? */
/* CC = gcc */
! /* If you have xpm not in the X directory. */
/* XPMINCDIR = /usr/X11R6/include */
/* XPMLIBDIR = /usr/X11R6/lib */
! /* Write path name here and ..... */
/* XPMINCFLAGS = -I$(XPMINCDIR) */
/* XPMLIBFLAGS = -L$(XPMLIBDIR) */
! /* Uncomment the upper 2 lines. */
! /* Game Wait */
WAIT = 35000
! /* The other compile options */
! /* -DDUPSCORE -> Allow multiple entry in the high score */
! /* -DSYSV -> Specify when not have random functions(SystemV etc.) */
! /* Use srand48 and lrand48 instead. */
LOCAL_DEF =
! /* When you use the joystick */
/* #define JOYSTICK */
/* ----------------------------------------------------------------------- */
! /* ------------------ PART3 INSTALL COMMAND CONFIGURATION ---------------- */
/* ----------------------------------------------------------------------- */
! /* You need this when you use openwin on Solaris. */
/* INSTALL = /usr/ucb/install */
/* ----------------------------------------------------------------------- */
/* */
! /* Basically, you don't need change below. */
/* */
/* ----------------------------------------------------------------------- */
***************
*** 95,101 ****
install.score::
@if [ -d $(SCOREDIR) ]; then chmod 755 $(SCOREDIR); \
else $(MKDIRHIER) $(SCOREDIR); chmod 755 $(SCOREDIR); fi
! $(INSTALL) -c -m 600 scorefile.txt $(SCOREDIR)/$(SCOREFILE)
@echo "install score . done"
install.pixmap::
--- 95,101 ----
install.score::
@if [ -d $(SCOREDIR) ]; then chmod 755 $(SCOREDIR); \
else $(MKDIRHIER) $(SCOREDIR); chmod 755 $(SCOREDIR); fi
! $(INSTALL) -c -g games -m 660 scorefile.txt $(SCOREDIR)/$(SCOREFILE)
@echo "install score . done"
install.pixmap::
***************
*** 109,113 ****
install.bin::
@if [ -d $(BINDIR) ]; then set +x; \
else (set -x; $(MKDIRHIER) $(BINDIR)); fi
! $(INSTALL) -c -m 4755 $(PROGRAM) $(BINDIR)/$(PROGRAM)
@echo "install bin . done"
--- 109,113 ----
install.bin::
@if [ -d $(BINDIR) ]; then set +x; \
else (set -x; $(MKDIRHIER) $(BINDIR)); fi
! $(INSTALL) -c -g games -m 2755 $(PROGRAM) $(BINDIR)/$(PROGRAM)
@echo "install bin . done"