aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-08-15 08:41:35 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-08-15 08:41:35 +0000
commit49fdd828479780ec85fd88654cc768519a9dd8a2 (patch)
treeb680d3ad6ff0a54071bebb774030212af92d43f2 /games
parentdb9b2b3b27730edfc90a494c67014371f11c98bf (diff)
downloadports-49fdd828479780ec85fd88654cc768519a9dd8a2.tar.gz
ports-49fdd828479780ec85fd88654cc768519a9dd8a2.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/crafty/Makefile4
-rw-r--r--games/crafty/distinfo6
-rw-r--r--games/crafty/files/patch-chess.h13
3 files changed, 13 insertions, 10 deletions
diff --git a/games/crafty/Makefile b/games/crafty/Makefile
index 928bfce846d0..eb39916a7728 100644
--- a/games/crafty/Makefile
+++ b/games/crafty/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= crafty
-PORTVERSION= 23.2
+PORTVERSION= 23.3
CATEGORIES= games
MASTER_SITES= http://www.craftychess.com/:src \
ftp://ftp.cis.uab.edu/pub/hyatt/pgn/:data \
@@ -25,6 +25,8 @@ COMMENT= A chess programm for playing and analyzing games
USE_ZIP= yes
USE_GMAKE= yes
+WRKSRC= ${WRKDIR}
+
BOOKS= books.bin
DISTFILES+= ${BOOKS:S/$/:books/}
diff --git a/games/crafty/distinfo b/games/crafty/distinfo
index 20f445f38468..b124f10186da 100644
--- a/games/crafty/distinfo
+++ b/games/crafty/distinfo
@@ -1,6 +1,6 @@
-MD5 (crafty/crafty-23.2.zip) = 522bb6b4ad1f04c198e6f9b2a0b1503d
-SHA256 (crafty/crafty-23.2.zip) = f7bd2881cbde29874f4c0934afe82acd9276256fcb1ffc622b23930ac396d951
-SIZE (crafty/crafty-23.2.zip) = 424434
+MD5 (crafty/crafty-23.3.zip) = 5e71e1416dd55658daf5e1c851db274a
+SHA256 (crafty/crafty-23.3.zip) = f3d818940ae53fa3c755a24cea624b4baa440d517bb8dfe74044d24a37ec9762
+SIZE (crafty/crafty-23.3.zip) = 424299
MD5 (crafty/start.pgn) = 98176af8ec13945a4ec60ad9b5959412
SHA256 (crafty/start.pgn) = 750397385a67307bd3e565f7a86d69745476db5fed4735650af971cc94318021
SIZE (crafty/start.pgn) = 1349
diff --git a/games/crafty/files/patch-chess.h b/games/crafty/files/patch-chess.h
index 073779471229..5493afceab25 100644
--- a/games/crafty/files/patch-chess.h
+++ b/games/crafty/files/patch-chess.h
@@ -1,10 +1,11 @@
---- chess.h.orig 2010-01-24 12:22:38.000000000 +0100
-+++ chess.h 2010-01-24 12:22:45.000000000 +0100
-@@ -23,7 +23,6 @@
+--- ./chess.h.orig 2010-08-11 11:20:40.000000000 +0200
++++ ./chess.h 2010-08-11 11:20:49.000000000 +0200
+@@ -24,7 +24,7 @@
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
--#include <malloc.h>
+-#if !defined(IPHONE)
++#if !defined(IPHONE) && !defined(__FreeBSD__)
+ # include <malloc.h>
+ #endif
#include <string.h>
- #if !defined(TYPES_INCLUDED)
- # include "lock.h"