Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2011 09:19:45 GMT
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/153922: [PATCH] games/sudoku_solver: update to 1.20
Message-ID:  <201101120919.p0C9Jj6x091543@red.freebsd.org>
Resent-Message-ID: <201101120920.p0C9K93M030844@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         153922
>Category:       ports
>Synopsis:       [PATCH] games/sudoku_solver: update to 1.20
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 12 09:20:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Rainer Hurling
>Release:        FreeBSD 9.0-CURRENT (amd64)
>Organization:
>Environment:
FreeBSD xxx.xxx.xxx 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Wed Jan  5 08:42:31 CET 2011     xxx@xxx.xxx.xxx:/usr/obj/usr/src/sys/xxx  amd64
>Description:
Update from version 1.11 (2006-03-25) to version 1.20 (2008-07-19).

In version 1.20: Fix early recursion. Rewrite markup, subset and box-line interaction. Add bottleneck detection and other scoring enhancements. Allow linkage to sudoku_engine as an object module.

The port only includes some minor changes to get the new version build.

You can check the binary for example with the following line (sudoku cells from top left to bottom right; points stand for unknown digits):

sudoku_solver -Gp ..2..36...1.8.....6..45...3.21.7......31....28.....1..4....9.75......2....7.6.4..

P.S.: The port currently has no maintainer. If nobody else is interested, I could take the maintainership (as submitted in the patch).
>How-To-Repeat:

>Fix:
The following small patch should fix the port to update to newest version. This should work on all platforms (only testet on amd64):



Patch attached with submission follows:

diff -Naur sudoku_solver/Makefile sudoku_solver/Makefile
--- sudoku_solver/Makefile	2010-12-30 18:24:29.000000000 +0100
+++ sudoku_solver/Makefile	2011-01-12 09:25:48.000000000 +0100
@@ -1,20 +1,21 @@
-# ex:ts=8
 # Ports collection makefile for:	sudoku_solver
 # Date created:			Apr 9, 2006
 # Whom:				ijliao
 #
-# $FreeBSD: ports/games/sudoku_solver/Makefile,v 1.2 2010/12/28 06:31:47 linimon Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	sudoku_solver
-PORTVERSION=	1.11
+PORTVERSION=	1.20
 CATEGORIES=	games
 MASTER_SITES=	http://www.techfinesse.com/game/
-DISTNAME=	solver_${PORTVERSION}
+DISTNAME=	solver
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	rhurlin@gwdg.de
 COMMENT=	A Sudoku Solver in C
 
+WRKSRC=		${WRKDIR}/${DISTNAME}_${PORTVERSION}
+
 ALL_TARGET=	# empty
 
 PLIST_FILES=	bin/sudoku_solver
diff -Naur sudoku_solver/distinfo sudoku_solver/distinfo
--- sudoku_solver/distinfo	2006-04-10 03:17:11.000000000 +0200
+++ sudoku_solver/distinfo	2011-01-12 08:21:48.000000000 +0100
@@ -1,3 +1,2 @@
-MD5 (solver_1.11.tar.gz) = 5e56f326af726ebd22149025ab0d5a9a
-SHA256 (solver_1.11.tar.gz) = 3e2d39d0863f6dbd83058b81ee6be25a482c1cd6ed8140b7517e1e334eb9ff7b
-SIZE (solver_1.11.tar.gz) = 27787
+SHA256 (solver.tar.gz) = 12cfc44df7ff5d60abeb9bbceefb20559b949550ab7d6685a3a4f4cd8979226f
+SIZE (solver.tar.gz) = 36037


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101120919.p0C9Jj6x091543>