summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1997-06-09 17:59:03 +0000
committerAndreas Klemm <andreas@FreeBSD.org>1997-06-09 17:59:03 +0000
commita5afd18dbe34d76e172b4e8d573bb15a1fcabeca (patch)
tree44f8fe71e9f27218d59227d44c3c513b11b08252 /games
parentMake 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')
-rw-r--r--games/xsoldier/files/patch-aa210
-rw-r--r--games/xsoldier/files/patch-ab36
2 files changed, 118 insertions, 128 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
diff --git a/games/xsoldier/files/patch-ab b/games/xsoldier/files/patch-ab
index eb2df234bdcd..35b3c4db950b 100644
--- a/games/xsoldier/files/patch-ab
+++ b/games/xsoldier/files/patch-ab
@@ -1,38 +1,10 @@
---- manage.c.orig Sun Feb 16 11:23:59 1997
-+++ manage.c Sun Feb 16 11:25:13 1997
-@@ -8,7 +8,11 @@
+--- manage.c.orig Mon Jun 9 19:41:29 1997
++++ manage.c Mon Jun 9 19:41:41 1997
+@@ -9,7 +9,6 @@
#include <stdio.h>
#include <stdlib.h>
-+
-+#ifndef __FreeBSD__
- #include <malloc.h>
-+#endif
-+
+-#include <malloc.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
---- key.h.orig Sun Feb 16 12:55:09 1997
-+++ key.h Sun Feb 16 12:55:22 1997
-@@ -14,8 +14,8 @@
- #define LeftKey XK_Left
- #define RightKey XK_Right
-
--/*#define ShotKey XK_Shift_L*/
--#define ShotKey XK_z
-+#define ShotKey XK_Shift_L
-+/*#define ShotKey XK_z*/
-
- #define SpeedUPKey XK_a
- #define SpeedDOWNKey XK_s
---- scorefile.txt.orig Sun Feb 16 13:20:15 1997
-+++ scorefile.txt Sun Feb 16 13:20:41 1997
-@@ -4,7 +4,7 @@
- 80000 1 7 ryu
- 70000 1 6 zuno
- 60000 1 6 draemon
-+57600 1 3 andreas
- 50000 1 3 hoge
- 40000 1 5 yoko
- 30000 1 5 tsuyoshi
--20000 1 4 tama