From owner-svn-ports-all@freebsd.org Mon Nov 5 20:30:34 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3FEAC110AF2F; Mon, 5 Nov 2018 20:30:34 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A9C5671977; Mon, 5 Nov 2018 20:30:33 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8AA861C70F; Mon, 5 Nov 2018 20:30:33 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wA5KUXWN009005; Mon, 5 Nov 2018 20:30:33 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wA5KUWBc008995; Mon, 5 Nov 2018 20:30:32 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201811052030.wA5KUWBc008995@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Mon, 5 Nov 2018 20:30:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484219 - in head/games/rtb: . files X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: in head/games/rtb: . files X-SVN-Commit-Revision: 484219 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: A9C5671977 X-Spamd-Result: default: False [-1.50 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.76)[-0.760,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-0.63)[-0.627,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2018 20:30:34 -0000 Author: linimon Date: Mon Nov 5 20:30:31 2018 New Revision: 484219 URL: https://svnweb.freebsd.org/changeset/ports/484219 Log: This port requires USES=compiler:c++11-lang, since it links with libgraphite. It also requires some includes, to build it with GCC7. One of source files uses CRLF line endings, which necessitates USES=dos2unix. While here, add USES=gnome localbase:ldflags. PR: 232491 Submitted by: Piotr Kubaj Added: head/games/rtb/files/patch-Robots_seek__and__destroy_seek__and__destroy.cc (contents, props changed) head/games/rtb/files/patch-Robots_xt-bot_xt-bot-a.cpp (contents, props changed) head/games/rtb/files/patch-Robots_xt-bot_xt-bot-b.cpp (contents, props changed) head/games/rtb/files/patch-include_Dialog.h (contents, props changed) Modified: head/games/rtb/Makefile head/games/rtb/files/patch-team-framework__io__unixinstreambuf.cpp head/games/rtb/files/patch-team-framework__io__unixoutstreambuf.cpp Modified: head/games/rtb/Makefile ============================================================================== --- head/games/rtb/Makefile Mon Nov 5 20:19:26 2018 (r484218) +++ head/games/rtb/Makefile Mon Nov 5 20:30:31 2018 (r484219) @@ -16,16 +16,16 @@ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gsed:textproc/gsed -USES= compiler gettext gmake perl5 pkgconfig python:2.7 tar:bzip2 +USES= compiler:c++11-lang dos2unix gettext gmake gnome \ + localbase:ldflags perl5 pkgconfig python:2.7 tar:bzip2 USE_GNOME= gtk20 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-rtb-dir=${PREFIX}/lib/${PORTNAME} +DOS2UNIX_FILES= team-framework/bots/cobra/cobra_clientspecificrepository.h INFO= RealTimeBattle CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib DESKTOP_ENTRIES="${PORTNAME}" "" "" "${PORTNAME:tl}" "" "" Added: head/games/rtb/files/patch-Robots_seek__and__destroy_seek__and__destroy.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/rtb/files/patch-Robots_seek__and__destroy_seek__and__destroy.cc Mon Nov 5 20:30:31 2018 (r484219) @@ -0,0 +1,10 @@ +--- Robots/seek_and_destroy/seek_and_destroy.cc.orig 2018-10-20 20:20:40 UTC ++++ Robots/seek_and_destroy/seek_and_destroy.cc +@@ -6,6 +6,7 @@ + #include + #include + #include ++#include + + #ifdef TIME_WITH_SYS_TIME + # include Added: head/games/rtb/files/patch-Robots_xt-bot_xt-bot-a.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/rtb/files/patch-Robots_xt-bot_xt-bot-a.cpp Mon Nov 5 20:30:31 2018 (r484219) @@ -0,0 +1,10 @@ +--- Robots/xt-bot/xt-bot-a.cpp.orig 2018-10-20 20:32:42 UTC ++++ Robots/xt-bot/xt-bot-a.cpp +@@ -24,6 +24,7 @@ General Public License for more details. + ****************************************************************************/ + + #include ++#include + #include + #include + #include Added: head/games/rtb/files/patch-Robots_xt-bot_xt-bot-b.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/rtb/files/patch-Robots_xt-bot_xt-bot-b.cpp Mon Nov 5 20:30:31 2018 (r484219) @@ -0,0 +1,10 @@ +--- Robots/xt-bot/xt-bot-b.cpp.orig 2018-10-20 20:24:50 UTC ++++ Robots/xt-bot/xt-bot-b.cpp +@@ -25,6 +25,7 @@ General Public License for more details. + ****************************************************************************/ + + #include ++#include + #include + #include + #include Added: head/games/rtb/files/patch-include_Dialog.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/rtb/files/patch-include_Dialog.h Mon Nov 5 20:30:31 2018 (r484219) @@ -0,0 +1,10 @@ +--- include/Dialog.h.orig 2018-10-20 20:18:21 UTC ++++ include/Dialog.h +@@ -23,6 +23,7 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-13 + #ifdef HAVE_CONFIG_H + # include + #endif ++#include + + #ifndef NO_GRAPHICS + Modified: head/games/rtb/files/patch-team-framework__io__unixinstreambuf.cpp ============================================================================== --- head/games/rtb/files/patch-team-framework__io__unixinstreambuf.cpp Mon Nov 5 20:19:26 2018 (r484218) +++ head/games/rtb/files/patch-team-framework__io__unixinstreambuf.cpp Mon Nov 5 20:30:31 2018 (r484219) @@ -1,6 +1,12 @@ ---- team-framework/io/unixinstreambuf.cpp.orig +--- team-framework/io/unixinstreambuf.cpp.orig 2005-01-06 17:59:28 UTC +++ team-framework/io/unixinstreambuf.cpp -@@ -33,6 +33,8 @@ +@@ -28,11 +28,14 @@ + #include + + #include "unixinstreambuf.h" ++#include + #include "../rtbglobal/masterresourcecontrol.h" + #include "../exceptions/keynotfoundexception.h" #include "../exceptions/confignotloadedexception.h" #include #include Modified: head/games/rtb/files/patch-team-framework__io__unixoutstreambuf.cpp ============================================================================== --- head/games/rtb/files/patch-team-framework__io__unixoutstreambuf.cpp Mon Nov 5 20:19:26 2018 (r484218) +++ head/games/rtb/files/patch-team-framework__io__unixoutstreambuf.cpp Mon Nov 5 20:30:31 2018 (r484219) @@ -1,7 +1,10 @@ ---- team-framework/io/unixoutstreambuf.cpp.orig +--- team-framework/io/unixoutstreambuf.cpp.orig 2005-07-09 11:46:12 UTC +++ team-framework/io/unixoutstreambuf.cpp -@@ -30,6 +30,8 @@ +@@ -28,8 +28,11 @@ + #include + #include "unixoutstreambuf.h" ++#include #include #include +#include