svn commit: r339568 - in head/games: . polyglot polyglot/files
Nicola Vitale
nivit at FreeBSD.org
Mon Jan 13 05:01:36 UTC 2014
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 <nivit at FreeBSD.org>
+# $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 at FreeBSD.org
+COMMENT= Winboard protocol to UCI protocol adapter
+
+LICENSE= GPLv2
+
+GNU_CONFIGURE= yes
+
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.mk>
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<l;i++){
Added: head/games/polyglot/files/patch-pipex_posix.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/polyglot/files/patch-pipex_posix.c Mon Jan 13 05:01:34 2014 (r339568)
@@ -0,0 +1,16 @@
+--- ./pipex_posix.c.orig 2014-01-11 04:44:58.000000000 +0100
++++ ./pipex_posix.c 2014-01-11 04:45:23.000000000 +0100
+@@ -2,11 +2,12 @@
+
+ // includes
+
++#include <sys/wait.h>
+ #include <string.h>
+ #include <stdlib.h>
+ #include <errno.h>
+ #include <wordexp.h>
+-#include <sys/wait.h>
++#include <signal.h>
+ #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 <stdio.h>
+ #include <sys/types.h>
+-#include <sys/timeb.h>
+ #include <sys/stat.h>
+
+ // 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%%
More information about the svn-ports-all
mailing list