Skip to content

Commit 1e614e9

Browse files
committed
Build fc-cache tool with -std=gnu99 instead of -std=c99 to get necessary
function prototypes on gcc-14/glibc build hosts.
1 parent 1d6915a commit 1e614e9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • external/mit/xorg/tools/fc-cache

external/mit/xorg/tools/fc-cache/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: Makefile,v 1.23 2025/07/20 12:32:19 hans Exp $
1+
# $NetBSD: Makefile,v 1.24 2025/10/13 14:03:47 jakllsch Exp $
22

33
.include <bsd.hostinit.mk>
44

@@ -89,7 +89,7 @@ SRCS.expat= xmlparse.c xmltok.c xmlrole.c
8989
SRCS= ${SRCS.fc-cache} ${SRCS.fontconfig} ${SRCS.freetype} ${SRCS.expat}
9090

9191
# XXX FONTCONFIG_PATH was arbitrarily chosen
92-
HOST_CFLAGS= -std=c99
92+
HOST_CFLAGS= -std=gnu99
9393
HOST_CPPFLAGS= -DFONTCONFIG_PATH='"${DESTDIR}/etc/X11/fonts"' \
9494
-DFC_DEFAULT_FONTS='"${X11FONTDIR}/Type1"' \
9595
-DFC_TEMPLATEDIR='"${DESTDIR}${X11FONTDIR}"' \

0 commit comments

Comments
 (0)