diff options
author | minoura <minoura@pkgsrc.org> | 2000-06-06 03:10:20 +0000 |
---|---|---|
committer | minoura <minoura@pkgsrc.org> | 2000-06-06 03:10:20 +0000 |
commit | 630fcf11fcacfa2305eb3f850eb2a0fe1f77b75f (patch) | |
tree | 934bee52566dc3eaba235c1ed35d3c23d2898f60 /games | |
parent | d08e3fd44b5d6618aec13cef47886edb87936ade (diff) | |
download | pkgsrc-630fcf11fcacfa2305eb3f850eb2a0fe1f77b75f.tar.gz |
Use patched version of izumi@ec.tmit.ac.jp.
NetBSD patch supplied by itohy.
Diffstat (limited to 'games')
-rw-r--r-- | games/sl/Makefile | 14 | ||||
-rw-r--r-- | games/sl/files/md5 | 3 | ||||
-rw-r--r-- | games/sl/patches/patch-aa | 31 |
3 files changed, 39 insertions, 9 deletions
diff --git a/games/sl/Makefile b/games/sl/Makefile index a8d7fcef93f..7e59844f0d6 100644 --- a/games/sl/Makefile +++ b/games/sl/Makefile @@ -1,23 +1,21 @@ -# $NetBSD: Makefile,v 1.2 2000/06/06 01:26:11 minoura Exp $ +# $NetBSD: Makefile,v 1.3 2000/06/06 03:10:20 minoura Exp $ # -# This patch won't work well :p -#PATCH_SITES= http://ecssg.ec.tmit.ac.jp/~izumi/sl/ -#PATCHFILES= sl5.patch -#PATCH_DIST_STRIP= -p1 DISTNAME= sl -PKGNAME= sl-3.03 +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 HOMEPAGE= http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/ BUILD_DEPENDS= nkf:../../japanese/nkf -ALL_TARGET= sl - post-build: nkf -e ${WRKSRC}/sl.1 > ${WRKSRC}/sl.1.euc diff --git a/games/sl/files/md5 b/games/sl/files/md5 index ae7576334a3..6474073074d 100644 --- a/games/sl/files/md5 +++ b/games/sl/files/md5 @@ -1,3 +1,4 @@ -$NetBSD: md5,v 1.1 2000/06/01 15:10:45 minoura Exp $ +$NetBSD: md5,v 1.2 2000/06/06 03:10:20 minoura Exp $ MD5 (sl.tar) = cc06b159f78f86bfd2d4e0e16330fbae +MD5 (sl5.patch) = 0af730e4a2d212be376d30094a76207c diff --git a/games/sl/patches/patch-aa b/games/sl/patches/patch-aa new file mode 100644 index 00000000000..4dd66af7dae --- /dev/null +++ b/games/sl/patches/patch-aa @@ -0,0 +1,31 @@ +$NetBSD: patch-aa,v 1.1 2000/06/06 03:10:21 minoura Exp $ + +--- 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; + +- return 0; ++ return OK; + } + + +@@ -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]); |