synch with patched release.
This commit is contained in:
parent
271ab89a28
commit
ee4ed96936
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2002/12/15 23:54:39 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2002/12/16 19:55:15 espie Exp $
|
||||
|
||||
COMMENT= "finish-the-cycle logic puzzle"
|
||||
CATEGORIES= games
|
||||
|
||||
MAINTAINER= Marc Espie <espie@openbsd.org>
|
||||
|
||||
DISTNAME= circuit-0.1.3
|
||||
DISTNAME= circuit-0.1.4
|
||||
MASTER_SITES= ftp://quatramaran.ens.fr/pub/cigaes/circuit/
|
||||
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (circuit-0.1.3.tar.gz) = 7868f138c45890409d7ead3b5a5553cd
|
||||
RMD160 (circuit-0.1.3.tar.gz) = 2690390a2f802609938133239ab52e244d22c804
|
||||
SHA1 (circuit-0.1.3.tar.gz) = 46c7a0fca02223f8d5dd49f6cd905fb161422d8f
|
||||
MD5 (circuit-0.1.4.tar.gz) = 9c588c7a945f42647b0bed9f6c4dbe8b
|
||||
RMD160 (circuit-0.1.4.tar.gz) = fc22dcaf61543ab3894db009b70241a77d2a204c
|
||||
SHA1 (circuit-0.1.4.tar.gz) = a1fc8a9a6f19ed93c45d91cff7d849edfec9e41d
|
||||
|
@ -1,13 +0,0 @@
|
||||
$OpenBSD: patch-circuit_c,v 1.1 2002/12/15 23:54:39 espie Exp $
|
||||
--- circuit.c.orig Mon Dec 16 00:34:59 2002
|
||||
+++ circuit.c Mon Dec 16 00:42:54 2002
|
||||
@@ -326,7 +326,8 @@ only_good_according_to_locked_nbours(int
|
||||
ng = nb = 0;
|
||||
for(j = 0; j < nbours; j++) {
|
||||
n = board[c].nbour[j];
|
||||
- if(n != -1 && !board[n].locked)
|
||||
+ if(n != -1 && !board[n].locked && board[n].links != 0 &&
|
||||
+ board[n].links != (1 << nbours)-1)
|
||||
continue;
|
||||
if(good_link_value(c, j, r))
|
||||
ng++;
|
Loading…
Reference in New Issue
Block a user