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)
This commit is contained in:
Mark Linimon 2018-11-05 20:13:48 +00:00
parent 28aaaf1992
commit 88558fd143
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=484217
2 changed files with 13 additions and 3 deletions

View File

@ -16,11 +16,13 @@ COMMENT= Map editor for FPS games, by id Software and Loki Software
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
@ -30,8 +32,6 @@ 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} | \
${XARGS} ${REINPLACE_CMD} -e \

View File

@ -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"