aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2018-03-11 23:17:17 +0800
committerdanfe <danfe@FreeBSD.org>2018-03-11 23:17:17 +0800
commit9827acef97485001b8e3087e912c10a06ac50974 (patch)
treec0bff87901f17b9c495a46b1cf5d65308ff5c8f7 /x11
parenta3558e5cc47a1af661363f98479571204f0c9aa5 (diff)
downloadfreebsd-ports-gnome-9827acef97485001b8e3087e912c10a06ac50974.tar.gz
freebsd-ports-gnome-9827acef97485001b8e3087e912c10a06ac50974.tar.zst
freebsd-ports-gnome-9827acef97485001b8e3087e912c10a06ac50974.zip
Unbreak the build against recent Clang (error: invalid suffix on literal;
C++11 requires a space between literal and identifier).
Diffstat (limited to 'x11')
-rw-r--r--x11/virtualgl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11/virtualgl/Makefile b/x11/virtualgl/Makefile
index 9c5bd32a2881..38b74b51e840 100644
--- a/x11/virtualgl/Makefile
+++ b/x11/virtualgl/Makefile
@@ -49,4 +49,8 @@ PLIST_SUB+= I386="@comment "
PLIST_SUB+= AMD64=""
.endif
+post-patch:
+ @${REINPLACE_CMD} -e '/^#define CHECKGL/s,m);, &,' \
+ ${WRKSRC}/server/VirtualDrawable.cpp
+
.include <bsd.port.post.mk>