From aede77920f385072a04645fc1ea3f3d19ac353f7 Mon Sep 17 00:00:00 2001 From: steven Date: Fri, 23 May 2008 20:36:29 +0000 Subject: [PATCH] maintenance update to 1.06 --- games/sudognu/Makefile | 4 ++-- games/sudognu/distinfo | 10 +++++----- games/sudognu/patches/patch-Makefile | 10 +++++----- games/sudognu/patches/patch-getopt_c | 12 ++++++------ 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/games/sudognu/Makefile b/games/sudognu/Makefile index 8853dcfd513..efbdaef8fe0 100644 --- a/games/sudognu/Makefile +++ b/games/sudognu/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.2 2007/10/04 07:19:14 steven Exp $ +# $OpenBSD: Makefile,v 1.3 2008/05/23 20:36:29 steven Exp $ COMMENT= sudoku solver and creator -DISTNAME= sudognu-1.05 +DISTNAME= sudognu-1.06 CATEGORIES= games HOMEPAGE= http://sudognu.sourceforge.net/ diff --git a/games/sudognu/distinfo b/games/sudognu/distinfo index 8c87b33d78e..795e079c9e2 100644 --- a/games/sudognu/distinfo +++ b/games/sudognu/distinfo @@ -1,5 +1,5 @@ -MD5 (sudognu-1.05.tar.gz) = 2jdAt5ALbUSPcAAL/J+6Ig== -RMD160 (sudognu-1.05.tar.gz) = yI8EU6W2JaU7bOVksbikg4oTFJs= -SHA1 (sudognu-1.05.tar.gz) = SsXAkHH0+W/pYFR0rlA2M1UMC54= -SHA256 (sudognu-1.05.tar.gz) = 8WyJ+4hN97hRlD0OKX1h6i7/jWAKNgUva6F8aw2LFQ8= -SIZE (sudognu-1.05.tar.gz) = 40031 +MD5 (sudognu-1.06.tar.gz) = VOHSXU4f8Wapri9BF48ojw== +RMD160 (sudognu-1.06.tar.gz) = N0T0/hkGHJFxjhijnluwGBzZrTE= +SHA1 (sudognu-1.06.tar.gz) = INQZPUkxVup/ilqIzIRmoz7xGWg= +SHA256 (sudognu-1.06.tar.gz) = UuemNCt56izEEhdSmQbBdxAhT6K/ixb8dMgurYpspvY= +SIZE (sudognu-1.06.tar.gz) = 47134 diff --git a/games/sudognu/patches/patch-Makefile b/games/sudognu/patches/patch-Makefile index 1408cc77d00..91c160d1f74 100644 --- a/games/sudognu/patches/patch-Makefile +++ b/games/sudognu/patches/patch-Makefile @@ -1,6 +1,6 @@ -$OpenBSD: patch-Makefile,v 1.1.1.1 2007/10/04 07:17:40 steven Exp $ ---- Makefile.orig Sat Sep 22 20:21:19 2007 -+++ Makefile Sat Sep 29 15:04:07 2007 +$OpenBSD: patch-Makefile,v 1.2 2008/05/23 20:36:29 steven Exp $ +--- Makefile.orig Sun Apr 6 21:17:00 2008 ++++ Makefile Fri May 23 20:44:03 2008 @@ -14,12 +14,12 @@ CGI_DIR=$(HOME)/public_html/cgi-bin # libharu include files and library. # @@ -18,9 +18,9 @@ $OpenBSD: patch-Makefile,v 1.1.1.1 2007/10/04 07:17:40 steven Exp $ # use this to specify location of library and include files explicitly #HARULIB_LDFLAG=-L$(HOME)/lib -lhpdf -@@ -39,9 +39,9 @@ CGIBINS=$(wildcard *.cgi) +@@ -39,9 +39,9 @@ CGIBINS=$(wildcard cgi-bin/*.cgi) contrib/sudoku.pl MANPAGE=$(PROGNAME).1 - DOCS=$(wildcard *.html) COPYING README INSTALL + DOCS=$(wildcard *.html) COPYING README INSTALL cgi-bin/README_CGI -CC=gcc -LDFLAGS=$(HARULIB_LDFLAG) -lm -lz -lpthread diff --git a/games/sudognu/patches/patch-getopt_c b/games/sudognu/patches/patch-getopt_c index cd91b0a0cf9..fe37d61335f 100644 --- a/games/sudognu/patches/patch-getopt_c +++ b/games/sudognu/patches/patch-getopt_c @@ -1,12 +1,12 @@ -$OpenBSD: patch-getopt_c,v 1.1.1.1 2007/10/04 07:17:40 steven Exp $ ---- getopt.c.orig Sat Sep 29 15:02:33 2007 -+++ getopt.c Sat Sep 29 15:02:42 2007 -@@ -76,7 +76,7 @@ int getoptions(int argc, char *argv[]) { +$OpenBSD: patch-getopt_c,v 1.2 2008/05/23 20:36:29 steven Exp $ +--- getopt.c.orig Sun Apr 6 21:17:00 2008 ++++ getopt.c Fri May 23 20:44:03 2008 +@@ -84,7 +84,7 @@ int getoptions(int argc, char *argv[]) { symmgrid = 1; break; case 't': - nthread = sysconf(_SC_NPROCESSORS_ONLN); + nthread = 0; break; - case 'w': - action = 4; + case 'f': + if (strlen(optarg) > MAX_STRLEN) {