From owner-svn-ports-head@FreeBSD.ORG Sun Mar 23 09:45:43 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 20894EC; Sun, 23 Mar 2014 09:45:43 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0A29B6A8; Sun, 23 Mar 2014 09:45:43 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2N9jh66018424; Sun, 23 Mar 2014 09:45:43 GMT (envelope-from oliver@svn.freebsd.org) Received: (from oliver@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2N9jdlC018409; Sun, 23 Mar 2014 09:45:39 GMT (envelope-from oliver@svn.freebsd.org) Message-Id: <201403230945.s2N9jdlC018409@svn.freebsd.org> From: Oliver Lehmann Date: Sun, 23 Mar 2014 09:45:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r348846 - in head: devel/atlas-devel devel/eris devel/eris/files devel/libwfut devel/mercator devel/varconf math/wfmath math/wfmath/files net/cyphesis net/skstream X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2014 09:45:43 -0000 Author: oliver Date: Sun Mar 23 09:45:39 2014 New Revision: 348846 URL: http://svnweb.freebsd.org/changeset/ports/348846 QAT: https://qat.redports.org/buildarchive/r348846/ Log: switch from GCC to Clang bump PORTREVISION Added: head/devel/eris/files/patch-Eris-Metaserver.h (contents, props changed) head/devel/eris/files/patch-Eris-PollDefault.cpp (contents, props changed) head/devel/eris/files/patch-Eris-View.h (contents, props changed) head/math/wfmath/files/ head/math/wfmath/files/patch-wfmath-intersect.cpp (contents, props changed) head/math/wfmath/patch-wfmath-axisbox.h (contents, props changed) head/math/wfmath/patch-wfmath-rotbox.h (contents, props changed) Modified: head/devel/atlas-devel/Makefile head/devel/atlas-devel/pkg-plist head/devel/eris/Makefile head/devel/libwfut/Makefile head/devel/mercator/Makefile head/devel/varconf/Makefile head/math/wfmath/Makefile head/net/cyphesis/Makefile head/net/skstream/Makefile Modified: head/devel/atlas-devel/Makefile ============================================================================== --- head/devel/atlas-devel/Makefile Sun Mar 23 09:43:56 2014 (r348845) +++ head/devel/atlas-devel/Makefile Sun Mar 23 09:45:39 2014 (r348846) @@ -3,7 +3,7 @@ PORTNAME= Atlas PORTVERSION= 0.6.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= SF/worldforge/${PORTNAME}-C%2B%2B%20%28protocol%20lib%29/${PORTVERSION} DISTNAME= ${PORTNAME}-C++-${PORTVERSION:S/.r/rc/} @@ -15,11 +15,9 @@ OPTIONS_DEFINE= DOCS PKGNAMESUFFIX= -devel GNU_CONFIGURE= yes -USES= pathfix compiler:c++11-lang -USE_AUTOTOOLS= libtool +USES= pathfix compiler:c++11-lib USE_LDCONFIG= YES USE_BZIP2= YES -USE_GCC= yes MAKE_ARGS= docdir=${DOCSDIR} CONFIGURE_ARGS+=--program-transform-name= Modified: head/devel/atlas-devel/pkg-plist ============================================================================== --- head/devel/atlas-devel/pkg-plist Sun Mar 23 09:43:56 2014 (r348845) +++ head/devel/atlas-devel/pkg-plist Sun Mar 23 09:45:39 2014 (r348846) @@ -36,31 +36,24 @@ include/Atlas-C++-0.6/Atlas/Objects/load include/Atlas-C++-0.6/Atlas/Objects/objectFactory.h include/Atlas-C++-0.6/Atlas/Task.h include/Atlas-C++-0.6/Atlas/Version.h -lib/libAtlas-0.6.a lib/libAtlas-0.6.la lib/libAtlas-0.6.so lib/libAtlas-0.6.so.2 -lib/libAtlasCodecs-0.6.a lib/libAtlasCodecs-0.6.la lib/libAtlasCodecs-0.6.so lib/libAtlasCodecs-0.6.so.2 -lib/libAtlasFilters-0.6.a lib/libAtlasFilters-0.6.la lib/libAtlasFilters-0.6.so lib/libAtlasFilters-0.6.so.2 -lib/libAtlasFunky-0.6.a lib/libAtlasFunky-0.6.la lib/libAtlasFunky-0.6.so lib/libAtlasFunky-0.6.so.2 -lib/libAtlasMessage-0.6.a lib/libAtlasMessage-0.6.la lib/libAtlasMessage-0.6.so lib/libAtlasMessage-0.6.so.2 -lib/libAtlasNet-0.6.a lib/libAtlasNet-0.6.la lib/libAtlasNet-0.6.so lib/libAtlasNet-0.6.so.2 -lib/libAtlasObjects-0.6.a lib/libAtlasObjects-0.6.la lib/libAtlasObjects-0.6.so lib/libAtlasObjects-0.6.so.2 Modified: head/devel/eris/Makefile ============================================================================== --- head/devel/eris/Makefile Sun Mar 23 09:43:56 2014 (r348845) +++ head/devel/eris/Makefile Sun Mar 23 09:45:39 2014 (r348846) @@ -3,7 +3,7 @@ PORTNAME= eris PORTVERSION= 1.3.23 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= SF/worldforge/Eris%201.4%20%28client%20lib%29/${PORTVERSION}/ @@ -19,10 +19,6 @@ LIB_DEPENDS= libAtlas-0.6.so:${PORTSDIR} CONFIGURE_ARGS= --disable-silent-rules GNU_CONFIGURE= yes USE_LDCONFIG= yes -USES= pathfix pkgconfig -USE_GCC= yes +USES= pathfix pkgconfig compiler:c++11-lib -CXXFLAGS+= -include wchar.h - -NO_STAGE= yes .include Added: head/devel/eris/files/patch-Eris-Metaserver.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/eris/files/patch-Eris-Metaserver.h Sun Mar 23 09:45:39 2014 (r348846) @@ -0,0 +1,11 @@ +--- Eris/Metaserver.h.orig 2014-03-10 19:49:32.000000000 +0100 ++++ Eris/Metaserver.h 2014-03-10 19:49:47.000000000 +0100 +@@ -12,6 +12,8 @@ + #include + #include + ++#include ++ + #include + + // Forward decls Added: head/devel/eris/files/patch-Eris-PollDefault.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/eris/files/patch-Eris-PollDefault.cpp Sun Mar 23 09:45:39 2014 (r348846) @@ -0,0 +1,11 @@ +--- Eris/PollDefault.cpp.orig 2014-03-10 19:29:37.000000000 +0100 ++++ Eris/PollDefault.cpp 2014-03-10 19:29:49.000000000 +0100 +@@ -77,7 +77,7 @@ + + if (!got_data) return; + +- struct timeval timeout = {msec_timeout / 1000, (msec_timeout % 1000) * 1000}; ++ struct timeval timeout = {(long)msec_timeout / 1000, ((long)msec_timeout % 1000) * 1000}; + int retval = select(maxfd+1, &reading, &writing, &exceptions, &timeout); + if (retval < 0) { + warning() << "select() returned error: " << retval; Added: head/devel/eris/files/patch-Eris-View.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/eris/files/patch-Eris-View.h Sun Mar 23 09:45:39 2014 (r348846) @@ -0,0 +1,10 @@ +--- ./Eris/View.h.orig 2014-03-10 19:30:34.000000000 +0100 ++++ ./Eris/View.h 2014-03-10 19:30:56.000000000 +0100 +@@ -13,6 +13,7 @@ + #include + + // std ++#include + #include + #include + #include Modified: head/devel/libwfut/Makefile ============================================================================== --- head/devel/libwfut/Makefile Sun Mar 23 09:43:56 2014 (r348845) +++ head/devel/libwfut/Makefile Sun Mar 23 09:45:39 2014 (r348846) @@ -14,7 +14,7 @@ LIB_DEPENDS= libsigc-2.0.so:${PORTSDIR}/ CONFIGURE_ARGS+=--without-python GNU_CONFIGURE= yes -USES= pathfix pkgconfig +USES= pathfix pkgconfig compiler:c++11-lang USE_LDCONFIG= yes post-patch: Modified: head/devel/mercator/Makefile ============================================================================== --- head/devel/mercator/Makefile Sun Mar 23 09:43:56 2014 (r348845) +++ head/devel/mercator/Makefile Sun Mar 23 09:45:39 2014 (r348846) @@ -3,8 +3,7 @@ PORTNAME= mercator PORTVERSION= 0.3.3 -#PORTREVISION= 1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= SF/worldforge/Mercator%20%28terrain%20lib%29/${PORTVERSION} @@ -14,10 +13,9 @@ COMMENT= A procedural terrain library LIB_DEPENDS= libwfmath-1.0.so:${PORTSDIR}/math/wfmath CONFIGURE_ARGS= --disable-silent-rules -USES= pathfix pkgconfig +USES= pathfix pkgconfig compiler:c++11-lib GNU_CONFIGURE= yes USE_LDCONFIG= yes -USE_GCC= yes CXXFLAGS+= -include wchar.h Modified: head/devel/varconf/Makefile ============================================================================== --- head/devel/varconf/Makefile Sun Mar 23 09:43:56 2014 (r348845) +++ head/devel/varconf/Makefile Sun Mar 23 09:45:39 2014 (r348846) @@ -3,7 +3,7 @@ PORTNAME= varconf PORTVERSION= 1.0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= SF/worldforge/${PORTNAME}%20%28config%20lib%29/${PORTVERSION} @@ -16,10 +16,9 @@ OPTIONS_DEFINE= DOCS GNU_CONFIGURE= yes USE_BZIP2= yes -USES= libtool pathfix pkgconfig +USES= libtool pathfix pkgconfig compiler:c++11-lib USE_LDCONFIG= yes INSTALL_TARGET= install-strip -USE_GCC= yes post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} Modified: head/math/wfmath/Makefile ============================================================================== --- head/math/wfmath/Makefile Sun Mar 23 09:43:56 2014 (r348845) +++ head/math/wfmath/Makefile Sun Mar 23 09:45:39 2014 (r348846) @@ -3,16 +3,15 @@ PORTNAME= wfmath PORTVERSION= 1.0.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math MASTER_SITES= SF/worldforge/${PORTNAME}%20%28math%20lib%29/${PORTVERSION} MAINTAINER= oliver@FreeBSD.org COMMENT= Worldforge math library -USES= gmake pathfix pkgconfig +USES= pathfix pkgconfig compiler:c++11-lib USE_LDCONFIG= yes -USE_GCC= yes GNU_CONFIGURE= yes .include Added: head/math/wfmath/files/patch-wfmath-intersect.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/wfmath/files/patch-wfmath-intersect.cpp Sun Mar 23 09:45:39 2014 (r348846) @@ -0,0 +1,244 @@ +--- wfmath/intersect.cpp.orig 2014-03-10 19:17:04.000000000 +0100 ++++ wfmath/intersect.cpp 2014-03-10 19:18:00.000000000 +0100 +@@ -31,121 +31,6 @@ + + namespace WFMath { + +-// force a bunch of instantiations +- +-template bool Intersect<2>(const Point<2>&, const Point<2>&, bool); +-template bool Intersect<3>(const Point<3>&, const Point<3>&, bool); +-template bool Contains<2>(const Point<2>&, const Point<2>&, bool); +-template bool Contains<3>(const Point<3>&, const Point<3>&, bool); +- +-template bool Intersect,AxisBox<2> >(const Point<2>&, const AxisBox<2>&, bool); +-template bool Intersect,AxisBox<3> >(const Point<3>&, const AxisBox<3>&, bool); +-template bool Contains<2>(const Point<2>&, const AxisBox<2>&, bool); +-template bool Contains<3>(const Point<3>&, const AxisBox<3>&, bool); +-template bool Intersect<2>(const AxisBox<2>&, const Point<2>&, bool); +-template bool Intersect<3>(const AxisBox<3>&, const Point<3>&, bool); +-template bool Contains<2>(const AxisBox<2>&, const Point<2>&, bool); +-template bool Contains<3>(const AxisBox<3>&, const Point<3>&, bool); +- +-template bool Intersect<2>(const AxisBox<2>&, const AxisBox<2>&, bool); +-template bool Intersect<3>(const AxisBox<3>&, const AxisBox<3>&, bool); +-template bool Contains<2>(const AxisBox<2>&, const AxisBox<2>&, bool); +-template bool Contains<3>(const AxisBox<3>&, const AxisBox<3>&, bool); +- +-template bool Intersect,Ball<2> >(const Point<2>&, const Ball<2>&, bool); +-template bool Intersect,Ball<3> >(const Point<3>&, const Ball<3>&, bool); +-template bool Contains<2>(const Point<2>&, const Ball<2>&, bool); +-template bool Contains<3>(const Point<3>&, const Ball<3>&, bool); +-template bool Intersect<2>(const Ball<2>&, const Point<2>&, bool); +-template bool Intersect<3>(const Ball<3>&, const Point<3>&, bool); +-template bool Contains<2>(const Ball<2>&, const Point<2>&, bool); +-template bool Contains<3>(const Ball<3>&, const Point<3>&, bool); +- +-template bool Intersect,Ball<2> >(const AxisBox<2>&, const Ball<2>&, bool); +-template bool Intersect,Ball<3> >(const AxisBox<3>&, const Ball<3>&, bool); +-template bool Contains<2>(const AxisBox<2>&, const Ball<2>&, bool); +-template bool Contains<3>(const AxisBox<3>&, const Ball<3>&, bool); +-template bool Intersect<2>(const Ball<2>&, const AxisBox<2>&, bool); +-template bool Intersect<3>(const Ball<3>&, const AxisBox<3>&, bool); +-template bool Contains<2>(const Ball<2>&, const AxisBox<2>&, bool); +-template bool Contains<3>(const Ball<3>&, const AxisBox<3>&, bool); +- +-template bool Intersect<2>(const Ball<2>&, const Ball<2>&, bool); +-template bool Intersect<3>(const Ball<3>&, const Ball<3>&, bool); +-template bool Contains<2>(const Ball<2>&, const Ball<2>&, bool); +-template bool Contains<3>(const Ball<3>&, const Ball<3>&, bool); +- +-template bool Intersect,Segment<2> >(const Point<2>&, const Segment<2>&, bool); +-template bool Intersect,Segment<3> >(const Point<3>&, const Segment<3>&, bool); +-template bool Contains<2>(const Point<2>&, const Segment<2>&, bool); +-template bool Contains<3>(const Point<3>&, const Segment<3>&, bool); +-template bool Intersect<2>(const Segment<2>&, const Point<2>&, bool); +-template bool Intersect<3>(const Segment<3>&, const Point<3>&, bool); +-template bool Contains<2>(const Segment<2>&, const Point<2>&, bool); +-template bool Contains<3>(const Segment<3>&, const Point<3>&, bool); +- +-template bool Intersect,Segment<2> >(const AxisBox<2>&, const Segment<2>&, bool); +-template bool Intersect,Segment<3> >(const AxisBox<3>&, const Segment<3>&, bool); +-template bool Contains<2>(const AxisBox<2>&, const Segment<2>&, bool); +-template bool Contains<3>(const AxisBox<3>&, const Segment<3>&, bool); +-template bool Intersect<2>(const Segment<2>&, const AxisBox<2>&, bool); +-template bool Intersect<3>(const Segment<3>&, const AxisBox<3>&, bool); +-template bool Contains<2>(const Segment<2>&, const AxisBox<2>&, bool); +-template bool Contains<3>(const Segment<3>&, const AxisBox<3>&, bool); +- +-template bool Intersect,Segment<2> >(const Ball<2>&, const Segment<2>&, bool); +-template bool Intersect,Segment<3> >(const Ball<3>&, const Segment<3>&, bool); +-template bool Contains<2>(const Ball<2>&, const Segment<2>&, bool); +-template bool Contains<3>(const Ball<3>&, const Segment<3>&, bool); +-template bool Intersect<2>(const Segment<2>&, const Ball<2>&, bool); +-template bool Intersect<3>(const Segment<3>&, const Ball<3>&, bool); +-template bool Contains<2>(const Segment<2>&, const Ball<2>&, bool); +-template bool Contains<3>(const Segment<3>&, const Ball<3>&, bool); +- +-template bool Intersect<2>(const Segment<2>&, const Segment<2>&, bool); +-template bool Intersect<3>(const Segment<3>&, const Segment<3>&, bool); +-template bool Contains<2>(const Segment<2>&, const Segment<2>&, bool); +-template bool Contains<3>(const Segment<3>&, const Segment<3>&, bool); +- +-template bool Intersect,RotBox<2> >(const Point<2>&, const RotBox<2>&, bool); +-template bool Intersect,RotBox<3> >(const Point<3>&, const RotBox<3>&, bool); +-template bool Contains<2>(const Point<2>&, const RotBox<2>&, bool); +-template bool Contains<3>(const Point<3>&, const RotBox<3>&, bool); +-template bool Intersect<2>(const RotBox<2>&, const Point<2>&, bool); +-template bool Intersect<3>(const RotBox<3>&, const Point<3>&, bool); +-template bool Contains<2>(const RotBox<2>&, const Point<2>&, bool); +-template bool Contains<3>(const RotBox<3>&, const Point<3>&, bool); +- +-template bool Intersect,RotBox<2> >(const AxisBox<2>&, const RotBox<2>&, bool); +-template bool Intersect,RotBox<3> >(const AxisBox<3>&, const RotBox<3>&, bool); +-template bool Contains<2>(const AxisBox<2>&, const RotBox<2>&, bool); +-template bool Contains<3>(const AxisBox<3>&, const RotBox<3>&, bool); +-template bool Contains<2>(const RotBox<2>&, const AxisBox<2>&, bool); +-template bool Contains<3>(const RotBox<3>&, const AxisBox<3>&, bool); +- +-template bool Intersect,RotBox<2> >(const Ball<2>&, const RotBox<2>&, bool); +-template bool Intersect,RotBox<3> >(const Ball<3>&, const RotBox<3>&, bool); +-template bool Contains<2>(const Ball<2>&, const RotBox<2>&, bool); +-template bool Contains<3>(const Ball<3>&, const RotBox<3>&, bool); +-template bool Intersect<2>(const RotBox<2>&, const Ball<2>&, bool); +-template bool Intersect<3>(const RotBox<3>&, const Ball<3>&, bool); +-template bool Contains<2>(const RotBox<2>&, const Ball<2>&, bool); +-template bool Contains<3>(const RotBox<3>&, const Ball<3>&, bool); +- +-template bool Intersect,RotBox<2> >(const Segment<2>&, const RotBox<2>&, bool); +-template bool Intersect,RotBox<3> >(const Segment<3>&, const RotBox<3>&, bool); +-template bool Contains<2>(const Segment<2>&, const RotBox<2>&, bool); +-template bool Contains<3>(const Segment<3>&, const RotBox<3>&, bool); +-template bool Intersect<2>(const RotBox<2>&, const Segment<2>&, bool); +-template bool Intersect<3>(const RotBox<3>&, const Segment<3>&, bool); +-template bool Contains<2>(const RotBox<2>&, const Segment<2>&, bool); +-template bool Contains<3>(const RotBox<3>&, const Segment<3>&, bool); +- +-template bool Intersect<2>(const RotBox<2>&, const RotBox<2>&, bool); +-template bool Intersect<3>(const RotBox<3>&, const RotBox<3>&, bool); +-template bool Contains<2>(const RotBox<2>&, const RotBox<2>&, bool); +-template bool Contains<3>(const RotBox<3>&, const RotBox<3>&, bool); +- + // The 2d implementation was inspired as a simplification of the 3d. + // It used the fact that two not-similarly-oriented rectangles a and b + // intersect each other if and only if a's bounding box in b's coordinate +@@ -359,4 +244,119 @@ + return true; + } + ++// force a bunch of instantiations ++ ++template bool Intersect<2>(const Point<2>&, const Point<2>&, bool); ++template bool Intersect<3>(const Point<3>&, const Point<3>&, bool); ++template bool Contains<2>(const Point<2>&, const Point<2>&, bool); ++template bool Contains<3>(const Point<3>&, const Point<3>&, bool); ++ ++template bool Intersect,AxisBox<2> >(const Point<2>&, const AxisBox<2>&, bool); ++template bool Intersect,AxisBox<3> >(const Point<3>&, const AxisBox<3>&, bool); ++template bool Contains<2>(const Point<2>&, const AxisBox<2>&, bool); ++template bool Contains<3>(const Point<3>&, const AxisBox<3>&, bool); ++template bool Intersect<2>(const AxisBox<2>&, const Point<2>&, bool); ++template bool Intersect<3>(const AxisBox<3>&, const Point<3>&, bool); ++template bool Contains<2>(const AxisBox<2>&, const Point<2>&, bool); ++template bool Contains<3>(const AxisBox<3>&, const Point<3>&, bool); ++ ++template bool Intersect<2>(const AxisBox<2>&, const AxisBox<2>&, bool); ++template bool Intersect<3>(const AxisBox<3>&, const AxisBox<3>&, bool); ++template bool Contains<2>(const AxisBox<2>&, const AxisBox<2>&, bool); ++template bool Contains<3>(const AxisBox<3>&, const AxisBox<3>&, bool); ++ ++template bool Intersect,Ball<2> >(const Point<2>&, const Ball<2>&, bool); ++template bool Intersect,Ball<3> >(const Point<3>&, const Ball<3>&, bool); ++template bool Contains<2>(const Point<2>&, const Ball<2>&, bool); ++template bool Contains<3>(const Point<3>&, const Ball<3>&, bool); ++template bool Intersect<2>(const Ball<2>&, const Point<2>&, bool); ++template bool Intersect<3>(const Ball<3>&, const Point<3>&, bool); ++template bool Contains<2>(const Ball<2>&, const Point<2>&, bool); ++template bool Contains<3>(const Ball<3>&, const Point<3>&, bool); ++ ++template bool Intersect,Ball<2> >(const AxisBox<2>&, const Ball<2>&, bool); ++template bool Intersect,Ball<3> >(const AxisBox<3>&, const Ball<3>&, bool); ++template bool Contains<2>(const AxisBox<2>&, const Ball<2>&, bool); ++template bool Contains<3>(const AxisBox<3>&, const Ball<3>&, bool); ++template bool Intersect<2>(const Ball<2>&, const AxisBox<2>&, bool); ++template bool Intersect<3>(const Ball<3>&, const AxisBox<3>&, bool); ++template bool Contains<2>(const Ball<2>&, const AxisBox<2>&, bool); ++template bool Contains<3>(const Ball<3>&, const AxisBox<3>&, bool); ++ ++template bool Intersect<2>(const Ball<2>&, const Ball<2>&, bool); ++template bool Intersect<3>(const Ball<3>&, const Ball<3>&, bool); ++template bool Contains<2>(const Ball<2>&, const Ball<2>&, bool); ++template bool Contains<3>(const Ball<3>&, const Ball<3>&, bool); ++ ++template bool Intersect,Segment<2> >(const Point<2>&, const Segment<2>&, bool); ++template bool Intersect,Segment<3> >(const Point<3>&, const Segment<3>&, bool); ++template bool Contains<2>(const Point<2>&, const Segment<2>&, bool); ++template bool Contains<3>(const Point<3>&, const Segment<3>&, bool); ++template bool Intersect<2>(const Segment<2>&, const Point<2>&, bool); ++template bool Intersect<3>(const Segment<3>&, const Point<3>&, bool); ++template bool Contains<2>(const Segment<2>&, const Point<2>&, bool); ++template bool Contains<3>(const Segment<3>&, const Point<3>&, bool); ++ ++template bool Intersect,Segment<2> >(const AxisBox<2>&, const Segment<2>&, bool); ++template bool Intersect,Segment<3> >(const AxisBox<3>&, const Segment<3>&, bool); ++template bool Contains<2>(const AxisBox<2>&, const Segment<2>&, bool); ++template bool Contains<3>(const AxisBox<3>&, const Segment<3>&, bool); ++template bool Intersect<2>(const Segment<2>&, const AxisBox<2>&, bool); ++template bool Intersect<3>(const Segment<3>&, const AxisBox<3>&, bool); ++template bool Contains<2>(const Segment<2>&, const AxisBox<2>&, bool); ++template bool Contains<3>(const Segment<3>&, const AxisBox<3>&, bool); ++ ++template bool Intersect,Segment<2> >(const Ball<2>&, const Segment<2>&, bool); ++template bool Intersect,Segment<3> >(const Ball<3>&, const Segment<3>&, bool); ++template bool Contains<2>(const Ball<2>&, const Segment<2>&, bool); ++template bool Contains<3>(const Ball<3>&, const Segment<3>&, bool); ++template bool Intersect<2>(const Segment<2>&, const Ball<2>&, bool); ++template bool Intersect<3>(const Segment<3>&, const Ball<3>&, bool); ++template bool Contains<2>(const Segment<2>&, const Ball<2>&, bool); ++template bool Contains<3>(const Segment<3>&, const Ball<3>&, bool); ++ ++template bool Intersect<2>(const Segment<2>&, const Segment<2>&, bool); ++template bool Intersect<3>(const Segment<3>&, const Segment<3>&, bool); ++template bool Contains<2>(const Segment<2>&, const Segment<2>&, bool); ++template bool Contains<3>(const Segment<3>&, const Segment<3>&, bool); ++ ++template bool Intersect,RotBox<2> >(const Point<2>&, const RotBox<2>&, bool); ++template bool Intersect,RotBox<3> >(const Point<3>&, const RotBox<3>&, bool); ++template bool Contains<2>(const Point<2>&, const RotBox<2>&, bool); ++template bool Contains<3>(const Point<3>&, const RotBox<3>&, bool); ++template bool Intersect<2>(const RotBox<2>&, const Point<2>&, bool); ++template bool Intersect<3>(const RotBox<3>&, const Point<3>&, bool); ++template bool Contains<2>(const RotBox<2>&, const Point<2>&, bool); ++template bool Contains<3>(const RotBox<3>&, const Point<3>&, bool); ++ ++template bool Intersect,RotBox<2> >(const AxisBox<2>&, const RotBox<2>&, bool); ++template bool Intersect,RotBox<3> >(const AxisBox<3>&, const RotBox<3>&, bool); ++template bool Contains<2>(const AxisBox<2>&, const RotBox<2>&, bool); ++template bool Contains<3>(const AxisBox<3>&, const RotBox<3>&, bool); ++template bool Contains<2>(const RotBox<2>&, const AxisBox<2>&, bool); ++template bool Contains<3>(const RotBox<3>&, const AxisBox<3>&, bool); ++ ++template bool Intersect,RotBox<2> >(const Ball<2>&, const RotBox<2>&, bool); ++template bool Intersect,RotBox<3> >(const Ball<3>&, const RotBox<3>&, bool); ++template bool Contains<2>(const Ball<2>&, const RotBox<2>&, bool); ++template bool Contains<3>(const Ball<3>&, const RotBox<3>&, bool); ++template bool Intersect<2>(const RotBox<2>&, const Ball<2>&, bool); ++template bool Intersect<3>(const RotBox<3>&, const Ball<3>&, bool); ++template bool Contains<2>(const RotBox<2>&, const Ball<2>&, bool); ++template bool Contains<3>(const RotBox<3>&, const Ball<3>&, bool); ++ ++template bool Intersect,RotBox<2> >(const Segment<2>&, const RotBox<2>&, bool); ++template bool Intersect,RotBox<3> >(const Segment<3>&, const RotBox<3>&, bool); ++template bool Contains<2>(const Segment<2>&, const RotBox<2>&, bool); ++template bool Contains<3>(const Segment<3>&, const RotBox<3>&, bool); ++template bool Intersect<2>(const RotBox<2>&, const Segment<2>&, bool); ++template bool Intersect<3>(const RotBox<3>&, const Segment<3>&, bool); ++template bool Contains<2>(const RotBox<2>&, const Segment<2>&, bool); ++template bool Contains<3>(const RotBox<3>&, const Segment<3>&, bool); ++ ++template bool Intersect<2>(const RotBox<2>&, const RotBox<2>&, bool); ++template bool Intersect<3>(const RotBox<3>&, const RotBox<3>&, bool); ++template bool Contains<2>(const RotBox<2>&, const RotBox<2>&, bool); ++template bool Contains<3>(const RotBox<3>&, const RotBox<3>&, bool); ++ + } Added: head/math/wfmath/patch-wfmath-axisbox.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/wfmath/patch-wfmath-axisbox.h Sun Mar 23 09:45:39 2014 (r348846) @@ -0,0 +1,21 @@ +--- wfmath/axisbox.h.orig 2014-03-10 19:19:47.000000000 +0100 ++++ wfmath/axisbox.h 2014-03-10 19:20:00.000000000 +0100 +@@ -153,6 +153,9 @@ + /// Get the minimal box that contains a1 and a2 + friend AxisBox Union(const AxisBox& a1, const AxisBox& a2); + ++ friend bool Intersect<2>(const RotBox<2>& r, const AxisBox<2>& b, bool proper); ++ friend bool Intersect<3>(const RotBox<3>& r, const AxisBox<3>& b, bool proper); ++ + friend bool Intersect(const AxisBox& b, const Point& p, bool proper); + friend bool Contains(const Point& p, const AxisBox& b, bool proper); + +@@ -174,8 +177,6 @@ + friend bool Contains(const Polygon& p, const AxisBox& b, bool proper); + friend bool Contains(const AxisBox& b, const Polygon& p, bool proper); + +- private: +- + Point m_low, m_high; + }; + Added: head/math/wfmath/patch-wfmath-rotbox.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/wfmath/patch-wfmath-rotbox.h Sun Mar 23 09:45:39 2014 (r348846) @@ -0,0 +1,21 @@ +--- wfmath/rotbox.h.orig 2014-03-10 19:19:38.000000000 +0100 ++++ wfmath/rotbox.h 2014-03-10 19:19:56.000000000 +0100 +@@ -159,6 +159,9 @@ + RotBox toParentCoords(const Point& origin, const Quaternion& rotation) const; + RotBox toLocalCoords(const Point& origin, const Quaternion& rotation) const; + ++ friend bool Intersect<2>(const RotBox<2>& r, const AxisBox<2>& b, bool proper); ++ friend bool Intersect<3>(const RotBox<3>& r, const AxisBox<3>& b, bool proper); ++ + friend bool Intersect(const RotBox& r, const Point& p, bool proper); + friend bool Contains(const Point& p, const RotBox& r, bool proper); + +@@ -181,8 +184,6 @@ + friend bool Contains(const Polygon& p, const RotBox& r, bool proper); + friend bool Contains(const RotBox& r, const Polygon& p, bool proper); + +- private: +- + Point m_corner0; + Vector m_size; + RotMatrix m_orient; Modified: head/net/cyphesis/Makefile ============================================================================== --- head/net/cyphesis/Makefile Sun Mar 23 09:43:56 2014 (r348845) +++ head/net/cyphesis/Makefile Sun Mar 23 09:45:39 2014 (r348846) @@ -3,7 +3,7 @@ PORTNAME= cyphesis PORTVERSION= 0.6.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= SF/worldforge/${PORTNAME}%20%28server%29/${PORTVERSION} @@ -22,19 +22,16 @@ CONFIGURE_ARGS= --with-python=${LOCALBAS GNU_CONFIGURE= yes USE_BZIP2= yes -USES= gmake pathfix pkgconfig +USES= gmake pathfix pkgconfig compiler:c++11-lib USE_LDCONFIG= yes USE_PGSQL= yes USE_PYTHON= 2 -USE_GCC= yes CFLAGS+= -I${LOCALBASE}/include MAN1= cyclient.1 cycmd.1 cyphesis.1 cyphesis-tools.1 cyaddrules.1 \ cyconvertrules.1 cydumprules.1 cyloadrules.1 cypasswd.1 -NO_STAGE= yes - OPTIONS_DEFINE= DOCS .include @@ -59,13 +56,13 @@ post-patch: post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @${MKDIR} ${DOCSDIR}/conf -.for docfile in README COPYING AUTHORS THANKS NEWS ChangeLog TODO FIXME - @${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR}/conf +.for file in README COPYING AUTHORS THANKS NEWS ChangeLog TODO FIXME + @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor -.for docfile in acorn.xml basic.xml cyphesis.vconf mason.xml werewolf.xml - @${INSTALL_DATA} ${WRKSRC}/data/${docfile} ${DOCSDIR}/conf +.for file in acorn.xml basic.xml cyphesis.vconf mason.xml werewolf.xml + @${INSTALL_DATA} ${WRKSRC}/data/${file} ${STAGEDIR}${DOCSDIR}/conf .endfor .endif Modified: head/net/skstream/Makefile ============================================================================== --- head/net/skstream/Makefile Sun Mar 23 09:43:56 2014 (r348845) +++ head/net/skstream/Makefile Sun Mar 23 09:45:39 2014 (r348846) @@ -3,6 +3,7 @@ PORTNAME= skstream PORTVERSION= 0.3.9 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= SF/worldforge/${PORTNAME}%20%28network%20lib%29/${PORTVERSION} @@ -10,10 +11,9 @@ MAINTAINER= oliver@FreeBSD.org COMMENT= An iostream based C++ socket library USE_GMAKE= yes -USES= pathfix pkgconfig +USES= pathfix pkgconfig compiler:c++11-lib GNU_CONFIGURE= yes USE_LDCONFIG= yes -USE_GCC= yes OPTIONS_DEFINE= DOCS @@ -23,9 +23,11 @@ post-patch: @${REINPLACE_CMD} -e 's| install-docdataDATA | |g' ${WRKSRC}/Makefile.in post-install: +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for docfile in README COPYING AUTHORS NEWS README.FreeSockets - @${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR} +.for file in README COPYING AUTHORS NEWS README.FreeSockets + @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor +.endif .include