diff options
author | Andreas Klemm <andreas@FreeBSD.org> | 1997-06-09 17:59:03 +0000 |
---|---|---|
committer | Andreas Klemm <andreas@FreeBSD.org> | 1997-06-09 17:59:03 +0000 |
commit | a5afd18dbe34d76e172b4e8d573bb15a1fcabeca (patch) | |
tree | 44f8fe71e9f27218d59227d44c3c513b11b08252 /games/xsoldier/files/patch-aa | |
parent | Make MASTER_SITES blank because the current distfile is broken and the old di... (diff) |
- Updated the xsoldier port from 0.95 to 0.96.
- Got complete ports files from the author.
- contributed patch-ab myself, removed one unnecessary inclusion
of malloc.h from manage.c
Notes
Notes:
svn path=/head/; revision=6819
Diffstat (limited to 'games/xsoldier/files/patch-aa')
-rw-r--r-- | games/xsoldier/files/patch-aa | 210 |
1 files changed, 114 insertions, 96 deletions
diff --git a/games/xsoldier/files/patch-aa b/games/xsoldier/files/patch-aa index 09c1e7e9675a..356b7cb05a5c 100644 --- a/games/xsoldier/files/patch-aa +++ b/games/xsoldier/files/patch-aa @@ -1,103 +1,121 @@ -*** Makefile.orig Mon Jan 20 15:52:28 1997 ---- Makefile Wed Jan 22 06:24:30 1997 +*** Imakefile.orig Sat Mar 1 00:48:57 1997 +--- Imakefile Sun May 25 19:40:53 1997 *************** -*** 5,39 **** - # --------------------------------------------------------------------------- - - # -! # インストールディレクトリ -! # 書き込み権限が無いとインストール出来ません.=> 遊べない.(^^; - # -! PIXMAPDIR = /usr/local/games/lib/xsoldier -! SCOREDIR = /usr/local/games/lib/xsoldier -! BINDIR = /usr/local/games - - # -! # スコアファイル名.SCOREDIR 以下に置かれます. - # - SCOREFILE = .scorefile - - # -! # X のコンパイルにオプションが必要なら. -! # xpm ライブラリのパスもここで設定します. - # -! INCLUDE = /usr/X11/include -! LIBPATH = /usr/X11/lib - - # -! # ゲームのウエイト - # - WAIT = 35000 - - # -! # コンパイルオプション -! # -DDUPSCORE … 同一人物がハイスコアに複数エントリ出来る -! # -DDEBUG … デバッグモード -! # すみません.まだこれしかないです.(^^; - # - DEFINES = -DSCORE=\"$(SCOREDIR)\" -DPIXMAP=\"$(PIXMAPDIR)\" \ - -DSCOREFILE=\"$(SCOREFILE)\" \ ---- 5,39 ---- - # --------------------------------------------------------------------------- - - # -! # Install Directory -! # You cannot install without write permission. => You can't enjoy. (^^; - # -! PIXMAPDIR = /usr/X11R6/lib/X11/xsoldier -! SCOREDIR = /usr/X11R6/lib/X11/xsoldier -! BINDIR = /usr/X11R6/bin - - # -! # Score file name. These are under SCOREDIR. - # - SCOREFILE = .scorefile - - # -! # If you need options to compile X application, -! # please configure xpm library path here. - # -! INCLUDE = /usr/X11R6/include -! LIBPATH = /usr/X11R6/lib - - # -! # Game wait - # - WAIT = 35000 - - # -! # Compile option -! # -DDUPSCORE Multi entries of one person -! # -DDEBUG Debug mode -! # Sorry, only these are available. (^^; - # - DEFINES = -DSCORE=\"$(SCOREDIR)\" -DPIXMAP=\"$(PIXMAPDIR)\" \ - -DSCOREFILE=\"$(SCOREFILE)\" \ -*************** -*** 44,50 **** - INSTALL = install +*** 6,63 **** - # --------------------------------------------------------------------------- -! # 基本的にここから下はいぢらなくて済むハズ. - OBJ = main.o game.o opening.o ending.o manage.o player.o \ - common.o callback.o boss.o enemy.o enemyshot.o sin.o \ ---- 44,50 ---- - INSTALL = install + /* ----------------------------------------------------------------------- */ +! /* -------------------- その1 インストール先の設定 ----------------------- */ + /* ----------------------------------------------------------------------- */ - # --------------------------------------------------------------------------- -! # Basically, you may not change the following. +! /* インストールディレクトリ */ +! /* 書き込み権限が無いとインストール出来ません.=> 遊べない.(^^; */ +! 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 = /usr/X11R6/lib/X11/xsoldier +! SCOREDIR = /usr/X11R6/lib/X11/xsoldier +! BINDIR = /usr/X11R6/bin + +! /* 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 */ - OBJ = main.o game.o opening.o ending.o manage.o player.o \ - common.o callback.o boss.o enemy.o enemyshot.o sin.o \ -*************** -*** 108,111 **** - star.o: image.h xsoldier.h extern.h star.h - score.o: image.h xsoldier.h extern.h -! convert: convert.o ---- 108,111 ---- - star.o: image.h xsoldier.h extern.h star.h - score.o: image.h xsoldier.h extern.h + /* ----------------------------------------------------------------------- */ + /* */ +! /* Basically, you don't need change below. */ + /* */ + /* ----------------------------------------------------------------------- */ -! #convert: convert.o |