Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/lib/libXfont2 fix defines no longer provid...



details:   https://anonhg.NetBSD.org/src/rev/2fb399422f13
branches:  trunk
changeset: 370063:2fb399422f13
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Sep 14 07:37:05 2022 +0000

description:
fix defines no longer provided by config.h.

fixes eg, missing "10x20" font for me, but does require fc-cache
and X restarting to fix.

diffstat:

 external/mit/xorg/lib/libXfont2/Makefile |  16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r b5d8ea333915 -r 2fb399422f13 external/mit/xorg/lib/libXfont2/Makefile
--- a/external/mit/xorg/lib/libXfont2/Makefile  Wed Sep 14 05:55:08 2022 +0000
+++ b/external/mit/xorg/lib/libXfont2/Makefile  Wed Sep 14 07:37:05 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2022/09/09 03:56:39 mrg Exp $
+#      $NetBSD: Makefile,v 1.10 2022/09/14 07:37:05 mrg Exp $
 
 USE_FORT?=     yes # data-driven bugs?
 
@@ -103,20 +103,26 @@
 INCSDIR=${X11INCDIR}/X11/fonts
 
 CPPFLAGS+=     ${X11FLAGS.THREADLIB} ${X11FLAGS.CONNECTION}
-CPPFLAGS+=     -DHAS_SNPRINTF
+CPPFLAGS+=     -DHAVE_STRLCPY
 CPPFLAGS+=     -DHAVE_REALLOCARRAY -D_OPENBSD_SOURCE
 CPPFLAGS+=     -DHAVE_READLINK
 CPPFLAGS+=     -DHAVE_STDINT_H
 CPPFLAGS+=     -DHAVE_STRLCPY
 CPPFLAGS+=     -DHAVE_ERR_H
 CPPFLAGS+=     -DHAVE_REALPATH
-CPPFLAGS+=     -DHAS_SNPRINTF
-CPPFLAGS+=      -DBDFFORMAT -DSNFFORMAT -DPCFFORMAT -DX_GZIP_FONT_COMPRESSION -DX_BZIP2_FONT_COMPRESSION
+CPPFLAGS+=     -DXFONT_BDFFORMAT
+CPPFLAGS+=     -DXFONT_BITMAP
+CPPFLAGS+=     -DXFONT_BUILTINS
+CPPFLAGS+=     -DXFONT_FC
+CPPFLAGS+=     -DXFONT_FONTFILE
+CPPFLAGS+=     -DXFONT_FREETYPE
+CPPFLAGS+=     -DXFONT_PCFFORMAT
+CPPFLAGS+=     -DX_GZIP_FONT_COMPRESSION
+CPPFLAGS+=     -DX_BZIP2_FONT_COMPRESSION
 CPPFLAGS+=     -DFONT_ENCODINGS_DIRECTORY=\"${X11LIBDIR}/X11/fonts/encodings/encodings.dir\" 
 CPPFLAGS+=     -I${XFONT2DIR}/src/stubs
 CPPFLAGS+=     -I${XFONT2DIR}
 CPPFLAGS+=     -I${XFONT2DIR}/include
-CPPFLAGS+=     -I${XFONT2DIR}/../include
 CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}
 CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/X11/fonts
 CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/freetype2



Home | Main Index | Thread Index | Old Index