1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

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
This commit is contained in:
Piotr Kubaj 2020-02-25 10:45:51 +00:00
parent cdc23a18cd
commit fc9e4ce57f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=527073

View File

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