pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/blokus Fixed a SunPro error message and some pkg...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d5be24d858b9
branches:  trunk
changeset: 529079:d5be24d858b9
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed May 23 15:05:36 2007 +0000

description:
Fixed a SunPro error message and some pkglint warnings.

diffstat:

 games/blokus/Makefile               |   6 +++---
 games/blokus/distinfo               |   3 ++-
 games/blokus/patches/patch-spielcpp |  15 +++++++++++++++
 3 files changed, 20 insertions(+), 4 deletions(-)

diffs (53 lines):

diff -r d36773262097 -r d5be24d858b9 games/blokus/Makefile
--- a/games/blokus/Makefile     Wed May 23 14:13:04 2007 +0000
+++ b/games/blokus/Makefile     Wed May 23 15:05:36 2007 +0000
@@ -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 @@
 COMMENT=       Abstract strategy board game for two to four players
 
 RESTRICTED=            Redistribution prohibited
+NO_BIN_ON_CDROM=       ${RESTRICTED}
 NO_BIN_ON_FTP=         ${RESTRICTED}
-NO_BIN_ON_CDROM=       ${RESTRICTED}
+NO_SRC_ON_CDROM=       ${RESTRICTED}
 NO_SRC_ON_FTP=         ${RESTRICTED}
-NO_SRC_ON_CDROM=       ${RESTRICTED}
 
 GNU_CONFIGURE= yes
 USE_LANGUAGES= c c++
diff -r d36773262097 -r d5be24d858b9 games/blokus/distinfo
--- a/games/blokus/distinfo     Wed May 23 14:13:04 2007 +0000
+++ b/games/blokus/distinfo     Wed May 23 15:05:36 2007 +0000
@@ -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 -r d36773262097 -r d5be24d858b9 games/blokus/patches/patch-spielcpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/blokus/patches/patch-spielcpp       Wed May 23 15:05:36 2007 +0000
@@ -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();
+       



Home | Main Index | Thread Index | Old Index