[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
games/sl
games/sl の、極悪化パッチの一時配布元が
http://www.linet.gr.jp/~izumi/sl/
に移転しています。
また、極悪化パッチ自体が更新されています。
これにより、 ncurses を使うように変わっていますが、
どうするのがヨサゲでしょうか。
(とりあえず使わないようにしてあります)
diff -crN sl.bak/Makefile sl/Makefile
*** sl.bak/Makefile Tue Mar 27 03:19:58 2001
--- sl/Makefile Sat Jan 5 07:13:02 2002
***************
*** 2,14 ****
#
DISTNAME= sl
! PKGNAME= sl-3.03p5
CATEGORIES= games
MASTER_SITES= http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/sl/
EXTRACT_SUFX= .tar
! PATCH_SITES= http://ecssg.ec.tmit.ac.jp/~izumi/sl/
! PATCHFILES= sl5.patch
PATCH_DIST_STRIP= -p1
MAINTAINER= minoura@netbsd.org
--- 2,14 ----
#
DISTNAME= sl
! PKGNAME= sl-3.03p5.1
CATEGORIES= games
MASTER_SITES= http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/sl/
EXTRACT_SUFX= .tar
! PATCH_SITES= http://www.linet.gr.jp/~izumi/sl/
! PATCHFILES= sl5-1.patch
PATCH_DIST_STRIP= -p1
MAINTAINER= minoura@netbsd.org
diff -crN sl.bak/distinfo sl/distinfo
*** sl.bak/distinfo Sat Apr 21 02:08:35 2001
--- sl/distinfo Sat Jan 5 07:11:37 2002
***************
*** 2,7 ****
SHA1 (sl.tar) = 57e18b4333e05be67faff58c42a06fcbc231def9
Size (sl.tar) = 20480 bytes
! SHA1 (sl5.patch) = f37dd7f42bf599a9b213b81516d1b55a617899af
! Size (sl5.patch) = 32560 bytes
! SHA1 (patch-aa) = 60d53ea5afc1e2064bf2981beb72adbef8c1fe20
--- 2,8 ----
SHA1 (sl.tar) = 57e18b4333e05be67faff58c42a06fcbc231def9
Size (sl.tar) = 20480 bytes
! SHA1 (sl5-1.patch) = 4bad34d817f725626c1f1b655d968290ec78a19a
! Size (sl5-1.patch) = 36035 bytes
! SHA1 (patch-aa) = 68c160e21a982a2ddf816a199ffda645763ecafe
! SHA1 (patch-ab) = 408c21991e4be5952a612e5212cfe14bb732d175
diff -crN sl.bak/patches/patch-aa sl/patches/patch-aa
*** sl.bak/patches/patch-aa Tue Jun 6 03:10:21 2000
--- sl/patches/patch-aa Sat Jan 5 07:05:13 2002
***************
*** 1,8 ****
! $NetBSD$
!
! --- sl.c.orig Mon Jun 5 12:27:10 2000
! +++ sl.c Mon Jun 5 22:15:07 2000
! @@ -232,7 +232,7 @@ int add_cross(int p)
}
++tt;
--- 1,6 ----
! --- sl.c.orig Fri Jan 4 16:35:47 2002
! +++ sl.c Fri Jun 23 16:43:03 2000
! @@ -295,7 +295,7 @@
}
++tt;
***************
*** 11,31 ****
}
! @@ -634,6 +634,8 @@ int add_smoke(int y, int x)
2, 2, 2, 3, 3, 3 };
int i;
+ if (sum >= 1000)
+ return 0;
! if (x % 4 == 0) {
! for (i = 0; i < sum; ++i) {
! my_mvaddstr(S[i].y, S[i].x, Eraser[S[i].ptrn]);
! @@ -679,6 +681,8 @@ int add_smoke_r(int y, int x)
2, 2, 2, 3, 3, 3 };
int i;
+ if (sum >= 1000)
+ return 0;
! if (x % 4 == 0) {
! for (i = 0; i < sum; ++i) {
! my_mvaddstr_r(S[i].y, S[i].x, Eraser[S[i].ptrn]);
--- 9,29 ----
}
! @@ -699,6 +699,8 @@
2, 2, 2, 3, 3, 3 };
int i;
+ if (sum >= 1000)
+ return 0;
! if (x < - COLS) {
! return 0;
! }
! @@ -747,6 +749,8 @@
2, 2, 2, 3, 3, 3 };
int i;
+ if (sum >= 1000)
+ return 0;
! if (x > 2 * COLS) {
! return 0;
! }
diff -crN sl.bak/patches/patch-ab sl/patches/patch-ab
*** sl.bak/patches/patch-ab Thu Jan 1 00:00:00 1970
--- sl/patches/patch-ab Sat Jan 5 07:05:34 2002
***************
*** 0 ****
--- 1,20 ----
+ --- Makefile.orig Fri Jun 23 16:46:19 2000
+ +++ Makefile Fri Jan 4 17:08:46 2002
+ @@ -10,12 +10,12 @@
+ #DEBUGOPTS = -DDEBUG -g
+
+ # For Linux 2.0.x
+ -LDFLAGS = -lncurses -ltermcap
+ -CFLAGS = -Wall -O2 -DLINUX20 $(DEBUGOPTS)
+ +#LDFLAGS = -lncurses -ltermcap
+ +#CFLAGS = -Wall -O2 -DLINUX20 $(DEBUGOPTS)
+
+ -# For Solaris
+ -#LDFLAGS = -lcurses -ltermcap
+ -#CFLAGS = -Wall -O2 $(DEBUGOPTS)
+ +# For NetBSD/Solaris
+ +LDFLAGS = -lcurses -ltermcap
+ +CFLAGS = -Wall -O2 $(DEBUGOPTS)
+
+ all: sl
+