From 24a822b74a3b9d21b45d88b448222e631cb3d879 Mon Sep 17 00:00:00 2001 From: rillig Date: Wed, 23 May 2007 15:05:36 +0000 Subject: Fixed a SunPro error message and some pkglint warnings. --- games/blokus/Makefile | 6 +++--- games/blokus/distinfo | 3 ++- games/blokus/patches/patch-spielcpp | 15 +++++++++++++++ 3 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 games/blokus/patches/patch-spielcpp (limited to 'games') 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(); + -- cgit v1.2.3