Update to gnuchess-6.2.2
This commit is contained in:
parent
d3b1af9465
commit
fadac41fe0
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.35 2015/04/17 08:00:42 phessler Exp $
|
||||
# $OpenBSD: Makefile,v 1.36 2015/10/20 07:46:28 dcoppa Exp $
|
||||
|
||||
COMMENT= chess program
|
||||
BROKEN-sparc= ./gnuchess --addbook book_1.02.pgn ; cannot allocate memory
|
||||
|
||||
DISTNAME= gnuchess-6.2.1
|
||||
DISTNAME= gnuchess-6.2.2
|
||||
DISTFILES= ${DISTNAME}.tar.gz book_1.02.pgn.gz
|
||||
|
||||
CATEGORIES= games
|
||||
@ -17,6 +17,8 @@ WANTLIB += c m ncurses pthread readline stdc++
|
||||
|
||||
MODULES= devel/gettext
|
||||
|
||||
BUILD_DEPENDS= devel/help2man
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ENV= PTHREAD_LIBS=-lpthread
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
SHA256 (book_1.02.pgn.gz) = 3qx37bBhpZJJoZ3rA9o0nK4FHlJSemy1r4CNk5jTLUQ=
|
||||
SHA256 (gnuchess-6.2.1.tar.gz) = F8qrclU5RHvLF6FLF5BSQsvyhwh+U6Z3dST+t7uu7QY=
|
||||
SHA256 (gnuchess-6.2.2.tar.gz) = d3bBFO61iJ3qadxHFaNiLsV/Ze+rZnmH59cYPMBTgag=
|
||||
SIZE (book_1.02.pgn.gz) = 26265281
|
||||
SIZE (gnuchess-6.2.1.tar.gz) = 730761
|
||||
SIZE (gnuchess-6.2.2.tar.gz) = 747054
|
||||
|
14
games/gnuchess/patches/patch-src_main_cc
Normal file
14
games/gnuchess/patches/patch-src_main_cc
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-src_main_cc,v 1.1 2015/10/20 07:46:28 dcoppa Exp $
|
||||
|
||||
upstream svn revision r128: set QUIT flag for -a option (--addbook)
|
||||
|
||||
--- src/main.cc.orig Tue Oct 13 01:03:42 2015
|
||||
+++ src/main.cc Tue Oct 20 09:24:16 2015
|
||||
@@ -412,6 +412,7 @@ There is NO WARRANTY, to the extent permitted by law.\
|
||||
char data[9+MAXSTR+1+4]="";
|
||||
sprintf( data, "book add %s\nquit", opt_addbook );
|
||||
SendToEngine( data );
|
||||
+ SET (flags, QUIT);
|
||||
}
|
||||
|
||||
if ( opt_easy == 0 )
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.9 2015/01/11 12:59:43 kirby Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.10 2015/10/20 07:46:28 dcoppa Exp $
|
||||
@bin bin/gnuchess
|
||||
bin/gnuchessu
|
||||
bin/gnuchessx
|
||||
@ -19,6 +19,7 @@ share/gnuchess/smallbook.bin
|
||||
share/locale/de/LC_MESSAGES/gnuchess.mo
|
||||
share/locale/eo/LC_MESSAGES/gnuchess.mo
|
||||
share/locale/es/LC_MESSAGES/gnuchess.mo
|
||||
share/locale/fr/LC_MESSAGES/gnuchess.mo
|
||||
share/locale/gl/LC_MESSAGES/gnuchess.mo
|
||||
share/locale/nb/LC_MESSAGES/gnuchess.mo
|
||||
share/locale/nl/LC_MESSAGES/gnuchess.mo
|
||||
|
Loading…
Reference in New Issue
Block a user