From owner-svn-ports-all@FreeBSD.ORG Mon Jan 13 05:01:36 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C4C835EA; Mon, 13 Jan 2014 05:01:36 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AFB53124E; Mon, 13 Jan 2014 05:01:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0D51aU4097599; Mon, 13 Jan 2014 05:01:36 GMT (envelope-from nivit@svn.freebsd.org) Received: (from nivit@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0D51YfG097582; Mon, 13 Jan 2014 05:01:34 GMT (envelope-from nivit@svn.freebsd.org) Message-Id: <201401130501.s0D51YfG097582@svn.freebsd.org> From: Nicola Vitale Date: Mon, 13 Jan 2014 05:01:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339568 - in head/games: . polyglot polyglot/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jan 2014 05:01:36 -0000 Author: nivit Date: Mon Jan 13 05:01:34 2014 New Revision: 339568 URL: http://svnweb.freebsd.org/changeset/ports/339568 Log: PolyGlot is a "UCI adapter". It connects a UCI chess engine to an xboard interface. PolyGlot tries to solve known problems with other adapters. For instance, it detects and reports draws by fifty-move rule, repetition, etc... WWW: http://wbec-ridderkerk.nl/html/details1/PolyGlot.html Added: head/games/polyglot/ head/games/polyglot/Makefile (contents, props changed) head/games/polyglot/distinfo (contents, props changed) head/games/polyglot/files/ head/games/polyglot/files/patch-main.c (contents, props changed) head/games/polyglot/files/patch-pgheader.c (contents, props changed) head/games/polyglot/files/patch-pipex_posix.c (contents, props changed) head/games/polyglot/files/patch-util.h (contents, props changed) head/games/polyglot/pkg-descr (contents, props changed) head/games/polyglot/pkg-plist (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Mon Jan 13 04:40:37 2014 (r339567) +++ head/games/Makefile Mon Jan 13 05:01:34 2014 (r339568) @@ -732,6 +732,7 @@ SUBDIR += poker-engine SUBDIR += poker-eval SUBDIR += pokerth + SUBDIR += polyglot SUBDIR += polypuzzle SUBDIR += pongix SUBDIR += popstar Added: head/games/polyglot/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/polyglot/Makefile Mon Jan 13 05:01:34 2014 (r339568) @@ -0,0 +1,21 @@ +# Created by: Nicola Vitale +# $FreeBSD$ + +PORTNAME= polyglot +DISTVERSION= 1.4.70b +#PORTVERSION= +#PORTREVISION= 0 +CATEGORIES= games +MASTER_SITES= http://hardy.uhasselt.be/Toga/polyglot-release/ \ + http://nivit.altervista.org/FreeBSD/ports/distfiles/ + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Winboard protocol to UCI protocol adapter + +LICENSE= GPLv2 + +GNU_CONFIGURE= yes + +OPTIONS_DEFINE= DOCS + +.include Added: head/games/polyglot/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/polyglot/distinfo Mon Jan 13 05:01:34 2014 (r339568) @@ -0,0 +1,2 @@ +SHA256 (polyglot-1.4.70b.tar.gz) = cc10554390cb67c73395470505805f673a639fd3283acd02471f7a67dc9bedef +SIZE (polyglot-1.4.70b.tar.gz) = 269938 Added: head/games/polyglot/files/patch-main.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/polyglot/files/patch-main.c Mon Jan 13 05:01:34 2014 (r339568) @@ -0,0 +1,11 @@ +--- ./main.c.orig 2012-09-20 19:56:38.000000000 +0200 ++++ ./main.c 2014-01-11 04:44:10.000000000 +0100 +@@ -242,7 +242,7 @@ + } + } + +-int wb_select(){ ++void wb_select(){ + option_t *opt; + option_start_iter(Option); + while((opt=option_next(Option))){ Added: head/games/polyglot/files/patch-pgheader.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/polyglot/files/patch-pgheader.c Mon Jan 13 05:01:34 2014 (r339568) @@ -0,0 +1,18 @@ +--- ./pgheader.c.orig 2012-09-20 13:50:00.000000000 +0200 ++++ ./pgheader.c 2014-01-11 04:44:10.000000000 +0100 +@@ -47,13 +47,13 @@ + #ifndef WIN32 + #define O_BINARY 0x0 + #endif +- ++/* + #ifdef _MSC_VER + typedef unsigned __int64 uint64_t; + #else + typedef unsigned long long int uint64_t; + #endif +- ++*/ + static int int_from_file(FILE *f, int l, uint64_t *r){ + int i,c; + for(i=0;i + #include + #include + #include + #include +-#include ++#include + #include "pipex.h" + + // prototypes Added: head/games/polyglot/files/patch-util.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/polyglot/files/patch-util.h Mon Jan 13 05:01:34 2014 (r339568) @@ -0,0 +1,10 @@ +--- ./util.h.orig 2010-12-06 18:35:50.000000000 +0100 ++++ ./util.h 2014-01-11 04:44:10.000000000 +0100 +@@ -8,7 +8,6 @@ + + #include + #include +-#include + #include + + // defines Added: head/games/polyglot/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/polyglot/pkg-descr Mon Jan 13 05:01:34 2014 (r339568) @@ -0,0 +1,8 @@ +PolyGlot is a "UCI adapter". It connects a UCI chess engine to an +xboard interface. + +PolyGlot tries to solve known problems with other adapters. For +instance, it detects and reports draws by fifty-move rule, repetition, +etc... + +WWW: http://wbec-ridderkerk.nl/html/details1/PolyGlot.html Added: head/games/polyglot/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/polyglot/pkg-plist Mon Jan 13 05:01:34 2014 (r339568) @@ -0,0 +1,9 @@ +bin/polyglot +man/man6/polyglot.6.gz +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README1.3 +%%PORTDOCS%%%%DOCSDIR%%/README1.4 +%%PORTDOCS%%%%DOCSDIR%%/README1.4w +%%PORTDOCS%%%%DOCSDIR%%/README1.4w10UCI +%%PORTDOCS%%%%DOCSDIR%%/book_format.html +%%PORTDOCS%%@dirrm %%DOCSDIR%%