svn commit: r494555 - head/devel/simgear
Jan Beich
jbeich at FreeBSD.org
Mon Mar 4 07:06:49 UTC 2019
Author: jbeich
Date: Mon Mar 4 07:06:48 2019
New Revision: 494555
URL: https://svnweb.freebsd.org/changeset/ports/494555
Log:
devel/simgear: unbreak with libc++ 8
In file included from simgear/bucket/newbucket.cxx:30:
In file included from /usr/include/c++/v1/cmath:305:
In file included from /usr/include/c++/v1/math.h:309:
In file included from /usr/include/c++/v1/type_traits:406:
In file included from /usr/include/c++/v1/cstddef:38:
version:1:1: error: expected unqualified-id
2018.3.2
^
PR: 236192
Approved by: portmgr blanket
Modified:
head/devel/simgear/Makefile (contents, props changed)
Modified: head/devel/simgear/Makefile
==============================================================================
--- head/devel/simgear/Makefile Mon Mar 4 06:55:08 2019 (r494554)
+++ head/devel/simgear/Makefile Mon Mar 4 07:06:48 2019 (r494555)
@@ -27,4 +27,10 @@ LDFLAGS_powerpc= -losgDB
LDFLAGS_powerpcspe= -losgDB
LDFLAGS_sparc64= -losgDB
+post-patch:
+# Avoid conflict with C++20 <version> by adding .txt suffix
+ @${MV} ${WRKSRC}/version ${WRKSRC}/version.txt
+ @${REINPLACE_CMD} -Ei .c++20 '/file|set_prop/s/version[[:>:]]/&.txt/' \
+ ${WRKSRC}/CMakeLists.txt
+
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list