summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2006-03-28 00:58:38 +0000
committerijliao <ijliao@FreeBSD.org>2006-03-28 00:58:38 +0000
commit6231051ad8ac7d9f2097df944457d4f17f64e20f (patch)
treefa0996affe90a01861c227d246830fe19d150de5 /games
parent44cbfb544fde57933d63da2c8afd33c81590ef90 (diff)
downloadFreeBSD-ports-6231051ad8ac7d9f2097df944457d4f17f64e20f.zip
FreeBSD-ports-6231051ad8ac7d9f2097df944457d4f17f64e20f.tar.gz
fix the 'save' problem
PR: 94972 Submitted by: "Frank W. Josellis" <frank@dynamical-systems.org>
Diffstat (limited to 'games')
-rw-r--r--games/sudoku/Makefile1
-rw-r--r--games/sudoku/files/patch-sudoku.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/games/sudoku/Makefile b/games/sudoku/Makefile
index 42716bc..552135c 100644
--- a/games/sudoku/Makefile
+++ b/games/sudoku/Makefile
@@ -8,6 +8,7 @@
PORTNAME= sudoku
PORTVERSION= 1.0.1
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.laurasia.com.au/downloads/
EXTRACT_SUFX= .tgz
diff --git a/games/sudoku/files/patch-sudoku.c b/games/sudoku/files/patch-sudoku.c
new file mode 100644
index 0000000..4f73a19
--- /dev/null
+++ b/games/sudoku/files/patch-sudoku.c
@@ -0,0 +1,11 @@
+--- sudoku.c.orig Tue Mar 28 08:55:35 2006
++++ sudoku.c Tue Mar 28 08:55:55 2006
+@@ -1837,7 +1837,7 @@
+
+ /* Read character input (raw processing mode) */
+ i = strlen( userfile );
+- while( '\r' != ( ch = getkey( ) ) )
++ while( '\n' != ( ch = getkey( ) ) )
+ {
+ if( 0x08 == ch || VKEY_LEFT == ch ) /* destructive backspace */
+ {
OpenPOWER on IntegriCloud