summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorrillig <rillig>2007-05-23 15:05:36 +0000
committerrillig <rillig>2007-05-23 15:05:36 +0000
commit24a822b74a3b9d21b45d88b448222e631cb3d879 (patch)
tree0f1a5b0fc67cc4ed933f384045cc2ca11caa5b7e /games
parent3740b51c7848cd8dea7d65e4dd4175bdf9110da3 (diff)
downloadpkgsrc-24a822b74a3b9d21b45d88b448222e631cb3d879.tar.gz
Fixed a SunPro error message and some pkglint warnings.
Diffstat (limited to 'games')
-rw-r--r--games/blokus/Makefile6
-rw-r--r--games/blokus/distinfo3
-rw-r--r--games/blokus/patches/patch-spielcpp15
3 files changed, 20 insertions, 4 deletions
diff --git a/games/blokus/Makefile b/games/blokus/Makefile
index 3f395eb7e4e..c04877c69cb 100644
--- a/games/blokus/Makefile
+++ b/games/blokus/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2007/02/20 00:54:01 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2007/05/23 15:05:36 rillig Exp $
#
DISTNAME= blokus-1.0
@@ -12,10 +12,10 @@ HOMEPAGE= http://www.saschahlusiak.de/blokus/
COMMENT= Abstract strategy board game for two to four players
RESTRICTED= Redistribution prohibited
-NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
-NO_SRC_ON_FTP= ${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
+NO_SRC_ON_FTP= ${RESTRICTED}
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
diff --git a/games/blokus/distinfo b/games/blokus/distinfo
index 5ffaf9aa3eb..932b72adacc 100644
--- a/games/blokus/distinfo
+++ b/games/blokus/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2007/02/20 00:54:02 joerg Exp $
+$NetBSD: distinfo,v 1.6 2007/05/23 15:05:36 rillig Exp $
SHA1 (blokus-1.0/blokus-1.0.tar.gz) = 163fddab255bb684509b12a564d3366f6dac5ff1
RMD160 (blokus-1.0/blokus-1.0.tar.gz) = 4f339d193b34ed804f1d6bddfac77b145ec4c1e0
Size (blokus-1.0/blokus-1.0.tar.gz) = 530394 bytes
SHA1 (patch-aa) = 6081587206b69271f22b2d472bd32d7f2fe579ac
+SHA1 (patch-spielcpp) = c5346d3b04aa2a3a11de1bf99570a5ad5314f389
diff --git a/games/blokus/patches/patch-spielcpp b/games/blokus/patches/patch-spielcpp
new file mode 100644
index 00000000000..925db54a578
--- /dev/null
+++ b/games/blokus/patches/patch-spielcpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-spielcpp,v 1.1 2007/05/23 15:05:36 rillig Exp $
+
+SunPro is picky about irrelevant const qualifiers.
+
+--- src/spiel.cpp.orig Tue Aug 22 19:56:44 2006
++++ src/spiel.cpp Wed May 23 16:56:08 2007
+@@ -93,7 +93,7 @@
+
+
+ //für folgesituationen von CTurn
+-CSpiel::CSpiel(int vorher_playernumber, const CSpiel* vorher_situation, const CTurn* turn){
++CSpiel::CSpiel(const int vorher_playernumber, const CSpiel* vorher_situation, const CTurn* turn){
+ CSpiel::m_field_size_x = vorher_situation->get_field_size_x();
+ CSpiel::m_field_size_y = vorher_situation->get_field_size_y();
+