Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2018 20:13:48 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r484217 - in head/games/gtkradiant: . files
Message-ID:  <201811052013.wA5KDmGB003323@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Mon Nov  5 20:13:48 2018
New Revision: 484217
URL: https://svnweb.freebsd.org/changeset/ports/484217

Log:
  Because of linking to libgraphite2, a C++11-compatible compiler is necessary.
  
  Also, GCC needed an additional include.
  
  While here, pet portlint.
  
  PR:		232003
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Added:
  head/games/gtkradiant/files/patch-libs_typesystem.h   (contents, props changed)
Modified:
  head/games/gtkradiant/Makefile

Modified: head/games/gtkradiant/Makefile
==============================================================================
--- head/games/gtkradiant/Makefile	Mon Nov  5 20:09:27 2018	(r484216)
+++ head/games/gtkradiant/Makefile	Mon Nov  5 20:13:48 2018	(r484217)
@@ -16,11 +16,13 @@ COMMENT=	Map editor for FPS games, by id Software and 
 
 LICENSE=	GPLv2
 
+BROKEN_aarch64=		Fails to link: error: ldd command returned with exit code 256
+
 LIB_DEPENDS=	libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \
 		libmhash.so:security/mhash \
 		libpng.so:graphics/png
 
-USES=		pkgconfig python:2.7,build scons zip
+USES=		compiler:c++11-lang gnome pkgconfig python:2.7,build scons zip
 USE_GNOME=	gtk20 libxml2
 MAKE_ARGS=	${MAKE_ENV} BUILD=release
 SSP_UNSAFE=	yes
@@ -29,8 +31,6 @@ DATADIR=	${PREFIX}/lib/${PORTNAME}
 WRKSRC=		${WRKDIR}/GPL/GtkRadiant
 
 SUB_FILES=	${PORTNAME}
-
-BROKEN_aarch64=		Fails to link: error: ldd command returned with exit code 256
 
 post-patch:
 	@${GREP} -Rl 'defined[[:blank:]]*([[:blank:]]*__linux__[[:blank:]]*) || defined[[:blank:]]*([[:blank:]]*__APPLE__[[:blank:]]*)' ${WRKSRC} | \

Added: head/games/gtkradiant/files/patch-libs_typesystem.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/gtkradiant/files/patch-libs_typesystem.h	Mon Nov  5 20:13:48 2018	(r484217)
@@ -0,0 +1,10 @@
+--- libs/typesystem.h.orig	2018-10-06 15:03:20 UTC
++++ libs/typesystem.h
+@@ -24,6 +24,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+ 
+ 
+ #include <list>
++#include <memory>
+ #include "generic/callback.h"
+ #include "generic/static.h"
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811052013.wA5KDmGB003323>