Module Name:src
Committed By: mrg
Date: Fri Sep 9 03:46:29 UTC 2022
Modified Files:
src/external/mit/xorg/lib/libFS: Makefile
Log Message:
updates for libFS 1.0.9.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/lib/libFS/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/mit/xorg/lib/libFS/Makefile
diff -u src/external/mit/xorg/lib/libFS/Makefile:1.3 src/external/mit/xorg/lib/libFS/Makefile:1.4
--- src/external/mit/xorg/lib/libFS/Makefile:1.3 Wed Apr 4 10:59:45 2012
+++ src/external/mit/xorg/lib/libFS/Makefile Fri Sep 9 03:46:29 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2012/04/04 10:59:45 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2022/09/09 03:46:29 mrg Exp $
.include
@@ -17,8 +17,12 @@ CWARNFLAGS.clang+= -Wno-string-plus-int
INCS= FSlib.h
INCSDIR=${X11INCDIR}/X11/fonts
-CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/fonts
-CPPFLAGS+= -I${X11SRCDIR.${LIB}}/../include
+CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/fonts \
+ -D_OPENBSD_SOURCE \
+ -DHAVE_REALLOCARRAY \
+ -DHAVE_STRNLEN \
+ -DHAVE_STRLCPY \
+ -DHAVE_SETENV
CONN_DEFINES = ${X11FLAGS.CONNECTION} -DFS_t -DTRANS_CLIENT
SOCK_DEFINES = -DBSD44SOCKETS