diff options
author | rillig <rillig@pkgsrc.org> | 2008-02-02 17:05:00 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2008-02-02 17:05:00 +0000 |
commit | 59768ec7c6ebd7459afc6c7a156ad46a518cdc19 (patch) | |
tree | 2d4c4626455db2dc6db5ea9e8120b17b5facf7cd /games/velena | |
parent | a94e7c838cc646017ba3a5690f79f7e9e2864944 (diff) | |
download | pkgsrc-59768ec7c6ebd7459afc6c7a156ad46a518cdc19.tar.gz |
Made stdout unbuffered, so that the program can be used by other
programs. PKGREVISION++
Diffstat (limited to 'games/velena')
-rw-r--r-- | games/velena/Makefile | 4 | ||||
-rw-r--r-- | games/velena/distinfo | 4 | ||||
-rw-r--r-- | games/velena/patches/patch-ab | 20 |
3 files changed, 20 insertions, 8 deletions
diff --git a/games/velena/Makefile b/games/velena/Makefile index f3c65ca8b7b..da64daf89f0 100644 --- a/games/velena/Makefile +++ b/games/velena/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.4 2007/07/29 01:35:57 rillig Exp $ +# $NetBSD: Makefile,v 1.5 2008/02/02 17:05:00 rillig Exp $ # DISTNAME= veleng10 PKGNAME= velena-1.0 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= games MASTER_SITES= http://www.ce.unipr.it/~gbe/ EXTRACT_SUFX= .zip diff --git a/games/velena/distinfo b/games/velena/distinfo index 16e47fb5cad..0435460d13b 100644 --- a/games/velena/distinfo +++ b/games/velena/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.1.1.1 2007/07/25 00:11:10 rillig Exp $ +$NetBSD: distinfo,v 1.2 2008/02/02 17:05:00 rillig Exp $ SHA1 (veleng10.zip) = f9af1cc6f809347151bee4763a62073fe56ef9b4 RMD160 (veleng10.zip) = a8cc6933196140b5ac941f4369e9bb422a885851 Size (veleng10.zip) = 243352 bytes SHA1 (patch-aa) = 810ca44164b273710fccf8237b1b5343d3354e9d -SHA1 (patch-ab) = 91138783750acf293b0df4a0d9a34373ec5627d8 +SHA1 (patch-ab) = 5d4fabb5fb6b4b7d51123c19eb398fb0c54c78ed SHA1 (patch-ac) = dd01e7c0231c715421ef56a230e44b2e075b6f67 SHA1 (patch-ad) = 11e71c97346be1ecd1cef65a1fe2a27805ca0bee SHA1 (patch-ae) = d08ca8a02db09bd1013e3823308a445796ca3897 diff --git a/games/velena/patches/patch-ab b/games/velena/patches/patch-ab index 95149215da5..24b17101b92 100644 --- a/games/velena/patches/patch-ab +++ b/games/velena/patches/patch-ab @@ -1,8 +1,20 @@ -$NetBSD: patch-ab,v 1.1.1.1 2007/07/25 00:11:10 rillig Exp $ +$NetBSD: patch-ab,v 1.2 2008/02/02 17:05:00 rillig Exp $ ---- cmdline.c.orig 2007-07-25 01:53:41.000000000 +0200 -+++ cmdline.c 2007-07-25 01:54:04.000000000 +0200 -@@ -51,7 +51,8 @@ void command_line_input(struct board *bo +--- cmdline.c.orig 1997-07-27 17:14:18.000000000 +0200 ++++ cmdline.c 2008-02-02 18:02:11.000000000 +0100 +@@ -42,16 +42,19 @@ void command_line_input(struct board *bo + int flag = 1,answer; + char st[80]; + +- printf("Enter positions in the form x+y+'0', where:\n"); ++ setvbuf(stdout, NULL, _IONBF, 0); ++ printf("Enter positions in the form xy0, where:\n"); + printf("x is the level of play: 'a' = weak, 'b' = normal, 'c' = strong\n"); + printf("y is a sequence of moves that brings to the position you want\n"); + printf(" (columns are numbered from 1 to 7)\n"); + printf("'0' is the 48 ASCII char which tells Velena where the string ends\n"); ++ printf("Example: c4444350\n"); + printf("\nEnter 'q' to quit\n\n"); do { printf(">"); // Waiting for the user to enter the string |