aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpkubaj <pkubaj@FreeBSD.org>2020-02-25 18:45:51 +0800
committerpkubaj <pkubaj@FreeBSD.org>2020-02-25 18:45:51 +0800
commit72f3330c648c801de38f72a49aa41de69047fdd1 (patch)
tree1bcb1c4c993ee2488bbafe0ce0b02dbfea81edf6
parent4215cb08690a8cabe7b9f356569489aeeff5c50a (diff)
downloadfreebsd-ports-gnome-72f3330c648c801de38f72a49aa41de69047fdd1.tar.gz
freebsd-ports-gnome-72f3330c648c801de38f72a49aa41de69047fdd1.tar.zst
freebsd-ports-gnome-72f3330c648c801de38f72a49aa41de69047fdd1.zip
x11-servers/xorg-server: fix build on GCC architectures
Use C11 compiler: In file included from glxserver.h:70, from singlepix.c:35: ../include/glx_extinit.h:33: error: redefinition of typedef '__GLXscreen' glxscreens.h:119: error: previous declaration of '__GLXscreen' was here
-rw-r--r--x11-servers/xorg-server/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11-servers/xorg-server/Makefile b/x11-servers/xorg-server/Makefile
index c74b7f600f28..57afb6011056 100644
--- a/x11-servers/xorg-server/Makefile
+++ b/x11-servers/xorg-server/Makefile
@@ -56,7 +56,7 @@ DEFAULT_FONTPATH_LIST= \
DEFAULT_FONTPATH_CMD=${ECHO_CMD} ${DEFAULT_FONTPATH_LIST} | ${TR} ' ' ,
PLIST_SUB+= FONTPATHD="${FONTPATHD:S,^${PREFIX}/,,}"
-USES= gl gmake perl5 ssl xorg xorg-cat:xserver
+USES= compiler:c11 gl gmake perl5 ssl xorg xorg-cat:xserver
USE_PERL5= build
USE_GL+= gl
USE_XORG+= pixman xau xdmcp xfont2 xkbfile xorgproto xshmfence xtrans