re: CVS commit: src/external/mit/xorg/server/drivers/xf86-video-nv

2024-07-23 Thread matthew green
"Taylor R Campbell" writes:
> Module Name:  src
> Committed By: riastradh
> Date: Tue Jul 23 07:52:06 UTC 2024
>
> Modified Files:
>   src/external/mit/xorg/server/drivers/xf86-video-nv: Makefile
>
> Log Message:
> xf86-video-nv: Don't fail on -Wpointer-sign with clang.
>
> Not sure why this isn't disabled by default (surely this very old
> code hasn't been clean for it in a long time?), but with any luck
> this should resolve clang build failures like:

thanks.

may as well revert the attempt(s) to avoid this warning in the
code now.

it was updated recently, actually, and this specific line changed
in upstream and needed a merge, and then i had one attempt to fix
the warning that clearly didn't work.


.mrg.


CVS commit: src/external/mit/xorg/server/drivers/xf86-video-nv

2024-07-23 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jul 23 07:52:06 UTC 2024

Modified Files:
src/external/mit/xorg/server/drivers/xf86-video-nv: Makefile

Log Message:
xf86-video-nv: Don't fail on -Wpointer-sign with clang.

Not sure why this isn't disabled by default (surely this very old
code hasn't been clean for it in a long time?), but with any luck
this should resolve clang build failures like:

/home/source/ab/HEAD-llvm/xsrc/external/mit/xf86-video-nv/dist/src/nv_driver.c:1557:40:
 error: passing 'char *' to parameter of type 'CARD8 *' (aka 'unsigned char *') 
converts between pointers to integer types where one is of the unique plain 
'char' type and the other is not [-Werror,-Wpointer-sign]
vgaHWSetMmioFuncs(VGAHWPTR(pScrn), (char *)pNv->IOAddress, 0);
   ^~
/home/builds/ab/HEAD-llvm/macppc/202407182350Z-dest/usr/X11R7/include/xorg/vgaHW.h:189:62:
 note: passing argument to parameter 'base' here
extern _X_EXPORT void vgaHWSetMmioFuncs(vgaHWPtr hwp, CARD8 *base, int offset);
 ^
1 error generated.
--- nv_driver.pico ---
*** Failed target: nv_driver.pico
*** In directory: 
/home/source/ab/HEAD-llvm/src/external/mit/xorg/server/drivers/xf86-video-nv


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 \
src/external/mit/xorg/server/drivers/xf86-video-nv/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/server/drivers/xf86-video-nv

2024-07-23 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Jul 23 07:52:06 UTC 2024

Modified Files:
src/external/mit/xorg/server/drivers/xf86-video-nv: Makefile

Log Message:
xf86-video-nv: Don't fail on -Wpointer-sign with clang.

Not sure why this isn't disabled by default (surely this very old
code hasn't been clean for it in a long time?), but with any luck
this should resolve clang build failures like:

/home/source/ab/HEAD-llvm/xsrc/external/mit/xf86-video-nv/dist/src/nv_driver.c:1557:40:
 error: passing 'char *' to parameter of type 'CARD8 *' (aka 'unsigned char *') 
converts between pointers to integer types where one is of the unique plain 
'char' type and the other is not [-Werror,-Wpointer-sign]
vgaHWSetMmioFuncs(VGAHWPTR(pScrn), (char *)pNv->IOAddress, 0);
   ^~
/home/builds/ab/HEAD-llvm/macppc/202407182350Z-dest/usr/X11R7/include/xorg/vgaHW.h:189:62:
 note: passing argument to parameter 'base' here
extern _X_EXPORT void vgaHWSetMmioFuncs(vgaHWPtr hwp, CARD8 *base, int offset);
 ^
1 error generated.
--- nv_driver.pico ---
*** Failed target: nv_driver.pico
*** In directory: 
/home/source/ab/HEAD-llvm/src/external/mit/xorg/server/drivers/xf86-video-nv


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 \
src/external/mit/xorg/server/drivers/xf86-video-nv/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/server/drivers/xf86-video-nv/Makefile
diff -u src/external/mit/xorg/server/drivers/xf86-video-nv/Makefile:1.14 src/external/mit/xorg/server/drivers/xf86-video-nv/Makefile:1.15
--- src/external/mit/xorg/server/drivers/xf86-video-nv/Makefile:1.14	Mon Dec 31 12:13:50 2018
+++ src/external/mit/xorg/server/drivers/xf86-video-nv/Makefile	Tue Jul 23 07:52:06 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2018/12/31 12:13:50 mrg Exp $
+#	$NetBSD: Makefile,v 1.15 2024/07/23 07:52:06 riastradh Exp $
 
 DRIVER=		xf86-video-nv
 DRIVER_NAME=	nv_drv
@@ -33,6 +33,7 @@ CPPFLAGS+= -DAVOID_VGAHW
 # XXX
 COPTS+=		${${ACTIVE_CC} == "gcc":? -Wno-error=cpp :}
 COPTS+=		${${ACTIVE_CC} == "clang":? -Wno-error=\#warnings :}
+COPTS+=		${${ACTIVE_CC} == "clang":? -Wno-error=pointer-sign :}
 
 COPTS.g80_dac.c+=		-Wno-error	# XXX deprecated
 



CVS commit: src/external/mit/xorg/lib/fontconfig/src

2024-07-21 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 21 08:04:06 UTC 2024

Modified Files:
src/external/mit/xorg/lib/fontconfig/src: Makefile

Log Message:
fontconfig: suppress lint warning about integer overflow in constants

The large table in fclang.h uses negative offsets intentionally.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/external/mit/xorg/lib/fontconfig/src/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/fontconfig/src/Makefile
diff -u src/external/mit/xorg/lib/fontconfig/src/Makefile:1.29 src/external/mit/xorg/lib/fontconfig/src/Makefile:1.30
--- src/external/mit/xorg/lib/fontconfig/src/Makefile:1.29	Wed Jan 25 22:35:06 2023
+++ src/external/mit/xorg/lib/fontconfig/src/Makefile	Sun Jul 21 08:04:05 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.29 2023/01/25 22:35:06 christos Exp $
+#	$NetBSD: Makefile,v 1.30 2024/07/21 08:04:05 rillig Exp $
 
 .include 
 
@@ -331,6 +331,7 @@ COPTS.fcstr.c+=	${${ACTIVE_CC} == "clang
 .endif
 
 LINTFLAGS+=-DFC_NO_MT
+LINTFLAGS.fclang.c+=	-X 141	# 'a - b' overflows 'unsigned long'
 
 LIBUUID_DIST=	${NETBSDSRCDIR}/external/bsd/libuuid_ul/lib/libuuid_ul
 .include "${LIBUUID_DIST}/srcs.mk"



CVS commit: src/external/mit/xorg/lib/fontconfig/src

2024-07-21 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 21 08:04:06 UTC 2024

Modified Files:
src/external/mit/xorg/lib/fontconfig/src: Makefile

Log Message:
fontconfig: suppress lint warning about integer overflow in constants

The large table in fclang.h uses negative offsets intentionally.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/external/mit/xorg/lib/fontconfig/src/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/bin/xeyes

2024-07-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jul  8 01:06:57 UTC 2024

Modified Files:
src/external/mit/xorg/bin/xeyes: Makefile

Log Message:
fix SSP build.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/bin/xeyes/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/bin/xeyes

2024-07-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jul  8 01:06:57 UTC 2024

Modified Files:
src/external/mit/xorg/bin/xeyes: Makefile

Log Message:
fix SSP build.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/bin/xeyes/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/bin/xeyes/Makefile
diff -u src/external/mit/xorg/bin/xeyes/Makefile:1.6 src/external/mit/xorg/bin/xeyes/Makefile:1.7
--- src/external/mit/xorg/bin/xeyes/Makefile:1.6	Wed Jul  3 20:33:28 2024
+++ src/external/mit/xorg/bin/xeyes/Makefile	Sun Jul  7 21:06:57 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2024/07/04 00:33:28 mrg Exp $
+#	$NetBSD: Makefile,v 1.7 2024/07/08 01:06:57 christos Exp $
 
 .include 
 
@@ -15,6 +15,8 @@ DPADD+=	${LIBXMU} ${LIBXT} ${LIBSM} ${LI
 
 CPPFLAGS+=	-DPACKAGE_STRING=\"${PACKAGE_STRING}\"
 
+COPTS.Eyes.c += -Wno-error=stack-protector
+
 .PATH:	${X11SRCDIR.${PROG}}
 .PATH:	${X11SRCDIR.${PROG}}/man
 



CVS commit: src/external/mit/xorg/bin/xkbcomp

2024-07-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jul  4 08:27:05 UTC 2024

Modified Files:
src/external/mit/xorg/bin/xkbcomp: Makefile

Log Message:
define HAVE_ASPRINTF.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/external/mit/xorg/bin/xkbcomp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/bin/xkbcomp

2024-07-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jul  4 08:27:05 UTC 2024

Modified Files:
src/external/mit/xorg/bin/xkbcomp: Makefile

Log Message:
define HAVE_ASPRINTF.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/external/mit/xorg/bin/xkbcomp/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/bin/xkbcomp/Makefile
diff -u src/external/mit/xorg/bin/xkbcomp/Makefile:1.11 src/external/mit/xorg/bin/xkbcomp/Makefile:1.12
--- src/external/mit/xorg/bin/xkbcomp/Makefile:1.11	Mon Apr 20 13:04:10 2020
+++ src/external/mit/xorg/bin/xkbcomp/Makefile	Thu Jul  4 08:27:04 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.11 2020/04/20 13:04:10 joerg Exp $
+#	$NetBSD: Makefile,v 1.12 2024/07/04 08:27:04 mrg Exp $
 
 .include 
 .include "Makefile.common"
@@ -13,6 +13,7 @@ CPPFLAGS.xkbpath.c=	-DDFLT_XKB_CONFIG_RO
 
 CPPFLAGS+=		-I${X11SRCDIR.${PROG}}
 CPPFLAGS+=		-DHAVE_STRDUP -DHAVE_STRCASECMP
+CPPFLAGS+=		-DHAVE_ASPRINTF
 CPPFLAGS.geometry.c=	-Wno-error	# XXX
 COPTS.xkbscan.c+=	-Wno-stack-protector
 



CVS commit: src/external/mit/xorg/server/drivers/xf86-video-vboxvideo

2024-07-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jul  4 07:49:16 UTC 2024

Modified Files:
src/external/mit/xorg/server/drivers/xf86-video-vboxvideo: Makefile

Log Message:
helpers.c no longer exists (it was unused anyway.)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/external/mit/xorg/server/drivers/xf86-video-vboxvideo/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/server/drivers/xf86-video-vboxvideo/Makefile
diff -u src/external/mit/xorg/server/drivers/xf86-video-vboxvideo/Makefile:1.1 src/external/mit/xorg/server/drivers/xf86-video-vboxvideo/Makefile:1.2
--- src/external/mit/xorg/server/drivers/xf86-video-vboxvideo/Makefile:1.1	Thu Jan 10 00:05:57 2019
+++ src/external/mit/xorg/server/drivers/xf86-video-vboxvideo/Makefile	Thu Jul  4 07:49:16 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2019/01/10 00:05:57 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2024/07/04 07:49:16 mrg Exp $
 
 DRIVER=		xf86-video-vboxvideo
 DRIVER_NAME=	vboxvideo_drv
@@ -11,7 +11,6 @@ SRCS=	 \
 		VBVABase.c \
 		edid.c \
 		getmode.c \
-		helpers.c \
 		hgsmimemalloc.c \
 		pointer.c \
 		setmode.c \



CVS commit: src/external/mit/xorg/server/drivers/xf86-video-vboxvideo

2024-07-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jul  4 07:49:16 UTC 2024

Modified Files:
src/external/mit/xorg/server/drivers/xf86-video-vboxvideo: Makefile

Log Message:
helpers.c no longer exists (it was unused anyway.)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/external/mit/xorg/server/drivers/xf86-video-vboxvideo/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/bin

2024-07-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jul  4 01:02:24 UTC 2024

Modified Files:
src/external/mit/xorg/bin/iceauth: Makefile
src/external/mit/xorg/bin/xfontsel: Makefile
src/external/mit/xorg/bin/xlsfonts: Makefile
src/external/mit/xorg/bin/xsm: Makefile

Log Message:
updates for iceauth 1.0.10, xlsfonts 1.0.8, xfontsel 1.1.1, and xsm 1.0.6.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/bin/iceauth/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/bin/xfontsel/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/bin/xlsfonts/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/bin/xsm/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/bin/iceauth/Makefile
diff -u src/external/mit/xorg/bin/iceauth/Makefile:1.4 src/external/mit/xorg/bin/iceauth/Makefile:1.5
--- src/external/mit/xorg/bin/iceauth/Makefile:1.4	Mon Jul 20 23:50:23 2015
+++ src/external/mit/xorg/bin/iceauth/Makefile	Thu Jul  4 01:02:24 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2015/07/20 23:50:23 mrg Exp $
+#	$NetBSD: Makefile,v 1.5 2024/07/04 01:02:24 mrg Exp $
 
 .include 
 
@@ -8,6 +8,8 @@ SRCS=	iceauth.c process.c
 LDADD+=	-lICE
 DPADD+=	${LIBICE}
 
+CPPFLAGS+=	-DHAVE_REALLOCARRAY
+
 .PATH:	${X11SRCDIR.${PROG}} ${X11SRCDIR.${PROG}}/man
 
 .include "../../xorg-pkg-ver.mk"

Index: src/external/mit/xorg/bin/xfontsel/Makefile
diff -u src/external/mit/xorg/bin/xfontsel/Makefile:1.3 src/external/mit/xorg/bin/xfontsel/Makefile:1.4
--- src/external/mit/xorg/bin/xfontsel/Makefile:1.3	Fri May 31 07:22:21 2013
+++ src/external/mit/xorg/bin/xfontsel/Makefile	Thu Jul  4 01:02:24 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2013/05/31 07:22:21 mrg Exp $
+#	$NetBSD: Makefile,v 1.4 2024/07/04 01:02:24 mrg Exp $
 
 .include 
 
@@ -7,9 +7,12 @@ SRCS=	xfontsel.c ULabel.c
 
 APPDEFS=XFontSel
 
-LDADD+=	-lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11
+LDADD+=	-lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lintl
 DPADD+=	${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
-	${LIBXPM} ${LIBXEXT} ${LIBX11}
+	${LIBXPM} ${LIBXEXT} ${LIBX11} ${LIBINTL}
+
+CPPFLAGS+=	-DUSE_GETTEXT -DLOCALEDIR=\"${LOCALEDIR}\"
+CPPFLAGS+=	-DPACKAGE_STRING=\"${PACKAGE_STRING}\"
 
 .PATH:	${X11SRCDIR.${PROG}} ${X11SRCDIR.${PROG}}/app-defaults
 .PATH:	${X11SRCDIR.${PROG}}/man

Index: src/external/mit/xorg/bin/xlsfonts/Makefile
diff -u src/external/mit/xorg/bin/xlsfonts/Makefile:1.3 src/external/mit/xorg/bin/xlsfonts/Makefile:1.4
--- src/external/mit/xorg/bin/xlsfonts/Makefile:1.3	Mon Jul 20 03:12:57 2015
+++ src/external/mit/xorg/bin/xlsfonts/Makefile	Thu Jul  4 01:02:24 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2015/07/20 03:12:57 mrg Exp $
+#	$NetBSD: Makefile,v 1.4 2024/07/04 01:02:24 mrg Exp $
 
 .include 
 
@@ -8,6 +8,8 @@ SRCS=	xlsfonts.c dsimple.c
 LDADD+=	-lXext -lX11
 DPADD+=	${LIBXEXT} ${LIBX11}
 
+CPPFLAGS+=-DHAVE_REALLOCARRAY
+
 .PATH:	${X11SRCDIR.${PROG}}
 .PATH:	${X11SRCDIR.${PROG}}/man
 

Index: src/external/mit/xorg/bin/xsm/Makefile
diff -u src/external/mit/xorg/bin/xsm/Makefile:1.4 src/external/mit/xorg/bin/xsm/Makefile:1.5
--- src/external/mit/xorg/bin/xsm/Makefile:1.4	Mon Apr 26 22:04:51 2021
+++ src/external/mit/xorg/bin/xsm/Makefile	Thu Jul  4 01:02:24 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2021/04/26 22:04:51 mrg Exp $
+#	$NetBSD: Makefile,v 1.5 2024/07/04 01:02:24 mrg Exp $
 
 .include 
 
@@ -12,6 +12,7 @@ XSMDIR=	${X11ETCDIR}/xsm
 CPPFLAGS+=-DHAVE_MKSTEMP -DHAVE_PUTENV
 CPPFLAGS.remote.c=	-DRSHCMD=\"ssh\"
 CPPFLAGS.restart.c=	-DSYSTEM_INIT_FILE=\"${XSMDIR}/system.xsm\"
+CPPFLAGS+=		-DPACKAGE_STRING=\"${PACKAGE_STRING}\"
 
 CONFIGFILES=	system.xsm
 FILESDIR=	${XSMDIR}



CVS commit: src/external/mit/xorg/bin

2024-07-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jul  4 01:02:24 UTC 2024

Modified Files:
src/external/mit/xorg/bin/iceauth: Makefile
src/external/mit/xorg/bin/xfontsel: Makefile
src/external/mit/xorg/bin/xlsfonts: Makefile
src/external/mit/xorg/bin/xsm: Makefile

Log Message:
updates for iceauth 1.0.10, xlsfonts 1.0.8, xfontsel 1.1.1, and xsm 1.0.6.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/bin/iceauth/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/bin/xfontsel/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/bin/xlsfonts/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/bin/xsm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/bin/xload

2024-07-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jul  4 00:34:55 UTC 2024

Modified Files:
src/external/mit/xorg/bin/xload: Makefile

Log Message:
turn on gettext.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/bin/xload/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/bin/xload

2024-07-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jul  4 00:34:55 UTC 2024

Modified Files:
src/external/mit/xorg/bin/xload: Makefile

Log Message:
turn on gettext.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/bin/xload/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/bin/xload/Makefile
diff -u src/external/mit/xorg/bin/xload/Makefile:1.6 src/external/mit/xorg/bin/xload/Makefile:1.7
--- src/external/mit/xorg/bin/xload/Makefile:1.6	Thu Jul  4 00:33:28 2024
+++ src/external/mit/xorg/bin/xload/Makefile	Thu Jul  4 00:34:54 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2024/07/04 00:33:28 mrg Exp $
+#	$NetBSD: Makefile,v 1.7 2024/07/04 00:34:54 mrg Exp $
 
 .include 
 
@@ -9,15 +9,13 @@ CPPFLAGS+=${X11FLAGS.VERSION} -DHAVE_GET
 	-DHAVE_ASPRINTF \
 	-DHAVE_PROTOCOLS_RWHOD_H \
 	-DPACKAGE_STRING=\"${PACKAGE_STRING}\"
-#CPPFLAGS+=-DUSE_GETTEXT
+CPPFLAGS+=-DUSE_GETTEXT -DLOCALEDIR=\"${LOCALEDIR}\"
 
 APPDEFS=XLoad
 
-LDADD+=	-lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11
-#LDADD+=	-lintl
+LDADD+=	-lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lintl
 DPADD+=	${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
-	${LIBXPM} ${LIBXEXT} ${LIBX11}
-#DPADD+=	${LIBINTL}
+	${LIBXPM} ${LIBXEXT} ${LIBX11} ${LIBINTL}
 
 .PATH:	${X11SRCDIR.${PROG}} ${X11SRCDIR.${PROG}}/app-defaults
 .PATH:	${X11SRCDIR.${PROG}}/man



CVS commit: src/external/mit/xorg/bin

2024-07-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jul  4 00:33:28 UTC 2024

Modified Files:
src/external/mit/xorg/bin/xbiff: Makefile
src/external/mit/xorg/bin/xconsole: Makefile
src/external/mit/xorg/bin/xditview: Makefile
src/external/mit/xorg/bin/xedit/xedit: Makefile
src/external/mit/xorg/bin/xeyes: Makefile
src/external/mit/xorg/bin/xload: Makefile
src/external/mit/xorg/bin/xmessage: Makefile
src/external/mit/xorg/bin/xmore: Makefile

Log Message:
updates for xbiff 1.0.5, xconsole 1.1.0, xditview 1.0.7, xedit 1.2.4,
xev 1.2.6, xeyes 1.3.0, xload 1.2.0, xmessage 1.0.7, and xmore 1.0.4.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/bin/xbiff/Makefile
cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/bin/xconsole/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/bin/xditview/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/bin/xedit/xedit/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/bin/xeyes/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/bin/xload/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/bin/xmessage/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/bin/xmore/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/bin/xbiff/Makefile
diff -u src/external/mit/xorg/bin/xbiff/Makefile:1.3 src/external/mit/xorg/bin/xbiff/Makefile:1.4
--- src/external/mit/xorg/bin/xbiff/Makefile:1.3	Mon Jul 15 05:41:16 2019
+++ src/external/mit/xorg/bin/xbiff/Makefile	Thu Jul  4 00:33:27 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2019/07/15 05:41:16 mrg Exp $
+#	$NetBSD: Makefile,v 1.4 2024/07/04 00:33:27 mrg Exp $
 
 .include 
 
@@ -11,6 +11,7 @@ DPADD+=	${LIBXEXT} ${LIBXAW} ${LIBXMU} $
 
 CPPFLAGS+=	-I${X11SRCDIR.${PROG}}/../include
 CPPFLAGS+=	-D_CONST_X_STRING
+CPPFLAGS+=	-DPACKAGE_STRING=\"${PACKAGE_STRING}\"
 
 .PATH:	${X11SRCDIR.${PROG}}
 .PATH:	${X11SRCDIR.${PROG}}/man

Index: src/external/mit/xorg/bin/xconsole/Makefile
diff -u src/external/mit/xorg/bin/xconsole/Makefile:1.6 src/external/mit/xorg/bin/xconsole/Makefile:1.7
--- src/external/mit/xorg/bin/xconsole/Makefile:1.6	Sat Jun  3 09:09:07 2023
+++ src/external/mit/xorg/bin/xconsole/Makefile	Thu Jul  4 00:33:27 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2023/06/03 09:09:07 lukem Exp $
+#	$NetBSD: Makefile,v 1.7 2024/07/04 00:33:27 mrg Exp $
 
 .include 
 
@@ -14,6 +14,7 @@ DPADD+=	${LIBUTIL} ${LIBXAW} ${LIBXMU} $
 .PATH:	${X11SRCDIR.${PROG}}/man
 
 CPPFLAGS+=-DHAS_OPENPTY -DHAVE_UTIL_H
+CPPFLAGS+=-DPACKAGE_STRING=\"${PACKAGE_STRING}\"
 
 COPTS.xconsole.c+=		${CC_WNO_STRINGOP_OVERFLOW}
 

Index: src/external/mit/xorg/bin/xditview/Makefile
diff -u src/external/mit/xorg/bin/xditview/Makefile:1.5 src/external/mit/xorg/bin/xditview/Makefile:1.6
--- src/external/mit/xorg/bin/xditview/Makefile:1.5	Sun Oct 16 23:38:02 2022
+++ src/external/mit/xorg/bin/xditview/Makefile	Thu Jul  4 00:33:28 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2022/10/16 23:38:02 mrg Exp $
+#	$NetBSD: Makefile,v 1.6 2024/07/04 00:33:28 mrg Exp $
 
 .include 
 
@@ -10,6 +10,7 @@ CPPFLAGS+=	-D_CONST_X_STRING
 CPPFLAGS+=	-DHAS_MKSTEMP
 CPPFLAGS+=	-DUSE_XFT -DXFREE86_FT2 -I${DESTDIR}${X11INCDIR}/freetype2
 CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/freetype2/freetype
+CPPFLAGS+=	-DPACKAGE_STRING=\"${PACKAGE_STRING}\"
 
 APPDEFS=Xditview Xditview-chrtr
 

Index: src/external/mit/xorg/bin/xedit/xedit/Makefile
diff -u src/external/mit/xorg/bin/xedit/xedit/Makefile:1.5 src/external/mit/xorg/bin/xedit/xedit/Makefile:1.6
--- src/external/mit/xorg/bin/xedit/xedit/Makefile:1.5	Sun Jul 19 19:49:18 2015
+++ src/external/mit/xorg/bin/xedit/xedit/Makefile	Thu Jul  4 00:33:28 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2015/07/19 19:49:18 mrg Exp $
+#	$NetBSD: Makefile,v 1.6 2024/07/04 00:33:28 mrg Exp $
 
 .include 
 
@@ -8,6 +8,7 @@ SRCS=		xedit.c commands.c util.c ispell.
 
 CPPFLAGS+=	-I${X11SRCDIR.xedit}/lisp/re
 CPPFLAGS+=	-DHAVE_GETPAGESIZE
+CPPFLAGS+=	-DPACKAGE_STRING=\"${PACKAGE_STRING}\"
 
 APPDEFS=	Xedit Xedit-color
 

Index: src/external/mit/xorg/bin/xeyes/Makefile
diff -u src/external/mit/xorg/bin/xeyes/Makefile:1.5 src/external/mit/xorg/bin/xeyes/Makefile:1.6
--- src/external/mit/xorg/bin/xeyes/Makefile:1.5	Sun Dec 25 23:05:58 2022
+++ src/external/mit/xorg/bin/xeyes/Makefile	Thu Jul  4 00:33:28 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2022/12/25 23:05:58 christos Exp $
+#	$NetBSD: Makefile,v 1.6 2024/07/04 00:33:28 mrg Exp $
 
 .include 
 
@@ -13,6 +13,8 @@ DPADD+=	${LIBXMU} ${LIBXT} ${LIBSM} ${LI
 	${LIBXCB_XFIXES} ${LIBXCB_DAMAGE} ${LIBXCB_PRESENT} ${LIBX11_XCB} \
 	${LIBXCB}
 
+CPPFLAGS+=	-DPACKAGE_STRING=\"${PACKAGE_STRING}\"
+
 .PATH:	${X11SRCDIR.${PROG}}
 .PATH:	${X11SRCDIR.${PROG}}/man
 

Index: src/external/mit/xorg/bin/xload/Makefile
diff -u src/external/mit/xorg/bin/xload/Makefile:1.5 

CVS commit: src/external/mit/xorg/bin

2024-07-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jul  4 00:33:28 UTC 2024

Modified Files:
src/external/mit/xorg/bin/xbiff: Makefile
src/external/mit/xorg/bin/xconsole: Makefile
src/external/mit/xorg/bin/xditview: Makefile
src/external/mit/xorg/bin/xedit/xedit: Makefile
src/external/mit/xorg/bin/xeyes: Makefile
src/external/mit/xorg/bin/xload: Makefile
src/external/mit/xorg/bin/xmessage: Makefile
src/external/mit/xorg/bin/xmore: Makefile

Log Message:
updates for xbiff 1.0.5, xconsole 1.1.0, xditview 1.0.7, xedit 1.2.4,
xev 1.2.6, xeyes 1.3.0, xload 1.2.0, xmessage 1.0.7, and xmore 1.0.4.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/bin/xbiff/Makefile
cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/bin/xconsole/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/bin/xditview/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/bin/xedit/xedit/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/bin/xeyes/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/bin/xload/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/bin/xmessage/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/bin/xmore/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/bin

2024-07-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jul  3 09:37:48 UTC 2024

Modified Files:
src/external/mit/xorg/bin/editres: Makefile
src/external/mit/xorg/bin/listres: Makefile

Log Message:
adjust for new editres and listres.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/bin/editres/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/bin/listres/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/bin/editres/Makefile
diff -u src/external/mit/xorg/bin/editres/Makefile:1.3 src/external/mit/xorg/bin/editres/Makefile:1.4
--- src/external/mit/xorg/bin/editres/Makefile:1.3	Fri May 31 05:24:49 2013
+++ src/external/mit/xorg/bin/editres/Makefile	Wed Jul  3 09:37:48 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2013/05/31 05:24:49 mrg Exp $
+#	$NetBSD: Makefile,v 1.4 2024/07/03 09:37:48 mrg Exp $
 
 .include 
 
@@ -8,9 +8,13 @@ SRCS=	actions.c comm.c editres.c geometr
 
 APPDEFS=Editres.ad Editres-color.ad
 
-LDADD+=	-lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11
+LDADD+=	-lXaw -lXmu -lXt -lSM -lICE -lXpm -lxkbfile -lXext -lX11
 DPADD+=	${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
-	${LIBXPM} ${LIBXEXT} ${LIBX11}
+	${LIBXPM} ${LIBXKBFILE} ${LIBXEXT} ${LIBX11}
+LDADD+=	-lXrandr -lxkbfile -lXext -lX11
+DPADD+=	${LIBXRANDR} ${LIBXKBFILE} ${LIBXEXT} ${LIBX11}
+
+CPPFLAGS+=	-DXKB -DPACKAGE_STRING=\"${PACKAGE_STRING}\"
 
 .PATH:	${X11SRCDIR.${PROG}}
 .PATH:	${X11SRCDIR.${PROG}}/man

Index: src/external/mit/xorg/bin/listres/Makefile
diff -u src/external/mit/xorg/bin/listres/Makefile:1.2 src/external/mit/xorg/bin/listres/Makefile:1.3
--- src/external/mit/xorg/bin/listres/Makefile:1.2	Fri May 31 05:24:49 2013
+++ src/external/mit/xorg/bin/listres/Makefile	Wed Jul  3 09:37:48 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2013/05/31 05:24:49 mrg Exp $
+#	$NetBSD: Makefile,v 1.3 2024/07/03 09:37:48 mrg Exp $
 
 .include 
 
@@ -8,6 +8,8 @@ LDADD+=	-lXaw -lXmu -lXt -lSM -lICE -lXp
 DPADD+=	${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
 	${LIBXPM} ${LIBXEXT} ${LIBX11}
 
+CPPFLAGS+=	-DPACKAGE_STRING=\"${PACKAGE_STRING}\"
+
 .PATH:	${X11SRCDIR.${PROG}}
 .PATH:	${X11SRCDIR.${PROG}}/man
 



CVS commit: src/external/mit/xorg/bin

2024-07-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jul  3 09:37:48 UTC 2024

Modified Files:
src/external/mit/xorg/bin/editres: Makefile
src/external/mit/xorg/bin/listres: Makefile

Log Message:
adjust for new editres and listres.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/bin/editres/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/bin/listres/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/bin/bitmap

2024-07-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jul  3 09:30:22 UTC 2024

Modified Files:
src/external/mit/xorg/bin/bitmap: Makefile
src/external/mit/xorg/bin/bitmap/atobm: Makefile
src/external/mit/xorg/bin/bitmap/bmtoa: Makefile
Added Files:
src/external/mit/xorg/bin/bitmap: Makefile.common

Log Message:
adapt to new bitmap.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/bin/bitmap/Makefile
cvs rdiff -u -r0 -r1.1 src/external/mit/xorg/bin/bitmap/Makefile.common
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/mit/xorg/bin/bitmap/atobm/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/bin/bitmap/bmtoa/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/bin/bitmap/Makefile
diff -u src/external/mit/xorg/bin/bitmap/Makefile:1.5 src/external/mit/xorg/bin/bitmap/Makefile:1.6
--- src/external/mit/xorg/bin/bitmap/Makefile:1.5	Mon Jul 11 08:05:08 2022
+++ src/external/mit/xorg/bin/bitmap/Makefile	Wed Jul  3 09:30:22 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2022/07/11 08:05:08 mrg Exp $
+#	$NetBSD: Makefile,v 1.6 2024/07/03 09:30:22 mrg Exp $
 
 .include 
 
@@ -12,11 +12,7 @@ FILES=	Dashes Down Excl FlipHoriz FlipVe
 	RotateRight Stipple Term Up
 FILESDIR=${X11INCDIR}/X11/bitmaps
 
-CPPFLAGS+=	-DHAVE_MKSTEMP -DHAVE_LRINT
-
-LDADD+=	-lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lm
-DPADD+=	${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
-	${LIBXPM} ${LIBXEXT} ${LIBX11} ${LIBM}
+.include "Makefile.common"
 
 SUBDIR=	bmtoa atobm app-defaults
 

Index: src/external/mit/xorg/bin/bitmap/atobm/Makefile
diff -u src/external/mit/xorg/bin/bitmap/atobm/Makefile:1.1.1.1 src/external/mit/xorg/bin/bitmap/atobm/Makefile:1.2
--- src/external/mit/xorg/bin/bitmap/atobm/Makefile:1.1.1.1	Tue Jul 29 05:01:22 2008
+++ src/external/mit/xorg/bin/bitmap/atobm/Makefile	Wed Jul  3 09:30:22 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2024/07/03 09:30:22 mrg Exp $
 
 NOMAN=	1
 
@@ -6,9 +6,7 @@ NOMAN=	1
 
 PROG=	atobm
 
-LDADD+=	-lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lm
-DPADD+=	${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
-	${LIBXPM} ${LIBXEXT} ${LIBX11} ${LIBM}
+.include "../Makefile.common"
 
 .PATH:	${X11SRCDIR.bitmap}
 

Index: src/external/mit/xorg/bin/bitmap/bmtoa/Makefile
diff -u src/external/mit/xorg/bin/bitmap/bmtoa/Makefile:1.2 src/external/mit/xorg/bin/bitmap/bmtoa/Makefile:1.3
--- src/external/mit/xorg/bin/bitmap/bmtoa/Makefile:1.2	Wed Apr 13 21:48:21 2016
+++ src/external/mit/xorg/bin/bitmap/bmtoa/Makefile	Wed Jul  3 09:30:22 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2016/04/13 21:48:21 christos Exp $
+#	$NetBSD: Makefile,v 1.3 2024/07/03 09:30:22 mrg Exp $
 
 NOMAN=	1
 
@@ -6,10 +6,7 @@ NOMAN=	1
 
 PROG=	bmtoa
 
-CPPFLAGS+=-DHAVE_MKSTEMP
-LDADD+=	-lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lm
-DPADD+=	${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
-	${LIBXPM} ${LIBXEXT} ${LIBX11} ${LIBM}
+.include "../Makefile.common"
 
 .PATH:	${X11SRCDIR.bitmap}
 

Added files:

Index: src/external/mit/xorg/bin/bitmap/Makefile.common
diff -u /dev/null src/external/mit/xorg/bin/bitmap/Makefile.common:1.1
--- /dev/null	Wed Jul  3 09:30:22 2024
+++ src/external/mit/xorg/bin/bitmap/Makefile.common	Wed Jul  3 09:30:22 2024
@@ -0,0 +1,9 @@
+#	$NetBSD: Makefile.common,v 1.1 2024/07/03 09:30:22 mrg Exp $
+
+# common makefile fragment for bitmap components
+
+LDADD+=	-lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lm
+DPADD+=	${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
+	${LIBXPM} ${LIBXEXT} ${LIBX11} ${LIBM}
+
+CPPFLAGS+=-DHAVE_MKSTEMP -DHAVE_LRINT -DPACKAGE_STRING=\"${PACKAGE_STRING}\"



CVS commit: src/external/mit/xorg/bin/bitmap

2024-07-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jul  3 09:30:22 UTC 2024

Modified Files:
src/external/mit/xorg/bin/bitmap: Makefile
src/external/mit/xorg/bin/bitmap/atobm: Makefile
src/external/mit/xorg/bin/bitmap/bmtoa: Makefile
Added Files:
src/external/mit/xorg/bin/bitmap: Makefile.common

Log Message:
adapt to new bitmap.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/bin/bitmap/Makefile
cvs rdiff -u -r0 -r1.1 src/external/mit/xorg/bin/bitmap/Makefile.common
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/mit/xorg/bin/bitmap/atobm/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/bin/bitmap/bmtoa/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib

2024-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jul  3 02:40:50 UTC 2024

Modified Files:
src/external/mit/xorg/lib: driver.mk

Log Message:
fix building armv6hf gallium.

as well as "-mfpu=neon", also pass "-march=armv7-a", which is necessary
to enable the NEON intrinsics.  while this won't be executed on armv6hf,
the code knows and only uses NEON if you have v7hf hardware.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/lib/driver.mk

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/driver.mk
diff -u src/external/mit/xorg/lib/driver.mk:1.7 src/external/mit/xorg/lib/driver.mk:1.8
--- src/external/mit/xorg/lib/driver.mk:1.7	Wed Jun  5 15:12:03 2024
+++ src/external/mit/xorg/lib/driver.mk	Wed Jul  3 02:40:50 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: driver.mk,v 1.7 2024/06/05 15:12:03 riastradh Exp $
+#	$NetBSD: driver.mk,v 1.8 2024/07/03 02:40:50 mrg Exp $
 
 # stuff both dri and gallium drivers need.
 
@@ -83,7 +83,7 @@ SRCS.format= \
 	u_format_table.c
 
 CPUFLAGS.u_format_unpack_neon.c+=	\
-	${${MACHINE_CPU} == "arm" && ${ACTIVE_CC} == "clang":?-mfpu=neon:}
+	${${MACHINE_CPU} == "arm" && ${ACTIVE_CC} == "clang":?-mfpu=neon -march=armv7-a:}
 
 .for _f in ${SRCS.format}
 CPPFLAGS.${_f} +=	-I${X11SRCDIR.Mesa}/src/util/format



CVS commit: src/external/mit/xorg/lib

2024-07-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jul  3 02:40:50 UTC 2024

Modified Files:
src/external/mit/xorg/lib: driver.mk

Log Message:
fix building armv6hf gallium.

as well as "-mfpu=neon", also pass "-march=armv7-a", which is necessary
to enable the NEON intrinsics.  while this won't be executed on armv6hf,
the code knows and only uses NEON if you have v7hf hardware.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/lib/driver.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/server/drivers

2024-06-22 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jun 22 23:21:56 UTC 2024

Modified Files:
src/external/mit/xorg/server/drivers: Makefile

Log Message:
normalise some comment styles.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/external/mit/xorg/server/drivers/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/server/drivers/Makefile
diff -u src/external/mit/xorg/server/drivers/Makefile:1.112 src/external/mit/xorg/server/drivers/Makefile:1.113
--- src/external/mit/xorg/server/drivers/Makefile:1.112	Sat Jun 22 23:20:39 2024
+++ src/external/mit/xorg/server/drivers/Makefile	Sat Jun 22 23:21:56 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.112 2024/06/22 23:20:39 mrg Exp $
+#	$NetBSD: Makefile,v 1.113 2024/06/22 23:21:56 mrg Exp $
 
 .include 
 
@@ -56,6 +56,8 @@ SUBDIR+= \
 	xf86-video-vesa \
 	xf86-video-wsfb
 
+# XXX add -qxl, also for arm?
+
 # needs porting for xorg-server 1.6
 #	xf86-video-imstt
 #	xf86-video-rendition
@@ -99,8 +101,18 @@ SUBDIR+= \
 	xf86-video-trident \
 	xf86-video-tseng \
 	xf86-video-wsfb
+
+# needs porting for xorg-server 1.6
 #	xf86-video-imstt
-# needs porting for xorg-server 1.18, and 21.1
+
+# needs porting for xorg-server 1.18
+#	xf86-video-apm
+#	xf86-video-glint
+
+# needs porting for xorg-server 21.1.3
+#	xf86-video-s3
+#	xf86-video-tga
+
 .if ${XORG_SERVER_SUBDIR} == "xorg-server.old"
 SUBDIR+= \
 	xf86-video-apm \
@@ -108,6 +120,7 @@ SUBDIR+= \
 	xf86-video-s3 \
 	xf86-video-tga
 .endif	# ${XORG_SERVER_SUBDIR} == "xorg-server.old"
+
 .endif	# ${MACHINE} == "alpha"
 
 .if ${MACHINE} == "amiga"
@@ -153,7 +166,7 @@ SUBDIR+= \
 #	xf86-video-tga
 
 # needs porting for xorg-server 1.18
-#	xf86-video-apm \
+#	xf86-video-apm
 #	xf86-video-glint
 
 .endif	# ${MACHINE} == "cats"
@@ -242,9 +255,11 @@ SUBDIR+= \
 	xf86-video-tdfx \
 	xf86-video-wsfb
 
+# needs porting for xorg-server 1.6
+#	xf86-video-imstt
+
 # needs porting for xorg-server 21.1.3
 #	xf86-video-glint
-#	xf86-video-imstt
 
 .endif	# ${MACHINE} == "macppc"
 



CVS commit: src/external/mit/xorg/server/drivers

2024-06-22 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jun 22 23:21:56 UTC 2024

Modified Files:
src/external/mit/xorg/server/drivers: Makefile

Log Message:
normalise some comment styles.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/external/mit/xorg/server/drivers/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib

2024-06-05 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jun  5 15:12:03 UTC 2024

Modified Files:
src/external/mit/xorg/lib: driver.mk

Log Message:
Mesa: Build u_format_unpack_neon.c with -mfpu=neon on clang arm32.

Attempting to address this failure in the clang build, without
breaking anything that's not clang and not arm32:

In file included from 
/home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/util/format/u_format_unpack_neon.c:35:
/home/builds/ab/HEAD-llvm/evbarm-earmv6hf/202406041020Z-obj/home/source/ab/HEAD-llvm/src/external/apache2/llvm/include/arm_neon.h:32:2:
 error: "NEON support not enabled"
#error "NEON support not enabled"
 ^


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/lib/driver.mk

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/driver.mk
diff -u src/external/mit/xorg/lib/driver.mk:1.6 src/external/mit/xorg/lib/driver.mk:1.7
--- src/external/mit/xorg/lib/driver.mk:1.6	Wed Nov 22 17:48:35 2023
+++ src/external/mit/xorg/lib/driver.mk	Wed Jun  5 15:12:03 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: driver.mk,v 1.6 2023/11/22 17:48:35 rjs Exp $
+#	$NetBSD: driver.mk,v 1.7 2024/06/05 15:12:03 riastradh Exp $
 
 # stuff both dri and gallium drivers need.
 
@@ -82,6 +82,9 @@ SRCS.format= \
 	u_format_zs.c \
 	u_format_table.c
 
+CPUFLAGS.u_format_unpack_neon.c+=	\
+	${${MACHINE_CPU} == "arm" && ${ACTIVE_CC} == "clang":?-mfpu=neon:}
+
 .for _f in ${SRCS.format}
 CPPFLAGS.${_f} +=	-I${X11SRCDIR.Mesa}/src/util/format
 CPPFLAGS.${_f} +=	-I${X11SRCDIR.Mesa}/../src/util/format



CVS commit: src/external/mit/xorg/lib

2024-06-05 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jun  5 15:12:03 UTC 2024

Modified Files:
src/external/mit/xorg/lib: driver.mk

Log Message:
Mesa: Build u_format_unpack_neon.c with -mfpu=neon on clang arm32.

Attempting to address this failure in the clang build, without
breaking anything that's not clang and not arm32:

In file included from 
/home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/util/format/u_format_unpack_neon.c:35:
/home/builds/ab/HEAD-llvm/evbarm-earmv6hf/202406041020Z-obj/home/source/ab/HEAD-llvm/src/external/apache2/llvm/include/arm_neon.h:32:2:
 error: "NEON support not enabled"
#error "NEON support not enabled"
 ^


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/lib/driver.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



re: CVS commit: src/external/mit/xorg/lib

2024-05-06 Thread matthew green
"Taylor R Campbell" writes:
> Module Name:  src
> Committed By: riastradh
> Date: Sun May  5 15:25:31 UTC 2024
>
> Modified Files:
>   src/external/mit/xorg/lib/dri: Makefile
>   src/external/mit/xorg/lib/dri.old: Makefile
>
> Log Message:
> mesa: Build with -Wno-error=typedef-redefinition.
>
> While here, use CWARNFLAGS.clang instead of an explicit conditional.
>
> In file included from 110_blorp_exec.c:33:
> In file included from 
> /home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/blorp/blorp_genX_exec.h:27:
> In file included from 
> /home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/blorp/blorp_priv.h:30:
> /home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir.h:3840:3:
>  error: redefinition of typedef 'nir_shader' is a C11 feature [-Werror
> ,-Wtypedef-redefinition]
> } nir_shader;
>   ^
> /home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/compiler/brw_compiler.h:41:27:
>  note: previous definition is here
> typedef struct nir_shader nir_shader;

actually, this really is a valid warning and the real fix is to not
compile this with -std=gnu99 (or is it gnu+99), but use the default
for some and maybe gnu++17 for some parts, going on what the real
build for this does.

not sure why you changed dri.old/Makefile.  it wasn't a problem.

i was testing the real fix and i'll revert these when it's in.


.mrg.


CVS commit: src/external/mit/xorg/lib

2024-05-05 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun May  5 15:25:31 UTC 2024

Modified Files:
src/external/mit/xorg/lib/dri: Makefile
src/external/mit/xorg/lib/dri.old: Makefile

Log Message:
mesa: Build with -Wno-error=typedef-redefinition.

While here, use CWARNFLAGS.clang instead of an explicit conditional.

In file included from 110_blorp_exec.c:33:
In file included from 
/home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/blorp/blorp_genX_exec.h:27:
In file included from 
/home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/blorp/blorp_priv.h:30:
/home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir.h:3840:3:
 error: redefinition of typedef 'nir_shader' is a C11 feature 
[-Werror,-Wtypedef-redefinition]
} nir_shader;
  ^
/home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/compiler/brw_compiler.h:41:27:
 note: previous definition is here
typedef struct nir_shader nir_shader;
  ^


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/external/mit/xorg/lib/dri/Makefile
cvs rdiff -u -r1.8 -r1.9 src/external/mit/xorg/lib/dri.old/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/dri/Makefile
diff -u src/external/mit/xorg/lib/dri/Makefile:1.41 src/external/mit/xorg/lib/dri/Makefile:1.42
--- src/external/mit/xorg/lib/dri/Makefile:1.41	Fri Apr 26 17:22:26 2024
+++ src/external/mit/xorg/lib/dri/Makefile	Sun May  5 15:25:31 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2024/04/26 17:22:26 rillig Exp $
+# $NetBSD: Makefile,v 1.42 2024/05/05 15:25:31 riastradh Exp $
 
 # Link the mesa_dri_drivers mega driver.
 
@@ -485,7 +485,8 @@ CPPFLAGS.streaming-load-memcpy.c+=	-msse
 CPPFLAGS.isl_tiled_memcpy_sse41.c+=	-msse4.1
 .endif
 
-CFLAGS+= ${${ACTIVE_CC} == "clang":? -Wno-error=atomic-alignment :}
+CWARNFLAGS.clang+=	-Wno-error=atomic-alignment
+CWARNFLAGS.clang+=	-Wno-error=typedef-redefinition
 
 .include "../driver.mk"
 

Index: src/external/mit/xorg/lib/dri.old/Makefile
diff -u src/external/mit/xorg/lib/dri.old/Makefile:1.8 src/external/mit/xorg/lib/dri.old/Makefile:1.9
--- src/external/mit/xorg/lib/dri.old/Makefile:1.8	Tue Aug  8 06:27:31 2023
+++ src/external/mit/xorg/lib/dri.old/Makefile	Sun May  5 15:25:31 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2023/08/08 06:27:31 mrg Exp $
+# $NetBSD: Makefile,v 1.9 2024/05/05 15:25:31 riastradh Exp $
 
 # Link the mesa_dri_drivers mega driver.
 
@@ -458,7 +458,8 @@ CPPFLAGS.streaming-load-memcpy.c+=	-msse
 CPPFLAGS.isl_tiled_memcpy_sse41.c+=	-msse4.1
 .endif
 
-CFLAGS+= ${${ACTIVE_CC} == "clang":? -Wno-error=atomic-alignment :}
+CWARNFLAGS.clang+=	-Wno-error=atomic-alignment
+CWARNFLAGS.clang+=	-Wno-error=typedef-redefinition
 
 .include "../driver${OLD_SUFFIX}.mk"
 



CVS commit: src/external/mit/xorg/lib

2024-05-05 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun May  5 15:25:31 UTC 2024

Modified Files:
src/external/mit/xorg/lib/dri: Makefile
src/external/mit/xorg/lib/dri.old: Makefile

Log Message:
mesa: Build with -Wno-error=typedef-redefinition.

While here, use CWARNFLAGS.clang instead of an explicit conditional.

In file included from 110_blorp_exec.c:33:
In file included from 
/home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/blorp/blorp_genX_exec.h:27:
In file included from 
/home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/blorp/blorp_priv.h:30:
/home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir.h:3840:3:
 error: redefinition of typedef 'nir_shader' is a C11 feature 
[-Werror,-Wtypedef-redefinition]
} nir_shader;
  ^
/home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/compiler/brw_compiler.h:41:27:
 note: previous definition is here
typedef struct nir_shader nir_shader;
  ^


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/external/mit/xorg/lib/dri/Makefile
cvs rdiff -u -r1.8 -r1.9 src/external/mit/xorg/lib/dri.old/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib/gallium

2024-05-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May  1 21:34:48 UTC 2024

Modified Files:
src/external/mit/xorg/lib/gallium: Makefile

Log Message:
Allow c99 array designators


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/external/mit/xorg/lib/gallium/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/gallium/Makefile
diff -u src/external/mit/xorg/lib/gallium/Makefile:1.54 src/external/mit/xorg/lib/gallium/Makefile:1.55
--- src/external/mit/xorg/lib/gallium/Makefile:1.54	Fri Apr 26 12:34:17 2024
+++ src/external/mit/xorg/lib/gallium/Makefile	Wed May  1 17:34:48 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2024/04/26 16:34:17 rillig Exp $
+# $NetBSD: Makefile,v 1.55 2024/05/01 21:34:48 christos Exp $
 
 # Link the gallium mega driver.
 
@@ -19,7 +19,7 @@ DRIDEBUGDIR=	${DEBUGDIR}${X11USRLIBDIR}/
 
 LLVM_INCLUDE_OBJDIR!=	cd ${NETBSDSRCDIR}/external/apache2/llvm/include && ${PRINTOBJDIR}
 
-CWARNFLAGS.clang += -Wno-atomic-alignment -Wno-unknown-warning-option -Wno-implicit-int-float-conversion
+CWARNFLAGS.clang += -Wno-atomic-alignment -Wno-unknown-warning-option -Wno-implicit-int-float-conversion -Wno-c99-designator
 
 CXXFLAGS+=	-std=c++14
 CFLAGS+=	-std=gnu11



CVS commit: src/external/mit/xorg/lib/gallium

2024-05-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May  1 21:34:48 UTC 2024

Modified Files:
src/external/mit/xorg/lib/gallium: Makefile

Log Message:
Allow c99 array designators


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/external/mit/xorg/lib/gallium/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib/dri

2024-04-26 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr 26 17:22:26 UTC 2024

Modified Files:
src/external/mit/xorg/lib/dri: Makefile

Log Message:
dri: disable lint


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/external/mit/xorg/lib/dri/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/dri/Makefile
diff -u src/external/mit/xorg/lib/dri/Makefile:1.40 src/external/mit/xorg/lib/dri/Makefile:1.41
--- src/external/mit/xorg/lib/dri/Makefile:1.40	Sun Apr 21 00:23:23 2024
+++ src/external/mit/xorg/lib/dri/Makefile	Fri Apr 26 17:22:26 2024
@@ -1,7 +1,9 @@
-# $NetBSD: Makefile,v 1.40 2024/04/21 00:23:23 maya Exp $
+# $NetBSD: Makefile,v 1.41 2024/04/26 17:22:26 rillig Exp $
 
 # Link the mesa_dri_drivers mega driver.
 
+NOLINT=		# Lots of "Unsupported platform" due to undefined __GNUC__
+
 .include 
 
 .include "../mesa-which.mk"



CVS commit: src/external/mit/xorg/lib/dri

2024-04-26 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr 26 17:22:26 UTC 2024

Modified Files:
src/external/mit/xorg/lib/dri: Makefile

Log Message:
dri: disable lint


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/external/mit/xorg/lib/dri/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib/gallium

2024-04-26 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr 26 16:34:18 UTC 2024

Modified Files:
src/external/mit/xorg/lib/gallium: Makefile

Log Message:
gallium: disable lint


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/external/mit/xorg/lib/gallium/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/gallium/Makefile
diff -u src/external/mit/xorg/lib/gallium/Makefile:1.53 src/external/mit/xorg/lib/gallium/Makefile:1.54
--- src/external/mit/xorg/lib/gallium/Makefile:1.53	Sat Nov 25 20:00:25 2023
+++ src/external/mit/xorg/lib/gallium/Makefile	Fri Apr 26 16:34:17 2024
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.53 2023/11/25 20:00:25 rjs Exp $
+# $NetBSD: Makefile,v 1.54 2024/04/26 16:34:17 rillig Exp $
 
 # Link the gallium mega driver.
 
 LIBISMODULE=	yes
 LIBISCXX= yes
 
+NOLINT=		# Lots of "Unsupported platform" due to undefined __GNUC__
+
 .include 
 
 .include "../mesa-which.mk"



CVS commit: src/external/mit/xorg/lib/gallium

2024-04-26 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr 26 16:34:18 UTC 2024

Modified Files:
src/external/mit/xorg/lib/gallium: Makefile

Log Message:
gallium: disable lint


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/external/mit/xorg/lib/gallium/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib/libGL

2024-04-21 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Apr 22 03:38:49 UTC 2024

Modified Files:
src/external/mit/xorg/lib/libGL: Makefile

Log Message:
mesa21: link against libxcb-sync for missing symbols

Not super obvious in practice, but it does show if you run GL programs
with LD_BIND_NOW.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/external/mit/xorg/lib/libGL/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib/libGL

2024-04-21 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Apr 22 03:38:49 UTC 2024

Modified Files:
src/external/mit/xorg/lib/libGL: Makefile

Log Message:
mesa21: link against libxcb-sync for missing symbols

Not super obvious in practice, but it does show if you run GL programs
with LD_BIND_NOW.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/external/mit/xorg/lib/libGL/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/libGL/Makefile
diff -u src/external/mit/xorg/lib/libGL/Makefile:1.34 src/external/mit/xorg/lib/libGL/Makefile:1.35
--- src/external/mit/xorg/lib/libGL/Makefile:1.34	Sun Jul 16 22:20:54 2023
+++ src/external/mit/xorg/lib/libGL/Makefile	Mon Apr 22 03:38:49 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.34 2023/07/16 22:20:54 rjs Exp $
+#	$NetBSD: Makefile,v 1.35 2024/04/22 03:38:49 maya Exp $
 
 .include 
 
@@ -217,6 +217,7 @@ LIBDPLIBS=	Xext		${.CURDIR}/../libXext \
 		xcb-dri2	${.CURDIR}/../libxcb/dri2 \
 		xcb-glx		${.CURDIR}/../libxcb/glx \
 		xcb-shm		${.CURDIR}/../libxcb/shm \
+		xcb-sync	${.CURDIR}/../libxcb/sync \
 		expat		${NETBSDSRCDIR}/external/mit/expat/lib/libexpat \
 		m		${NETBSDSRCDIR}/lib/libm \
 		pthread		${NETBSDSRCDIR}/lib/libpthread



CVS commit: src/external/mit/xorg/lib/dri

2024-04-20 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sun Apr 21 00:23:23 UTC 2024

Modified Files:
src/external/mit/xorg/lib/dri: Makefile

Log Message:
Mesa 21: Add some intel files so we don't have missing symbols

seen as error messages when running "glxgears" on intel.

This also avoids graphical corruption (changed areas of terminal
emulator take a few seconds to gradually update) when the modesetting
driver is explicitly chosen.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/external/mit/xorg/lib/dri/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/dri/Makefile
diff -u src/external/mit/xorg/lib/dri/Makefile:1.39 src/external/mit/xorg/lib/dri/Makefile:1.40
--- src/external/mit/xorg/lib/dri/Makefile:1.39	Sun Jul 16 22:20:54 2023
+++ src/external/mit/xorg/lib/dri/Makefile	Sun Apr 21 00:23:23 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2023/07/16 22:20:54 rjs Exp $
+# $NetBSD: Makefile,v 1.40 2024/04/21 00:23:23 maya Exp $
 
 # Link the mesa_dri_drivers mega driver.
 
@@ -121,9 +121,11 @@ DRI_SOURCES.i965+= \
 	blorp.c \
 	blorp_blit.c \
 	blorp_clear.c \
+	brw_batch.c \
 	brw_binding_tables.c \
 	brw_blit.c \
 	brw_blorp.c \
+	brw_mipmap_tree.c \
 	brw_buffer_objects.c \
 	brw_buffers.c \
 	brw_bufmgr.c \
@@ -158,6 +160,7 @@ DRI_SOURCES.i965+= \
 	brw_eu_util.c \
 	brw_eu_validate.c \
 	brw_extensions.c \
+	brw_fbo.c \
 	brw_fs.cpp \
 	brw_fs_bank_conflicts.cpp \
 	brw_fs_cmod_propagation.cpp \
@@ -171,20 +174,22 @@ DRI_SOURCES.i965+= \
 	brw_fs_lower_regioning.cpp \
 	brw_fs_nir.cpp \
 	brw_fs_reg_allocate.cpp \
+	brw_ff_gs.c \
+	brw_formatquery.c \
 	brw_fs_register_coalesce.cpp \
 	brw_fs_saturate_propagation.cpp \
 	brw_fs_scoreboard.cpp \
 	brw_fs_sel_peephole.cpp \
 	brw_fs_validate.cpp \
 	brw_fs_visitor.cpp \
-	brw_ff_gs.c \
-	brw_formatquery.c \
 	brw_generate_mipmap.c \
 	brw_gs.c \
 	brw_gs_surface_state.c \
 	brw_interpolation_map.c \
 	brw_ir_performance.cpp \
+	brw_link.cpp \
 	brw_meta_util.c \
+	brw_mipmap_tree.c \
 	brw_misc_state.c \
 	brw_nir.c \
 	brw_nir_analyze_boolean_resolves.c \
@@ -204,6 +209,7 @@ DRI_SOURCES.i965+= \
 	brw_nir_rt.c \
 	brw_nir_tcs_workarounds.c \
 	brw_nir_trig_workarounds.c \
+	brw_nir_uniforms.cpp \
 	brw_object_purgeable.c \
 	brw_packed_float.c \
 	brw_performance_query.c \
@@ -277,6 +283,7 @@ DRI_SOURCES.i965+= \
 	gfx8_multisample_state.c \
 	hsw_queryobj.c \
 	hsw_sol.c \
+	intel_perf_metrics.c \
 	isl.c \
 	isl_aux_info.c \
 	isl_drm.c \
@@ -311,8 +318,9 @@ I965_INTEL_DEV_FILES = \
 	intel_device_info.c
 
 I965_INTEL_PERF_FILES = \
-	intel_pps_driver.cc \
-	intel_pps_perf.cc
+	intel_perf.c \
+	intel_perf_query.c \
+	intel_perf_mdapi.c
 
 INTEL_GENS_BLORP=	40 45 50 60 70 75 80 90 110
 
@@ -346,6 +354,11 @@ DRI_SOURCES.i965+=	i965_${_f}
 BUILDSYMLINKS+=		${X11SRCDIR.Mesa}/src/intel/dev/${_f} i965_${_f}
 DRI_SOURCES.i965+=	i965_${_f}
 .endfor
+.for _f in ${I965_INTEL_PERF_FILES}
+BUILDSYMLINKS+=			${X11SRCDIR.Mesa}/src/intel/perf/${_f} i965_${_f}
+DRI_SOURCES.i965+=		i965_${_f}
+CPPFLAGS.i965_${_f}+=	-I${X11SRCDIR.Mesa}/src/intel/perf
+.endfor
 
 .for _f in ${DRI_SOURCES.i965}
 CPPFLAGS.${_f} +=	-I${X11SRCDIR.Mesa}/src/mesa/drivers/dri/i965 \



CVS commit: src/external/mit/xorg/lib/dri

2024-04-20 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sun Apr 21 00:23:23 UTC 2024

Modified Files:
src/external/mit/xorg/lib/dri: Makefile

Log Message:
Mesa 21: Add some intel files so we don't have missing symbols

seen as error messages when running "glxgears" on intel.

This also avoids graphical corruption (changed areas of terminal
emulator take a few seconds to gradually update) when the modesetting
driver is explicitly chosen.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/external/mit/xorg/lib/dri/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib/gallium.old

2024-04-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Apr  4 23:50:13 UTC 2024

Modified Files:
src/external/mit/xorg/lib/gallium.old: Makefile

Log Message:
Don't ccreate dwarf-4 on these files because it breaks ctfconvert.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/mit/xorg/lib/gallium.old/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/gallium.old/Makefile
diff -u src/external/mit/xorg/lib/gallium.old/Makefile:1.8 src/external/mit/xorg/lib/gallium.old/Makefile:1.9
--- src/external/mit/xorg/lib/gallium.old/Makefile:1.8	Sat Oct  7 08:15:52 2023
+++ src/external/mit/xorg/lib/gallium.old/Makefile	Thu Apr  4 19:50:13 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2023/10/07 12:15:52 rin Exp $
+# $NetBSD: Makefile,v 1.9 2024/04/04 23:50:13 christos Exp $
 
 # Transparent struct/union broken
 NOLINT=yes
@@ -33,8 +33,8 @@ LDFLAGS+=	-pthread
 
 # Reduce debugging for these extremely large objects.
 .if ${MKDEBUG:Uno} != "no"
-CXXFLAGS+=	-g1
-CFLAGS+=	-g1
+CXXFLAGS+=	-g1 -gdwarf-3
+CFLAGS+=	-g1 -gdwarf-3
 .endif
 
 GALLIUM_SUBDIRS= \



CVS commit: src/external/mit/xorg/lib/gallium.old

2024-04-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Apr  4 23:50:13 UTC 2024

Modified Files:
src/external/mit/xorg/lib/gallium.old: Makefile

Log Message:
Don't ccreate dwarf-4 on these files because it breaks ctfconvert.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/mit/xorg/lib/gallium.old/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/server/xorg-server.old

2024-01-27 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Jan 27 10:57:05 UTC 2024

Modified Files:
src/external/mit/xorg/server/xorg-server.old: Makefile.servermod
src/external/mit/xorg/server/xorg-server.old/hw/xfree86/dixmods/fb:
Makefile

Log Message:
Revert previous (stop building static libfb.a module for Xorg 1.10).

It breaks builds in xorg-server.old/hw/xfree86/Xorg on alpha,
netwinder, and sgimips (but not vax).

>> dependall ===> external/mit/xorg/server/xorg-server.old/hw/xfree86/Xorg
>> nbmake[13]: don't know how to make 
>> [...]/xorg-server.old/hw/xfree86/dixmods/fb/libfb.a. Stop


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
src/external/mit/xorg/server/xorg-server.old/Makefile.servermod
cvs rdiff -u -r1.2 -r1.3 \
src/external/mit/xorg/server/xorg-server.old/hw/xfree86/dixmods/fb/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/server/xorg-server.old/Makefile.servermod
diff -u src/external/mit/xorg/server/xorg-server.old/Makefile.servermod:1.6 src/external/mit/xorg/server/xorg-server.old/Makefile.servermod:1.7
--- src/external/mit/xorg/server/xorg-server.old/Makefile.servermod:1.6	Fri Jan 26 11:32:12 2024
+++ src/external/mit/xorg/server/xorg-server.old/Makefile.servermod	Sat Jan 27 10:57:04 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.servermod,v 1.6 2024/01/26 11:32:12 tsutsui Exp $
+#	$NetBSD: Makefile.servermod,v 1.7 2024/01/27 10:57:04 tsutsui Exp $
 
 NOFULLRELRO=	yes
 
@@ -7,7 +7,7 @@ NOFULLRELRO=	yes
 .if defined(XMODULEDIR)
 SHLIB_MAJOR=0
 
-# dri and dri2 need to be linked statically as well?
+# dri, dri2 and fb need to be linked statically as well?
 .if !defined(XMODULEDIRANDSTATIC)
 MKSTATICLIB:=	no
 .endif

Index: src/external/mit/xorg/server/xorg-server.old/hw/xfree86/dixmods/fb/Makefile
diff -u src/external/mit/xorg/server/xorg-server.old/hw/xfree86/dixmods/fb/Makefile:1.2 src/external/mit/xorg/server/xorg-server.old/hw/xfree86/dixmods/fb/Makefile:1.3
--- src/external/mit/xorg/server/xorg-server.old/hw/xfree86/dixmods/fb/Makefile:1.2	Fri Jan 26 11:32:12 2024
+++ src/external/mit/xorg/server/xorg-server.old/hw/xfree86/dixmods/fb/Makefile	Sat Jan 27 10:57:05 2024
@@ -1,6 +1,7 @@
-#	$NetBSD: Makefile,v 1.2 2024/01/26 11:32:12 tsutsui Exp $
+#	$NetBSD: Makefile,v 1.3 2024/01/27 10:57:05 tsutsui Exp $
 
 XMODULEDIR=	${X11USRLIBDIR}/modules
+XMODULEDIRANDSTATIC=	# defined
 
 .include "../../../../Makefile.serverlib"
 .include "../../../../Makefile.servermod"



CVS commit: src/external/mit/xorg/server/xorg-server.old

2024-01-27 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Jan 27 10:57:05 UTC 2024

Modified Files:
src/external/mit/xorg/server/xorg-server.old: Makefile.servermod
src/external/mit/xorg/server/xorg-server.old/hw/xfree86/dixmods/fb:
Makefile

Log Message:
Revert previous (stop building static libfb.a module for Xorg 1.10).

It breaks builds in xorg-server.old/hw/xfree86/Xorg on alpha,
netwinder, and sgimips (but not vax).

>> dependall ===> external/mit/xorg/server/xorg-server.old/hw/xfree86/Xorg
>> nbmake[13]: don't know how to make 
>> [...]/xorg-server.old/hw/xfree86/dixmods/fb/libfb.a. Stop


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
src/external/mit/xorg/server/xorg-server.old/Makefile.servermod
cvs rdiff -u -r1.2 -r1.3 \
src/external/mit/xorg/server/xorg-server.old/hw/xfree86/dixmods/fb/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/server/xorg-server.old

2024-01-26 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri Jan 26 11:32:12 UTC 2024

Modified Files:
src/external/mit/xorg/server/xorg-server.old: Makefile.servermod
src/external/mit/xorg/server/xorg-server.old/hw/xfree86/dixmods/fb:
Makefile

Log Message:
Stop building static libfb.a module for Xorg server 1.10 ports.

It looks unused and marked as obsolete in
src/distrib/sets/lists/xserver/md.* list files since netbsd-8.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
src/external/mit/xorg/server/xorg-server.old/Makefile.servermod
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/mit/xorg/server/xorg-server.old/hw/xfree86/dixmods/fb/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/server/xorg-server.old/Makefile.servermod
diff -u src/external/mit/xorg/server/xorg-server.old/Makefile.servermod:1.5 src/external/mit/xorg/server/xorg-server.old/Makefile.servermod:1.6
--- src/external/mit/xorg/server/xorg-server.old/Makefile.servermod:1.5	Mon Nov  1 10:05:19 2021
+++ src/external/mit/xorg/server/xorg-server.old/Makefile.servermod	Fri Jan 26 11:32:12 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.servermod,v 1.5 2021/11/01 10:05:19 nia Exp $
+#	$NetBSD: Makefile.servermod,v 1.6 2024/01/26 11:32:12 tsutsui Exp $
 
 NOFULLRELRO=	yes
 
@@ -7,7 +7,7 @@ NOFULLRELRO=	yes
 .if defined(XMODULEDIR)
 SHLIB_MAJOR=0
 
-# dri, dri2 and fb need to be linked statically as well?
+# dri and dri2 need to be linked statically as well?
 .if !defined(XMODULEDIRANDSTATIC)
 MKSTATICLIB:=	no
 .endif

Index: src/external/mit/xorg/server/xorg-server.old/hw/xfree86/dixmods/fb/Makefile
diff -u src/external/mit/xorg/server/xorg-server.old/hw/xfree86/dixmods/fb/Makefile:1.1.1.1 src/external/mit/xorg/server/xorg-server.old/hw/xfree86/dixmods/fb/Makefile:1.2
--- src/external/mit/xorg/server/xorg-server.old/hw/xfree86/dixmods/fb/Makefile:1.1.1.1	Fri Jun 10 03:42:14 2016
+++ src/external/mit/xorg/server/xorg-server.old/hw/xfree86/dixmods/fb/Makefile	Fri Jan 26 11:32:12 2024
@@ -1,7 +1,6 @@
-#	$NetBSD: Makefile,v 1.1.1.1 2016/06/10 03:42:14 mrg Exp $
+#	$NetBSD: Makefile,v 1.2 2024/01/26 11:32:12 tsutsui Exp $
 
 XMODULEDIR=	${X11USRLIBDIR}/modules
-XMODULEDIRANDSTATIC=	# defined
 
 .include "../../../../Makefile.serverlib"
 .include "../../../../Makefile.servermod"



CVS commit: src/external/mit/xorg/server/xorg-server.old

2024-01-26 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri Jan 26 11:32:12 UTC 2024

Modified Files:
src/external/mit/xorg/server/xorg-server.old: Makefile.servermod
src/external/mit/xorg/server/xorg-server.old/hw/xfree86/dixmods/fb:
Makefile

Log Message:
Stop building static libfb.a module for Xorg server 1.10 ports.

It looks unused and marked as obsolete in
src/distrib/sets/lists/xserver/md.* list files since netbsd-8.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
src/external/mit/xorg/server/xorg-server.old/Makefile.servermod
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/mit/xorg/server/xorg-server.old/hw/xfree86/dixmods/fb/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib/gallium

2023-11-25 Thread Robert Swindells
Module Name:src
Committed By:   rjs
Date:   Sat Nov 25 20:00:25 UTC 2023

Modified Files:
src/external/mit/xorg/lib/gallium: Makefile

Log Message:
Make building of more files conditional on MKLLVMRT.

Make r300_state_derived.c compile with gcc 12.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/external/mit/xorg/lib/gallium/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib/gallium

2023-11-25 Thread Robert Swindells
Module Name:src
Committed By:   rjs
Date:   Sat Nov 25 20:00:25 UTC 2023

Modified Files:
src/external/mit/xorg/lib/gallium: Makefile

Log Message:
Make building of more files conditional on MKLLVMRT.

Make r300_state_derived.c compile with gcc 12.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/external/mit/xorg/lib/gallium/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/gallium/Makefile
diff -u src/external/mit/xorg/lib/gallium/Makefile:1.52 src/external/mit/xorg/lib/gallium/Makefile:1.53
--- src/external/mit/xorg/lib/gallium/Makefile:1.52	Wed Nov 22 17:48:35 2023
+++ src/external/mit/xorg/lib/gallium/Makefile	Sat Nov 25 20:00:25 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2023/11/22 17:48:35 rjs Exp $
+# $NetBSD: Makefile,v 1.53 2023/11/25 20:00:25 rjs Exp $
 
 # Link the gallium mega driver.
 
@@ -343,8 +343,12 @@ GALLIUM_SOURCES.auxiliary/util= \
 GALLIUM_SOURCES.auxiliary/nir = \
 	nir_draw_helpers.c \
 	nir_to_tgsi.c \
-	nir_to_tgsi_info.c \
 	tgsi_to_nir.c
+
+.if ${MKLLVMRT} != "no"
+GALLIUM_SOURCES.auxiliary/nir+=	nir_to_tgsi_info.c
+.endif
+
 GALLIUM_SOURCES.auxiliary/vl= \
 	vl_bicubic_filter.c \
 	vl_compositor.c \
@@ -384,6 +388,7 @@ CPPFLAGS.${_f} +=	-I${X11SRCDIR.Mesa}/sr
 GALLIUM_SOURCES.auxiliary/renderonly= \
 	renderonly.c
 
+.if ${MKLLVMRT} != "no"
 GALLIUM_SOURCES.auxiliary/gallivm= \
 	lp_bld_arit.c \
 	lp_bld_arit_overflow.c \
@@ -422,8 +427,9 @@ GALLIUM_SOURCES.auxiliary/gallivm= \
 	lp_bld_tgsi.c \
 	lp_bld_tgsi_info.c \
 	lp_bld_tgsi_soa.c \
-	lp_bld_type.c
-	#lp_bld_debug.cpp
+	lp_bld_type.c \
+	lp_bld_debug.cpp
+.endif
 
 .for _f in ${GALLIUM_SOURCES.auxiliary/gallivm}
 CPPFLAGS.${_f} +=	-I${X11SRCDIR.Mesa}/src/gallium/auxiliary/util
@@ -736,6 +742,8 @@ GALLIUM_SOURCES.drivers/r300 = \
 	r300_vs.c \
 	r300_vs_draw.c
 
+CPPFLAGS.r300_state_derived.c = ${CC_WNO_STRINGOP_OVERREAD}
+
 GALLIUM_SOURCES.drivers/r300/compiler = \
 	memory_pool.c \
 	r300_fragprog.c \



CVS commit: src/external/mit/xorg/lib

2023-11-22 Thread Robert Swindells
Module Name:src
Committed By:   rjs
Date:   Wed Nov 22 17:48:35 UTC 2023

Modified Files:
src/external/mit/xorg/lib: driver.mk libglsl.mk
src/external/mit/xorg/lib/gallium: Makefile
src/external/mit/xorg/lib/libEGL: Makefile
src/external/mit/xorg/lib/libgbm: Makefile

Log Message:
Include some more files.

Add a build-id note to gallium.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/lib/driver.mk
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/lib/libglsl.mk
cvs rdiff -u -r1.51 -r1.52 src/external/mit/xorg/lib/gallium/Makefile
cvs rdiff -u -r1.8 -r1.9 src/external/mit/xorg/lib/libEGL/Makefile
cvs rdiff -u -r1.9 -r1.10 src/external/mit/xorg/lib/libgbm/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/driver.mk
diff -u src/external/mit/xorg/lib/driver.mk:1.5 src/external/mit/xorg/lib/driver.mk:1.6
--- src/external/mit/xorg/lib/driver.mk:1.5	Sun Jul 16 22:20:54 2023
+++ src/external/mit/xorg/lib/driver.mk	Wed Nov 22 17:48:35 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: driver.mk,v 1.5 2023/07/16 22:20:54 rjs Exp $
+#	$NetBSD: driver.mk,v 1.6 2023/11/22 17:48:35 rjs Exp $
 
 # stuff both dri and gallium drivers need.
 
@@ -28,6 +28,7 @@ SRCS.util=	\
 	mesa-sha1.c \
 	os_file.c \
 	os_memory_fd.c \
+	os_misc.c \
 	os_time.c \
 	ralloc.c \
 	UTILdebug.c \
@@ -39,6 +40,7 @@ SRCS.util=	\
 	set.c \
 	slab.c \
 	softfloat.c \
+	sparse_array.c \
 	string_buffer.c \
 	strtod.c \
 	u_atomic.c \

Index: src/external/mit/xorg/lib/libglsl.mk
diff -u src/external/mit/xorg/lib/libglsl.mk:1.7 src/external/mit/xorg/lib/libglsl.mk:1.8
--- src/external/mit/xorg/lib/libglsl.mk:1.7	Sun Jul 16 22:20:54 2023
+++ src/external/mit/xorg/lib/libglsl.mk	Wed Nov 22 17:48:35 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: libglsl.mk,v 1.7 2023/07/16 22:20:54 rjs Exp $
+#	$NetBSD: libglsl.mk,v 1.8 2023/11/22 17:48:35 rjs Exp $
 
 LIBGLSL_GENERATED_CXX_FILES = \
 	glsl_lexer.cpp \
@@ -56,6 +56,7 @@ LIBGLSL_FILES = \
 	ir_function_detect_recursion.cpp \
 	ir_hierarchical_visitor.cpp \
 	ir_hv_accept.cpp \
+	ir_builder_print_visitor.cpp \
 	ir_print_visitor.cpp \
 	ir_reader.cpp \
 	ir_rvalue_visitor.cpp \
@@ -159,10 +160,10 @@ NIR_GENERATED_FILES = \
 	nir_opcodes.c \
 	nir_opt_algebraic.c
 
-#BUILDSYMLINKS+=	${X11SRCDIR.Mesa}/src/compiler/nir/nir.c nir_nir.c
+BUILDSYMLINKS+=	${X11SRCDIR.Mesa}/src/compiler/nir/nir.c nir_nir.c
 
 NIR_FILES = \
-	nir.c \
+	nir_nir.c \
 	nir_builtin_builder.c \
 	nir_clone.c \
 	nir_control_flow.c \
@@ -187,6 +188,7 @@ NIR_FILES = \
 	nir_lower_atomics_to_ssbo.c \
 	nir_lower_bit_size.c \
 	nir_lower_bitmap.c \
+	nir_lower_blend.c \
 	nir_lower_bool_to_float.c \
 	nir_lower_bool_to_int32.c \
 	nir_lower_clamp_color_outputs.c \
@@ -199,6 +201,7 @@ NIR_FILES = \
 	nir_lower_flatshade.c \
 	nir_lower_flrp.c \
 	nir_lower_fp16_conv.c \
+	nir_lower_fragcolor.c \
 	nir_lower_fragcoord_wtrans.c \
 	nir_lower_frexp.c \
 	nir_lower_global_vars_to_local.c \
@@ -209,6 +212,7 @@ NIR_FILES = \
 	nir_lower_indirect_derefs.c \
 	nir_lower_int64.c \
 	nir_lower_int_to_float.c \
+	nir_lower_interpolation.c \
 	nir_lower_io.c \
 	nir_lower_io_arrays_to_elements.c \
 	nir_lower_io_to_scalar.c \
@@ -228,6 +232,7 @@ NIR_FILES = \
 	nir_lower_returns.c \
 	nir_lower_samplers.c \
 	nir_lower_scratch.c \
+	nir_lower_ssbo.c \
 	nir_lower_subgroups.c \
 	nir_lower_system_values.c \
 	nir_lower_sysvals_to_varyings.c \
@@ -236,6 +241,7 @@ NIR_FILES = \
 	nir_lower_to_source_mods.c \
 	nir_lower_two_sided_color.c \
 	nir_lower_ubo_vec4.c \
+	nir_lower_undef_to_zero.c \
 	nir_lower_uniforms_to_ubo.c \
 	nir_lower_var_copies.c \
 	nir_lower_variable_initializers.c \
@@ -244,6 +250,7 @@ NIR_FILES = \
 	nir_lower_viewport_transform.c \
 	nir_lower_wpos_center.c \
 	nir_lower_wpos_ytransform.c \
+	nir_lower_wrmasks.c \
 	nir_metadata.c \
 	nir_move_vec_src_uses_to_dest.c \
 	nir_normalize_cubemap_coords.c \

Index: src/external/mit/xorg/lib/gallium/Makefile
diff -u src/external/mit/xorg/lib/gallium/Makefile:1.51 src/external/mit/xorg/lib/gallium/Makefile:1.52
--- src/external/mit/xorg/lib/gallium/Makefile:1.51	Sat Oct  7 12:15:52 2023
+++ src/external/mit/xorg/lib/gallium/Makefile	Wed Nov 22 17:48:35 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2023/10/07 12:15:52 rin Exp $
+# $NetBSD: Makefile,v 1.52 2023/11/22 17:48:35 rjs Exp $
 
 # Link the gallium mega driver.
 
@@ -28,6 +28,8 @@ CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/libd
 CFLAGS+=	-pthread
 LDFLAGS+=	-pthread
 
+LDFLAGS+=	-Wl,--build-id=sha1
+
 # Reduce debugging for these extremely large objects.
 .if ${MKDEBUG:Uno} != "no"
 #CXXFLAGS+=	-g1
@@ -296,7 +298,6 @@ GALLIUM_SOURCES.auxiliary/translate= \
 	translate_generic.c \
 	translate_sse.c
 GALLIUM_SOURCES.auxiliary/util= \
-	os_misc.c \
 	u_async_debug.c \
 	u_bitmask.c \
 	u_blitter.c \

Index: src/external/mit/xorg/lib/libEGL/Makefile
diff -u 

CVS commit: src/external/mit/xorg/lib

2023-11-22 Thread Robert Swindells
Module Name:src
Committed By:   rjs
Date:   Wed Nov 22 17:48:35 UTC 2023

Modified Files:
src/external/mit/xorg/lib: driver.mk libglsl.mk
src/external/mit/xorg/lib/gallium: Makefile
src/external/mit/xorg/lib/libEGL: Makefile
src/external/mit/xorg/lib/libgbm: Makefile

Log Message:
Include some more files.

Add a build-id note to gallium.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/lib/driver.mk
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/lib/libglsl.mk
cvs rdiff -u -r1.51 -r1.52 src/external/mit/xorg/lib/gallium/Makefile
cvs rdiff -u -r1.8 -r1.9 src/external/mit/xorg/lib/libEGL/Makefile
cvs rdiff -u -r1.9 -r1.10 src/external/mit/xorg/lib/libgbm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/server/drivers/xf86-input-keyboard

2023-11-07 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Tue Nov  7 14:34:36 UTC 2023

Modified Files:
src/external/mit/xorg/server/drivers/xf86-input-keyboard: Makefile

Log Message:
xf86-input-keyboard: add build glue to enable USE_WSKBD_GETMAP.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 \
src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/server/drivers/xf86-input-keyboard

2023-11-07 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Tue Nov  7 14:34:36 UTC 2023

Modified Files:
src/external/mit/xorg/server/drivers/xf86-input-keyboard: Makefile

Log Message:
xf86-input-keyboard: add build glue to enable USE_WSKBD_GETMAP.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 \
src/external/mit/xorg/server/drivers/xf86-input-keyboard/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/server/drivers/xf86-input-keyboard/Makefile
diff -u src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile:1.22 src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile:1.23
--- src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile:1.22	Wed Dec 15 15:27:30 2021
+++ src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile	Tue Nov  7 14:34:35 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.22 2021/12/15 15:27:30 christos Exp $
+#	$NetBSD: Makefile,v 1.23 2023/11/07 14:34:35 tsutsui Exp $
 
 DRIVER=		xf86-input-keyboard
 DRIVER_NAME=	kbd_drv
@@ -16,7 +16,9 @@ CPPFLAGS+=	-DPCVT_SUPPORT
 .if ${MACHINE_ARCH} == "powerpc" || \
 ${MACHINE} == "amiga" || \
 ${MACHINE} == "evbarm" || \
+${MACHINE} == "ews4800mips" || \
 ${MACHINE} == "mac68k" || \
+${MACHINE} == "newsmips" || \
 ${MACHINE} == "pmax" || \
 ${MACHINE} == "sgimips" || \
 ${MACHINE} == "shark" || \
@@ -30,6 +32,14 @@ CPPFLAGS+=	-DWSCONS_SUPPORT
 CPPFLAGS+=	-DXKB
 CPPFLAGS.kbd.c=	-D__XKBDEFRULES__=${__XKBDEFRULES__}
 
+.if \
+${MACHINE} == "ews4800mips"	|| \
+${MACHINE} == "newsmips"	|| \
+0
+CPPFLAGS+=	-DUSE_WSKBD_GETMAP
+SRCS+=		ws_KbdMap.c
+.endif
+
 X11EXTRAMANDEFS+=	-e 's,__xkb_path__,${X11LIBDIR}/xkb,g'
 
 COPTS.kbd.c=		-Wno-error	# XXX deprecated



CVS commit: src/external/mit/xorg/lib/libxcb/xinput

2023-09-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Sep  5 04:16:56 UTC 2023

Modified Files:
src/external/mit/xorg/lib/libxcb/xinput: Makefile

Log Message:
turn off -Walloc-size-larger-than for xinput.c

on 32-bit platforms, an expression claims the input can exceed 2G,
more than malloc() can take.  i'm pretty sure that the maximum is
actually quite a lot less (seems to be max 255*12 plus <100.)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/lib/libxcb/xinput/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/libxcb/xinput/Makefile
diff -u src/external/mit/xorg/lib/libxcb/xinput/Makefile:1.4 src/external/mit/xorg/lib/libxcb/xinput/Makefile:1.5
--- src/external/mit/xorg/lib/libxcb/xinput/Makefile:1.4	Sun Mar  5 09:27:53 2017
+++ src/external/mit/xorg/lib/libxcb/xinput/Makefile	Tue Sep  5 04:16:56 2023
@@ -1,5 +1,11 @@
-#	$NetBSD: Makefile,v 1.4 2017/03/05 09:27:53 mrg Exp $
+#	$NetBSD: Makefile,v 1.5 2023/09/05 04:16:56 mrg Exp $
 
 XCBEXT=	xinput
 
+# XXXGCC12:  avoids
+# xinput.c:491:19: error: argument 1 value '4294967294' exceeds maximum object size 2147483647 [-Werror=alloc-size-larger-than=]
+#  491 | xcb_out = malloc(xcb_buffer_len);
+# it also does not check the return value of this malloc().
+COPTS.xinput.c+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 12:? -Wno-alloc-size-larger-than :}
+
 .include "../xcb.mk"



CVS commit: src/external/mit/xorg/lib/libxcb/xinput

2023-09-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Sep  5 04:16:56 UTC 2023

Modified Files:
src/external/mit/xorg/lib/libxcb/xinput: Makefile

Log Message:
turn off -Walloc-size-larger-than for xinput.c

on 32-bit platforms, an expression claims the input can exceed 2G,
more than malloc() can take.  i'm pretty sure that the maximum is
actually quite a lot less (seems to be max 255*12 plus <100.)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/lib/libxcb/xinput/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/etc

2023-08-08 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Tue Aug  8 14:38:44 UTC 2023

Modified Files:
src/external/mit/xorg/etc/etc.dreamcast: xorg.conf.jpkbd
xorg.conf.uskbd
src/external/mit/xorg/etc/etc.hpc: xorg.conf.640x240-jp
xorg.conf.640x240-us xorg.conf.640x480-jp xorg.conf.640x480-us
xorg.conf.800x600-jp xorg.conf.800x600-us
src/external/mit/xorg/etc/etc.hpcarm: xorg.conf.ws003sh
xorg.conf.ws007sh xorg.conf.ws011sh xorg.conf.ws020sh
src/external/mit/xorg/etc/etc.zaurus: xorg.conf.C3x00 xorg.conf.C7x0

Log Message:
Remove trailing tabs.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.jpkbd \
src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.uskbd
cvs rdiff -u -r1.4 -r1.5 \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-jp \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-us \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x480-jp \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x480-us \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.800x600-jp \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.800x600-us
cvs rdiff -u -r1.4 -r1.5 \
src/external/mit/xorg/etc/etc.hpcarm/xorg.conf.ws003sh \
src/external/mit/xorg/etc/etc.hpcarm/xorg.conf.ws007sh \
src/external/mit/xorg/etc/etc.hpcarm/xorg.conf.ws011sh \
src/external/mit/xorg/etc/etc.hpcarm/xorg.conf.ws020sh
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/etc/etc.zaurus/xorg.conf.C3x00 \
src/external/mit/xorg/etc/etc.zaurus/xorg.conf.C7x0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/etc

2023-08-08 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Tue Aug  8 14:38:44 UTC 2023

Modified Files:
src/external/mit/xorg/etc/etc.dreamcast: xorg.conf.jpkbd
xorg.conf.uskbd
src/external/mit/xorg/etc/etc.hpc: xorg.conf.640x240-jp
xorg.conf.640x240-us xorg.conf.640x480-jp xorg.conf.640x480-us
xorg.conf.800x600-jp xorg.conf.800x600-us
src/external/mit/xorg/etc/etc.hpcarm: xorg.conf.ws003sh
xorg.conf.ws007sh xorg.conf.ws011sh xorg.conf.ws020sh
src/external/mit/xorg/etc/etc.zaurus: xorg.conf.C3x00 xorg.conf.C7x0

Log Message:
Remove trailing tabs.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.jpkbd \
src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.uskbd
cvs rdiff -u -r1.4 -r1.5 \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-jp \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-us \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x480-jp \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x480-us \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.800x600-jp \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.800x600-us
cvs rdiff -u -r1.4 -r1.5 \
src/external/mit/xorg/etc/etc.hpcarm/xorg.conf.ws003sh \
src/external/mit/xorg/etc/etc.hpcarm/xorg.conf.ws007sh \
src/external/mit/xorg/etc/etc.hpcarm/xorg.conf.ws011sh \
src/external/mit/xorg/etc/etc.hpcarm/xorg.conf.ws020sh
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/etc/etc.zaurus/xorg.conf.C3x00 \
src/external/mit/xorg/etc/etc.zaurus/xorg.conf.C7x0

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/etc/etc.dreamcast/xorg.conf.jpkbd
diff -u src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.jpkbd:1.4 src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.jpkbd:1.5
--- src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.jpkbd:1.4	Tue Aug  8 14:34:21 2023
+++ src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.jpkbd	Tue Aug  8 14:38:44 2023
@@ -1,4 +1,4 @@
-# $NetBSD: xorg.conf.jpkbd,v 1.4 2023/08/08 14:34:21 tsutsui Exp $
+# $NetBSD: xorg.conf.jpkbd,v 1.5 2023/08/08 14:38:44 tsutsui Exp $
 
 Section "ServerLayout"
 	Identifier	"wsfb"
@@ -6,7 +6,7 @@ Section "ServerLayout"
 	InputDevice	"Mouse0" "CorePointer"
 	InputDevice	"Keyboard0" "CoreKeyboard"
 EndSection
-	
+
 Section "Files"
 	FontPath	"/usr/pkg/share/fonts/X11/TTF/"
 EndSection
Index: src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.uskbd
diff -u src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.uskbd:1.4 src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.uskbd:1.5
--- src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.uskbd:1.4	Tue Aug  8 14:34:21 2023
+++ src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.uskbd	Tue Aug  8 14:38:44 2023
@@ -1,4 +1,4 @@
-# $NetBSD: xorg.conf.uskbd,v 1.4 2023/08/08 14:34:21 tsutsui Exp $
+# $NetBSD: xorg.conf.uskbd,v 1.5 2023/08/08 14:38:44 tsutsui Exp $
 
 Section "ServerLayout"
 	Identifier	"wsfb"
@@ -6,7 +6,7 @@ Section "ServerLayout"
 	InputDevice	"Mouse0" "CorePointer"
 	InputDevice	"Keyboard0" "CoreKeyboard"
 EndSection
-	
+
 Section "Files"
 	FontPath	"/usr/pkg/share/fonts/X11/TTF/"
 EndSection

Index: src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-jp
diff -u src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-jp:1.4 src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-jp:1.5
--- src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-jp:1.4	Tue Aug  8 14:34:21 2023
+++ src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-jp	Tue Aug  8 14:38:44 2023
@@ -1,4 +1,4 @@
-# $NetBSD: xorg.conf.640x240-jp,v 1.4 2023/08/08 14:34:21 tsutsui Exp $
+# $NetBSD: xorg.conf.640x240-jp,v 1.5 2023/08/08 14:38:44 tsutsui Exp $
 
 Section "ServerLayout"
 	Identifier	"wsfb"
@@ -7,7 +7,7 @@ Section "ServerLayout"
 	InputDevice	"Mouse0"
 	InputDevice	"Keyboard0" "CoreKeyboard"
 EndSection
-	
+
 Section "Files"
 #	FontPath	"/usr/pkg/share/fonts/X11/TTF/"
 EndSection
Index: src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-us
diff -u src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-us:1.4 src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-us:1.5
--- src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-us:1.4	Tue Aug  8 14:34:21 2023
+++ src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-us	Tue Aug  8 14:38:44 2023
@@ -1,4 +1,4 @@
-# $NetBSD: xorg.conf.640x240-us,v 1.4 2023/08/08 14:34:21 tsutsui Exp $
+# $NetBSD: xorg.conf.640x240-us,v 1.5 2023/08/08 14:38:44 tsutsui Exp $
 
 Section "ServerLayout"
 	Identifier	"wsfb"
@@ -7,7 +7,7 @@ Section "ServerLayout"
 	InputDevice	"Mouse0"
 	InputDevice	"Keyboard0" "CoreKeyboard"
 EndSection
-	
+
 Section "Files"
 #	FontPath	"/usr/pkg/share/fonts/X11/TTF/"
 EndSection
Index: src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x480-jp
diff -u src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x480-jp:1.4 src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x480-jp:1.5

CVS commit: src/external/mit/xorg/etc

2023-08-08 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Tue Aug  8 14:34:21 UTC 2023

Modified Files:
src/external/mit/xorg/etc/etc.dreamcast: xorg.conf.jpkbd
xorg.conf.uskbd
src/external/mit/xorg/etc/etc.hpc: xorg.conf.640x240-jp
xorg.conf.640x240-us xorg.conf.640x480-jp xorg.conf.640x480-us
xorg.conf.800x600-jp xorg.conf.800x600-us
src/external/mit/xorg/etc/etc.hpcarm: xorg.conf.ws003sh
xorg.conf.ws007sh xorg.conf.ws011sh xorg.conf.ws020sh
src/external/mit/xorg/etc/etc.zaurus: xorg.conf.C3x00 xorg.conf.C7x0

Log Message:
Specify options "AutoAddDevices" to prefer xorg.conf keyboard options.

Fixes PR/57346.
Should be pulled up to netbsd-10.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.jpkbd \
src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.uskbd
cvs rdiff -u -r1.3 -r1.4 \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-jp \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-us \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x480-jp \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x480-us \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.800x600-jp \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.800x600-us
cvs rdiff -u -r1.3 -r1.4 \
src/external/mit/xorg/etc/etc.hpcarm/xorg.conf.ws003sh \
src/external/mit/xorg/etc/etc.hpcarm/xorg.conf.ws007sh \
src/external/mit/xorg/etc/etc.hpcarm/xorg.conf.ws011sh \
src/external/mit/xorg/etc/etc.hpcarm/xorg.conf.ws020sh
cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/etc/etc.zaurus/xorg.conf.C3x00 \
src/external/mit/xorg/etc/etc.zaurus/xorg.conf.C7x0

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/etc/etc.dreamcast/xorg.conf.jpkbd
diff -u src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.jpkbd:1.3 src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.jpkbd:1.4
--- src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.jpkbd:1.3	Fri Jun 20 08:08:58 2014
+++ src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.jpkbd	Tue Aug  8 14:34:21 2023
@@ -1,4 +1,4 @@
-# $NetBSD: xorg.conf.jpkbd,v 1.3 2014/06/20 08:08:58 wiz Exp $
+# $NetBSD: xorg.conf.jpkbd,v 1.4 2023/08/08 14:34:21 tsutsui Exp $
 
 Section "ServerLayout"
 	Identifier	"wsfb"
@@ -11,6 +11,11 @@ Section "Files"
 	FontPath	"/usr/pkg/share/fonts/X11/TTF/"
 EndSection
 
+Section "ServerFlags"
+	# Explicitly prefer keyboard options defined in xorg.conf
+	Option		"AutoAddDevices" "false"
+EndSection
+
 Section "InputDevice"
 	Identifier	"Keyboard0"
 	Driver		"kbd"
Index: src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.uskbd
diff -u src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.uskbd:1.3 src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.uskbd:1.4
--- src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.uskbd:1.3	Fri Jun 20 08:08:58 2014
+++ src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.uskbd	Tue Aug  8 14:34:21 2023
@@ -1,4 +1,4 @@
-# $NetBSD: xorg.conf.uskbd,v 1.3 2014/06/20 08:08:58 wiz Exp $
+# $NetBSD: xorg.conf.uskbd,v 1.4 2023/08/08 14:34:21 tsutsui Exp $
 
 Section "ServerLayout"
 	Identifier	"wsfb"
@@ -11,6 +11,11 @@ Section "Files"
 	FontPath	"/usr/pkg/share/fonts/X11/TTF/"
 EndSection
 
+Section "ServerFlags"
+	# Explicitly prefer keyboard options defined in xorg.conf
+	Option		"AutoAddDevices" "false"
+EndSection
+
 Section "InputDevice"
 	Identifier	"Keyboard0"
 	Driver		"kbd"

Index: src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-jp
diff -u src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-jp:1.3 src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-jp:1.4
--- src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-jp:1.3	Fri Jun 20 08:08:58 2014
+++ src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-jp	Tue Aug  8 14:34:21 2023
@@ -1,4 +1,4 @@
-# $NetBSD: xorg.conf.640x240-jp,v 1.3 2014/06/20 08:08:58 wiz Exp $
+# $NetBSD: xorg.conf.640x240-jp,v 1.4 2023/08/08 14:34:21 tsutsui Exp $
 
 Section "ServerLayout"
 	Identifier	"wsfb"
@@ -12,6 +12,11 @@ Section "Files"
 #	FontPath	"/usr/pkg/share/fonts/X11/TTF/"
 EndSection
 
+Section "ServerFlags"
+	# Explicitly prefer keyboard options defined in xorg.conf
+	Option		"AutoAddDevices" "false"
+EndSection
+
 Section "InputDevice"
 	Identifier	"Keyboard0"
 	Driver		"kbd"
Index: src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-us
diff -u src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-us:1.3 src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-us:1.4
--- src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-us:1.3	Fri Jun 20 08:08:58 2014
+++ src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-us	Tue Aug  8 14:34:21 2023
@@ -1,4 +1,4 @@
-# $NetBSD: xorg.conf.640x240-us,v 1.3 2014/06/20 08:08:58 wiz Exp $
+# $NetBSD: xorg.conf.640x240-us,v 1.4 2023/08/08 14:34:21 tsutsui Exp $
 
 Section "ServerLayout"
 	Identifier	"wsfb"
@@ -12,6 +12,11 @@ Section "Files"
 #	

CVS commit: src/external/mit/xorg/etc

2023-08-08 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Tue Aug  8 14:34:21 UTC 2023

Modified Files:
src/external/mit/xorg/etc/etc.dreamcast: xorg.conf.jpkbd
xorg.conf.uskbd
src/external/mit/xorg/etc/etc.hpc: xorg.conf.640x240-jp
xorg.conf.640x240-us xorg.conf.640x480-jp xorg.conf.640x480-us
xorg.conf.800x600-jp xorg.conf.800x600-us
src/external/mit/xorg/etc/etc.hpcarm: xorg.conf.ws003sh
xorg.conf.ws007sh xorg.conf.ws011sh xorg.conf.ws020sh
src/external/mit/xorg/etc/etc.zaurus: xorg.conf.C3x00 xorg.conf.C7x0

Log Message:
Specify options "AutoAddDevices" to prefer xorg.conf keyboard options.

Fixes PR/57346.
Should be pulled up to netbsd-10.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.jpkbd \
src/external/mit/xorg/etc/etc.dreamcast/xorg.conf.uskbd
cvs rdiff -u -r1.3 -r1.4 \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-jp \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x240-us \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x480-jp \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.640x480-us \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.800x600-jp \
src/external/mit/xorg/etc/etc.hpc/xorg.conf.800x600-us
cvs rdiff -u -r1.3 -r1.4 \
src/external/mit/xorg/etc/etc.hpcarm/xorg.conf.ws003sh \
src/external/mit/xorg/etc/etc.hpcarm/xorg.conf.ws007sh \
src/external/mit/xorg/etc/etc.hpcarm/xorg.conf.ws011sh \
src/external/mit/xorg/etc/etc.hpcarm/xorg.conf.ws020sh
cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/etc/etc.zaurus/xorg.conf.C3x00 \
src/external/mit/xorg/etc/etc.zaurus/xorg.conf.C7x0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib/freetype

2023-07-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jul 27 21:58:51 UTC 2023

Modified Files:
src/external/mit/xorg/lib/freetype: Makefile

Log Message:
disable lint for arm


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/external/mit/xorg/lib/freetype/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/freetype/Makefile
diff -u src/external/mit/xorg/lib/freetype/Makefile:1.24 src/external/mit/xorg/lib/freetype/Makefile:1.25
--- src/external/mit/xorg/lib/freetype/Makefile:1.24	Fri Feb 24 12:08:31 2023
+++ src/external/mit/xorg/lib/freetype/Makefile	Thu Jul 27 17:58:51 2023
@@ -1,7 +1,11 @@
-#	$NetBSD: Makefile,v 1.24 2023/02/24 17:08:31 mrg Exp $
+#	$NetBSD: Makefile,v 1.25 2023/07/27 21:58:51 christos Exp $
 
 USE_FORT?=	yes # data-driven bugs?
 
+.if !empty(MACHINE:M*arm*)
+NOLINT=yes	# We don't have the neon/simd builtins
+.endif
+
 .include 
 
 LIB=	freetype



CVS commit: src/external/mit/xorg/lib/freetype

2023-07-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jul 27 21:58:51 UTC 2023

Modified Files:
src/external/mit/xorg/lib/freetype: Makefile

Log Message:
disable lint for arm


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/external/mit/xorg/lib/freetype/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib/libEGL.old

2023-07-16 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Jul 17 04:24:34 UTC 2023

Added Files:
src/external/mit/xorg/lib/libEGL.old: Makefile

Log Message:
copy the old libEGL/Makefile here and subst .old in a couple of places.

should fix build.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/mit/xorg/lib/libEGL.old/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: src/external/mit/xorg/lib/libEGL.old/Makefile
diff -u /dev/null src/external/mit/xorg/lib/libEGL.old/Makefile:1.1
--- /dev/null	Mon Jul 17 04:24:34 2023
+++ src/external/mit/xorg/lib/libEGL.old/Makefile	Mon Jul 17 04:24:34 2023
@@ -0,0 +1,129 @@
+#	$NetBSD: Makefile,v 1.1 2023/07/17 04:24:34 mrg Exp $
+
+.include 
+
+.include "../mesa-which.mk"
+
+LIB=		EGL
+LIBISCXX=	yes
+
+SHLIB_MAJOR=	0
+SHLIB_MINOR=	0
+
+#SUBDIR=		internal
+
+# egl
+.PATH:		${X11SRCDIR.Mesa}/src/egl/main
+SRCS.egl= \
+	eglapi.c \
+	eglarray.c \
+	eglconfig.c \
+	eglcontext.c \
+	eglcurrent.c \
+	egldevice.c \
+	egldisplay.c \
+	egldriver.c \
+	eglfallbacks.c \
+	eglglobals.c \
+	eglimage.c \
+	egllog.c \
+	eglsurface.c \
+	eglsync.c
+
+.PATH:		${X11SRCDIR.Mesa}/src/egl/drivers/dri2
+SRCS.drivers/dri2= \
+	egl_dri2.c \
+	platform_x11.c \
+	platform_drm.c
+
+# XXX notyet
+#SRCS.drivers/dri2+= \
+#	platform_x11_dri3.c
+
+.PATH:		${X11SRCDIR.Mesa}/src/util
+BUILDSYMLINKS+= ${X11SRCDIR.Mesa}/src/util/debug.c UTILdebug.c
+SRCS.util=  \
+	UTILdebug.c \
+	u_process.c
+
+.for file in ${SRCS.util}
+CPPFLAGS.${file}+=		-I${X11SRCDIR.Mesa}/src/util \
+-I${X11SRCDIR.Mesa}/src/mesa \
+-I${X11SRCDIR.Mesa}/src \
+-I${X11SRCDIR.Mesa}/src/gallium/include
+.endfor
+
+.PATH:		${X11SRCDIR.Mesa}/include/EGL
+INCS=	\
+	egl.h \
+	eglext.h \
+	eglextchromium.h \
+	eglmesaext.h \
+	eglplatform.h
+INCSDIR=${X11INCDIR}/EGL
+
+SRCS+=	${SRCS.egl} ${SRCS.drivers/dri2} ${SRCS.util}
+
+CPPFLAGS+= \
+	-I${X11SRCDIR.Mesa}/include \
+	-I${X11SRCDIR.Mesa}/include/drm-uapi \
+	-I${X11SRCDIR.Mesa}/src/gbm/main \
+	-I${X11SRCDIR.Mesa}/src/egl/main \
+	-I${X11SRCDIR.Mesa}/src/gbm/backends/dri \
+	-I${X11SRCDIR.Mesa}/src/loader \
+	-I${X11SRCDIR.Mesa}/src \
+	-I${DESTDIR}${X11INCDIR}/libdrm
+
+EGL_DRIVER_INSTALL_DIR=${X11ROOTDIR}/lib
+CPPFLAGS+= \
+	-DDEFAULT_DRIVER_DIR=\"${X11USRLIBDIR}/modules/dri\" \
+	-D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_X11 \
+	-D_EGL_DRIVER_SEARCH_DIR=\"$(EGL_DRIVER_INSTALL_DIR)\" \
+	-D_EGL_OS_UNIX=1
+
+CPPFLAGS+=	${X11FLAGS.THREADLIB} \
+		-DHAVE_X11_PLATFORM \
+		-DHAVE_DRM_PLATFORM \
+		-DHAVE_TIMESPEC_GET \
+		-DHAVE_PTHREAD \
+		-DHAVE_LIBDRM \
+		-DHAVE_MINCORE
+
+.include "../libloader.old.mk"
+
+CFLAGS+=	-fvisibility=hidden -fno-strict-aliasing -fno-builtin-memcmp
+CFLAGS+=	-pthread
+
+# XXX missing: xcb-present
+LIBDPLIBS=	Xext		${.CURDIR}/../libXext \
+		X11		${.CURDIR}/../libX11/dynamic \
+		Xfixes		${.CURDIR}/../libXfixes \
+		Xdamage		${.CURDIR}/../libXdamage \
+		Xdmcp		${.CURDIR}/../libXdmcp \
+		glapi		${.CURDIR}/../libglapi${OLD_SUFFIX} \
+		drm		${.CURDIR}/../libdrm \
+		gbm		${.CURDIR}/../libgbm${OLD_SUFFIX} \
+		xshmfence	${.CURDIR}/../libxshmfence \
+		X11-xcb		${.CURDIR}/../libX11/libX11-xcb \
+		xcb-dri2	${.CURDIR}/../libxcb/dri2 \
+		xcb-glx		${.CURDIR}/../libxcb/glx \
+		xcb-xfixes	${.CURDIR}/../libxcb/xfixes \
+		xcb-sync	${.CURDIR}/../libxcb/sync \
+		xcb		${.CURDIR}/../libxcb/libxcb \
+		expat		${NETBSDSRCDIR}/external/mit/expat/lib/libexpat \
+		m		${NETBSDSRCDIR}/lib/libm \
+		pthread		${NETBSDSRCDIR}/lib/libpthread
+
+MKLINT=no
+
+PKGCONFIG=	egl
+PKGDIST.egl=	${X11SRCDIR.Mesa}/../src/pkgconfig
+.include "${.CURDIR}/../libGL.old/mesa-ver.mk"
+PKGCONFIG_VERSION.egl=	${MESA_VER}
+
+CWARNFLAGS.clang+=	-Wno-tautological-compare -Wno-format -Wno-constant-conversion
+COPTS.platform_drm.c+=	-Wno-error=stack-protector
+
+.include 
+.include 
+.include 



CVS commit: src/external/mit/xorg/lib/libEGL.old

2023-07-16 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Jul 17 04:24:34 UTC 2023

Added Files:
src/external/mit/xorg/lib/libEGL.old: Makefile

Log Message:
copy the old libEGL/Makefile here and subst .old in a couple of places.

should fix build.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/mit/xorg/lib/libEGL.old/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib

2023-07-16 Thread Robert Swindells
Module Name:src
Committed By:   rjs
Date:   Sun Jul 16 22:20:54 UTC 2023

Modified Files:
src/external/mit/xorg/lib: driver.mk libglsl.mk libloader.mk libmesa.mk
src/external/mit/xorg/lib/dri: Makefile
src/external/mit/xorg/lib/gallium: Makefile
src/external/mit/xorg/lib/libEGL: Makefile
src/external/mit/xorg/lib/libGL: Makefile mesa-ver.mk
src/external/mit/xorg/lib/libgbm: Makefile
src/external/mit/xorg/lib/libglapi: Makefile

Log Message:
Make most of MesaLib build.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/lib/driver.mk
cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/lib/libglsl.mk \
src/external/mit/xorg/lib/libloader.mk
cvs rdiff -u -r1.14 -r1.15 src/external/mit/xorg/lib/libmesa.mk
cvs rdiff -u -r1.38 -r1.39 src/external/mit/xorg/lib/dri/Makefile
cvs rdiff -u -r1.49 -r1.50 src/external/mit/xorg/lib/gallium/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/lib/libEGL/Makefile
cvs rdiff -u -r1.33 -r1.34 src/external/mit/xorg/lib/libGL/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/lib/libGL/mesa-ver.mk
cvs rdiff -u -r1.8 -r1.9 src/external/mit/xorg/lib/libgbm/Makefile
cvs rdiff -u -r1.9 -r1.10 src/external/mit/xorg/lib/libglapi/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/driver.mk
diff -u src/external/mit/xorg/lib/driver.mk:1.4 src/external/mit/xorg/lib/driver.mk:1.5
--- src/external/mit/xorg/lib/driver.mk:1.4	Tue Sep 24 19:29:41 2019
+++ src/external/mit/xorg/lib/driver.mk	Sun Jul 16 22:20:54 2023
@@ -1,50 +1,98 @@
-#	$NetBSD: driver.mk,v 1.4 2019/09/24 19:29:41 maya Exp $
+#	$NetBSD: driver.mk,v 1.5 2023/07/16 22:20:54 rjs Exp $
 
 # stuff both dri and gallium drivers need.
 
 # util
 .PATH:		${X11SRCDIR.Mesa}/src/util
 .PATH:		${X11SRCDIR.Mesa}/../src/util
+.PATH:		${X11SRCDIR.Mesa}/src/util/format
+.PATH:		${X11SRCDIR.Mesa}/../src/util/format
+.PATH:		${X11SRCDIR.Mesa}/src/util/perf
+.PATH:		${X11SRCDIR.Mesa}/../src/util/perf
 
 SRCS.util=	\
-	hash_table.c \
+	anon_file.c \
 	build_id.c \
+	compress.c \
 	crc32.c \
+	dag.c \
 	disk_cache.c \
+	disk_cache_os.c \
+	double.c \
+	format_srgb.c \
+	fossilize_db.c \
+	hash_table.c \
 	fast_idiv_by_const.c \
 	half_float.c \
-	format_srgb.c \
+	memstream.c \
 	mesa-sha1.c \
+	os_file.c \
+	os_memory_fd.c \
 	os_time.c \
 	ralloc.c \
 	UTILdebug.c \
+	UTILlog.c \
 	rand_xor.c \
 	rb_tree.c \
 	register_allocate.c \
 	rgtc.c \
 	set.c \
 	slab.c \
+	softfloat.c \
 	string_buffer.c \
 	strtod.c \
 	u_atomic.c \
 	u_cpu_detect.c \
+	u_debug.c \
+	u_hash_table.c \
+	u_idalloc.c \
 	u_math.c \
+	u_mm.c \
+	u_qsort.cpp \
 	u_queue.c \
+	u_printf.cpp \
 	u_process.c \
 	u_vector.c \
 	vma.c
 
-CPPFLAGS.format_srgb.c+=	-I${X11SRCDIR.Mesa}/src/util
 CPPFLAGS.hash_table.c+=		-I${X11SRCDIR.Mesa}/src/util
-CPPFLAGS.MESAralloc.c+=		-I${X11SRCDIR.Mesa}/src/util
 CPPFLAGS.UTILdebug.c+=		-I${X11SRCDIR.Mesa}/src/util \
 -I${X11SRCDIR.Mesa}/src/mesa \
 -I${X11SRCDIR.Mesa}/src \
 -I${X11SRCDIR.Mesa}/src/gallium/include
+CPPFLAGS.format_srgb.c+=	-I${X11SRCDIR.Mesa}/src/util
+CPPFLAGS.u_hash_table.c+=	-I${X11SRCDIR.Mesa}/src/gallium/auxiliary
 
 BUILDSYMLINKS+=	${X11SRCDIR.Mesa}/src/util/debug.c UTILdebug.c
+BUILDSYMLINKS+=	${X11SRCDIR.Mesa}/src/util/log.c UTILlog.c
+
+SRCS.format= \
+	u_format.c \
+	u_format_bptc.c \
+	u_format_etc.c \
+	u_format_fxt1.c \
+	u_format_latc.c \
+	u_format_other.c \
+	u_format_rgtc.c \
+	u_format_s3tc.c \
+	u_format_unpack_neon.c \
+	u_format_yuv.c \
+	u_format_zs.c \
+	u_format_table.c
+
+.for _f in ${SRCS.format}
+CPPFLAGS.${_f} +=	-I${X11SRCDIR.Mesa}/src/util/format
+CPPFLAGS.${_f} +=	-I${X11SRCDIR.Mesa}/../src/util/format
+CPPFLAGS.${_f} +=	-I${X11SRCDIR.Mesa}/../src
+.endfor
+
+SRCS.perf= \
+	u_trace.c
+
+CPPFLAGS.u_trace.c+=	-I${X11SRCDIR.Mesa}/src/util/perf
+CPPFLAGS.u_trace.c+=	-I${X11SRCDIR.Mesa}/src/gallium/auxiliary
 
-SRCS+=	${SRCS.util}
+SRCS+=	${SRCS.util} ${SRCS.format} ${SRCS.perf}
 
 # also need to pull in libdricommon.la libmegadriver_stub.la
 .PATH: ${X11SRCDIR.Mesa}/src/mesa/drivers/dri/common

Index: src/external/mit/xorg/lib/libglsl.mk
diff -u src/external/mit/xorg/lib/libglsl.mk:1.6 src/external/mit/xorg/lib/libglsl.mk:1.7
--- src/external/mit/xorg/lib/libglsl.mk:1.6	Tue Sep 24 19:29:41 2019
+++ src/external/mit/xorg/lib/libglsl.mk	Sun Jul 16 22:20:54 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: libglsl.mk,v 1.6 2019/09/24 19:29:41 maya Exp $
+#	$NetBSD: libglsl.mk,v 1.7 2023/07/16 22:20:54 rjs Exp $
 
 LIBGLSL_GENERATED_CXX_FILES = \
 	glsl_lexer.cpp \
@@ -15,7 +15,8 @@ CPPFLAGS+=	-I${X11SRCDIR.Mesa}/src/compi
 		-I${X11SRCDIR.Mesa}/../src/compiler/glsl \
 		-I${X11SRCDIR.Mesa}/src/compiler/glsl/glcpp \
 		-I${X11SRCDIR.Mesa}/../src/compiler/glsl/glcpp \
-		-I${X11SRCDIR.Mesa}/src/compiler/spirv
+		-I${X11SRCDIR.Mesa}/src/compiler/spirv \
+		

CVS commit: src/external/mit/xorg/lib

2023-07-16 Thread Robert Swindells
Module Name:src
Committed By:   rjs
Date:   Sun Jul 16 22:20:54 UTC 2023

Modified Files:
src/external/mit/xorg/lib: driver.mk libglsl.mk libloader.mk libmesa.mk
src/external/mit/xorg/lib/dri: Makefile
src/external/mit/xorg/lib/gallium: Makefile
src/external/mit/xorg/lib/libEGL: Makefile
src/external/mit/xorg/lib/libGL: Makefile mesa-ver.mk
src/external/mit/xorg/lib/libgbm: Makefile
src/external/mit/xorg/lib/libglapi: Makefile

Log Message:
Make most of MesaLib build.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/lib/driver.mk
cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/lib/libglsl.mk \
src/external/mit/xorg/lib/libloader.mk
cvs rdiff -u -r1.14 -r1.15 src/external/mit/xorg/lib/libmesa.mk
cvs rdiff -u -r1.38 -r1.39 src/external/mit/xorg/lib/dri/Makefile
cvs rdiff -u -r1.49 -r1.50 src/external/mit/xorg/lib/gallium/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/lib/libEGL/Makefile
cvs rdiff -u -r1.33 -r1.34 src/external/mit/xorg/lib/libGL/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/lib/libGL/mesa-ver.mk
cvs rdiff -u -r1.8 -r1.9 src/external/mit/xorg/lib/libgbm/Makefile
cvs rdiff -u -r1.9 -r1.10 src/external/mit/xorg/lib/libglapi/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib

2023-07-15 Thread Robert Swindells
Module Name:src
Committed By:   rjs
Date:   Sat Jul 15 21:24:47 UTC 2023

Modified Files:
src/external/mit/xorg/lib: Makefile libmesa.old.mk
src/external/mit/xorg/lib/dri.old: Makefile
src/external/mit/xorg/lib/gallium.old: Makefile
src/external/mit/xorg/lib/libGL.old: Makefile
src/external/mit/xorg/lib/libgbm.old: Makefile
src/external/mit/xorg/lib/libglapi.old: Makefile

Log Message:
Fixup more references to "old" components.

ok mrg@.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/external/mit/xorg/lib/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/lib/libmesa.old.mk
cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/lib/dri.old/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/lib/gallium.old/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/lib/libGL.old/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/lib/libgbm.old/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/lib/libglapi.old/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/Makefile
diff -u src/external/mit/xorg/lib/Makefile:1.57 src/external/mit/xorg/lib/Makefile:1.58
--- src/external/mit/xorg/lib/Makefile:1.57	Thu Jul 14 07:41:49 2022
+++ src/external/mit/xorg/lib/Makefile	Sat Jul 15 21:24:46 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.57 2022/07/14 07:41:49 mrg Exp $
+#	$NetBSD: Makefile,v 1.58 2023/07/15 21:24:46 rjs Exp $
 
 # build libraries for xorg
 
@@ -58,7 +58,7 @@ SUBDIR+=libGLU libGLw libXaw6 libXaw lib
 SUBDIR+=libgbm${OLD_SUFFIX}
 .if ${HAVE_XORG_GLAMOR} != "no"
 # libEGL depends upon libgbm
-SUBDIR+=.WAIT libEGL
+SUBDIR+=.WAIT libEGL${OLD_SUFFIX}
 .endif
 
 .include 

Index: src/external/mit/xorg/lib/libmesa.old.mk
diff -u src/external/mit/xorg/lib/libmesa.old.mk:1.2 src/external/mit/xorg/lib/libmesa.old.mk:1.3
--- src/external/mit/xorg/lib/libmesa.old.mk:1.2	Sun Jul 11 20:53:35 2021
+++ src/external/mit/xorg/lib/libmesa.old.mk	Sat Jul 15 21:24:46 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: libmesa.old.mk,v 1.2 2021/07/11 20:53:35 mrg Exp $
+#	$NetBSD: libmesa.old.mk,v 1.3 2023/07/15 21:24:46 rjs Exp $
 #
 # Consumer of this Makefile should set MESA_SRC_MODULES.
 
@@ -550,4 +550,4 @@ CPPFLAGS+=	\
 
 CFLAGS+=	-fvisibility=hidden -fno-strict-aliasing -fno-builtin-memcmp -fcommon
 
-.include "libGL/mesa-ver.mk"
+.include "libGL.old/mesa-ver.mk"

Index: src/external/mit/xorg/lib/dri.old/Makefile
diff -u src/external/mit/xorg/lib/dri.old/Makefile:1.6 src/external/mit/xorg/lib/dri.old/Makefile:1.7
--- src/external/mit/xorg/lib/dri.old/Makefile:1.6	Sun Jul  2 23:56:12 2023
+++ src/external/mit/xorg/lib/dri.old/Makefile	Sat Jul 15 21:24:46 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2023/07/02 23:56:12 rillig Exp $
+# $NetBSD: Makefile,v 1.7 2023/07/15 21:24:46 rjs Exp $
 
 # Link the mesa_dri_drivers mega driver.
 
@@ -449,8 +449,8 @@ LIBDPLIBS+= 	drm_intel	${.CURDIR}/../lib
 LIBDPLIBS+= 	drm_radeon	${.CURDIR}/../libdrm_radeon
 
 MESA_SRC_MODULES=  main math math_xform vbo tnl swrast ss common asm_c program asm_s
-.include "../libmesa.old.mk"
-.include "../libglsl.old.mk"
+.include "../libmesa${OLD_SUFFIX}.mk"
+.include "../libglsl${OLD_SUFFIX}.mk"
 
 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
 SRCS+=	streaming-load-memcpy.c
@@ -460,7 +460,7 @@ CPPFLAGS.isl_tiled_memcpy_sse41.c+=	-mss
 
 CFLAGS+= ${${ACTIVE_CC} == "clang":? -Wno-error=atomic-alignment :}
 
-.include "../driver.mk"
+.include "../driver${OLD_SUFFIX}.mk"
 
 .for _d in ${DRIVERS}
 SYMLINKS+= mesa_dri_drivers.so.${SHLIB_MAJOR} ${DRIDIR}/${_d}_dri.so.${SHLIB_MAJOR} 
@@ -474,7 +474,7 @@ SYMLINKS+= mesa_dri_drivers.so.${SHLIB_M
 
 PKGCONFIG=	dri
 PKGDIST.dri=	${X11SRCDIR.Mesa}/../src/pkgconfig
-.include "${.CURDIR}/../libGL/mesa-ver.mk"
+.include "${.CURDIR}/../libGL${OLD_SUFFIX}/mesa-ver.mk"
 PKGCONFIG_VERSION.dri=	${MESA_VER}
 
 # XXX remove these from bsd.x11.mk

Index: src/external/mit/xorg/lib/gallium.old/Makefile
diff -u src/external/mit/xorg/lib/gallium.old/Makefile:1.5 src/external/mit/xorg/lib/gallium.old/Makefile:1.6
--- src/external/mit/xorg/lib/gallium.old/Makefile:1.5	Tue Feb  7 06:19:03 2023
+++ src/external/mit/xorg/lib/gallium.old/Makefile	Sat Jul 15 21:24:46 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2023/02/07 06:19:03 mrg Exp $
+# $NetBSD: Makefile,v 1.6 2023/07/15 21:24:46 rjs Exp $
 
 # Transparent struct/union broken
 NOLINT=yes
@@ -1133,7 +1133,7 @@ CPPFLAGS+=	${CPPFLAGS.${XORG_MACHINE_ARC
 CPPFLAGS.r600_pipe_common.c+=	-DMESA_LLVM_VERSION_STRING=\"${LLVM_VERSION}\"
 CPPFLAGS.si_get.c+=	-DMESA_LLVM_VERSION_STRING=\"${LLVM_VERSION}\"
 
-.include "../driver.mk"
+.include "../driver${OLD_SUFFIX}.mk"
 
 
 .PATH: ${X11SRCDIR.Mesa}/src/gallium/targets/dri

Index: src/external/mit/xorg/lib/libGL.old/Makefile
diff -u src/external/mit/xorg/lib/libGL.old/Makefile:1.4 src/external/mit/xorg/lib/libGL.old/Makefile:1.5

CVS commit: src/external/mit/xorg/lib

2023-07-15 Thread Robert Swindells
Module Name:src
Committed By:   rjs
Date:   Sat Jul 15 21:24:47 UTC 2023

Modified Files:
src/external/mit/xorg/lib: Makefile libmesa.old.mk
src/external/mit/xorg/lib/dri.old: Makefile
src/external/mit/xorg/lib/gallium.old: Makefile
src/external/mit/xorg/lib/libGL.old: Makefile
src/external/mit/xorg/lib/libgbm.old: Makefile
src/external/mit/xorg/lib/libglapi.old: Makefile

Log Message:
Fixup more references to "old" components.

ok mrg@.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/external/mit/xorg/lib/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/lib/libmesa.old.mk
cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/lib/dri.old/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/lib/gallium.old/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/lib/libGL.old/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/lib/libgbm.old/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/lib/libglapi.old/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib/dri.old

2023-07-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul  2 23:56:12 UTC 2023

Modified Files:
src/external/mit/xorg/lib/dri.old: Makefile

Log Message:
dri.old: disable lint again


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/lib/dri.old/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/dri.old/Makefile
diff -u src/external/mit/xorg/lib/dri.old/Makefile:1.5 src/external/mit/xorg/lib/dri.old/Makefile:1.6
--- src/external/mit/xorg/lib/dri.old/Makefile:1.5	Sat Jul  1 15:16:46 2023
+++ src/external/mit/xorg/lib/dri.old/Makefile	Sun Jul  2 23:56:12 2023
@@ -1,7 +1,15 @@
-# $NetBSD: Makefile,v 1.5 2023/07/01 15:16:46 rillig Exp $
+# $NetBSD: Makefile,v 1.6 2023/07/02 23:56:12 rillig Exp $
 
 # Link the mesa_dri_drivers mega driver.
 
+# Uses 'assert(cond)' in a comma expression, leading to a syntax error because
+# in lint mode, 'assert(cond)' expands to an empty string, and '(, expr)' is
+# not an expression.
+NOLINT=
+
+LINTFLAGS+=	-X 213		# void function '%s' cannot return value
+LINTFLAGS+=	-Ac23		# allow C23, for empty initializer braces
+
 # When build_id.c expands the macro invocation 'ElfW(Nhdr)', the result is
 # 'Elf64 /* MD native binary size */ _Nhdr'. The comment prevents the two
 # identifiers from being concatenated.



CVS commit: src/external/mit/xorg/lib/dri.old

2023-07-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul  2 23:56:12 UTC 2023

Modified Files:
src/external/mit/xorg/lib/dri.old: Makefile

Log Message:
dri.old: disable lint again


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/lib/dri.old/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib/dri.old

2023-07-01 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Jul  1 15:16:46 UTC 2023

Modified Files:
src/external/mit/xorg/lib/dri.old: Makefile

Log Message:
dri.old: only disable lint for a single file


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/lib/dri.old/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/dri.old/Makefile
diff -u src/external/mit/xorg/lib/dri.old/Makefile:1.4 src/external/mit/xorg/lib/dri.old/Makefile:1.5
--- src/external/mit/xorg/lib/dri.old/Makefile:1.4	Thu Sep 29 18:58:04 2022
+++ src/external/mit/xorg/lib/dri.old/Makefile	Sat Jul  1 15:16:46 2023
@@ -1,9 +1,12 @@
-# $NetBSD: Makefile,v 1.4 2022/09/29 18:58:04 rjs Exp $
+# $NetBSD: Makefile,v 1.5 2023/07/01 15:16:46 rillig Exp $
 
 # Link the mesa_dri_drivers mega driver.
 
-# XXX: anonymous structs inside anonymous unions don't work.
-NOLINT=yes
+# When build_id.c expands the macro invocation 'ElfW(Nhdr)', the result is
+# 'Elf64 /* MD native binary size */ _Nhdr'. The comment prevents the two
+# identifiers from being concatenated.
+build_id.ln:
+	touch $@
 
 .include 
 



CVS commit: src/external/mit/xorg/lib/dri.old

2023-07-01 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Jul  1 15:16:46 UTC 2023

Modified Files:
src/external/mit/xorg/lib/dri.old: Makefile

Log Message:
dri.old: only disable lint for a single file


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/lib/dri.old/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/bin/xcalc

2023-06-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Jun 19 07:40:59 UTC 2023

Modified Files:
src/external/mit/xorg/bin/xcalc: Makefile

Log Message:
use xorg-pkg-ver.mk to get PACKAGE_STRING defined.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/bin/xcalc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/bin/xcalc

2023-06-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Jun 19 07:40:59 UTC 2023

Modified Files:
src/external/mit/xorg/bin/xcalc: Makefile

Log Message:
use xorg-pkg-ver.mk to get PACKAGE_STRING defined.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/bin/xcalc/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/bin/xcalc/Makefile
diff -u src/external/mit/xorg/bin/xcalc/Makefile:1.5 src/external/mit/xorg/bin/xcalc/Makefile:1.6
--- src/external/mit/xorg/bin/xcalc/Makefile:1.5	Mon Jul  8 20:37:33 2019
+++ src/external/mit/xorg/bin/xcalc/Makefile	Mon Jun 19 07:40:59 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2019/07/08 20:37:33 mrg Exp $
+#	$NetBSD: Makefile,v 1.6 2023/06/19 07:40:59 mrg Exp $
 
 .include 
 
@@ -16,5 +16,7 @@ CPPFLAGS+=	-DHAVE_STRLCPY -D_CONST_X_STR
 .PATH:	${X11SRCDIR.${PROG}} ${X11SRCDIR.${PROG}}/app-defaults
 .PATH:	${X11SRCDIR.${PROG}}/man
 
+.include "../../xorg-pkg-ver.mk"
+
 .include 
 .include 



CVS commit: src/external/mit/xorg/lib/libXt

2023-06-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Jun 19 07:21:17 UTC 2023

Modified Files:
src/external/mit/xorg/lib/libXt: Makefile

Log Message:
transform XFILESEARCHPATHDEFAULT in the pkg-config file.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/lib/libXt/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/libXt/Makefile
diff -u src/external/mit/xorg/lib/libXt/Makefile:1.7 src/external/mit/xorg/lib/libXt/Makefile:1.8
--- src/external/mit/xorg/lib/libXt/Makefile:1.7	Thu Jul 11 05:44:07 2019
+++ src/external/mit/xorg/lib/libXt/Makefile	Mon Jun 19 07:21:17 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2019/07/11 05:44:07 mrg Exp $
+#	$NetBSD: Makefile,v 1.8 2023/06/19 07:21:17 mrg Exp $
 
 .include 
 
@@ -32,7 +32,8 @@ CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11
 CPPFLAGS+=	-DUSE_POLL -DUSE_SNPRINTF -DLIBXT -I.
 CPPFLAGS+=	-DHAVE_ASPRINTF -D_CONST_X_STRING
 
-CPPFLAGS.Intrinsic.c=	-DXFILESEARCHPATHDEFAULT=\"${X11LIBDIR}/%L/%T/%N%C%S:${X11LIBDIR}/%l/%T/%N%C%S:${X11LIBDIR}/%T/%N%C%S:${X11LIBDIR}/%L/%T/%N%S:${X11LIBDIR}/%l/%T/%N%S:${X11LIBDIR}/%T/%N%S\"
+XFILESEARCHPATHDEFAULT=${X11LIBDIR}/%L/%T/%N%C%S:${X11LIBDIR}/%l/%T/%N%C%S:${X11LIBDIR}/%T/%N%C%S:${X11LIBDIR}/%L/%T/%N%S:${X11LIBDIR}/%l/%T/%N%S:${X11LIBDIR}/%T/%N%S
+CPPFLAGS.Intrinsic.c=	-DXFILESEARCHPATHDEFAULT=\"${XFILESEARCHPATHDEFAULT}\"
 CPPFLAGS.Error.c=	-DERRORDB=\"${X11LIBDIR}/XtErrorDB\" \
 			-DXTERROR_PREFIX=\"\" -DXTWARNING_PREFIX=\"\"
 CPPFLAGS.TMkey.c=	-DXKB
@@ -306,5 +307,8 @@ PKGDIST=	${LIB}
 
 CWARNFLAGS.clang+=	-Wno-tautological-compare
 
+PKGCONFIG_SED_FLAGS+= \
+	-e "s,@XFILESEARCHPATHDEFAULT@,${XFILESEARCHPATHDEFAULT},"
+
 .include 
 .include 



CVS commit: src/external/mit/xorg/lib/libXt

2023-06-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Jun 19 07:21:17 UTC 2023

Modified Files:
src/external/mit/xorg/lib/libXt: Makefile

Log Message:
transform XFILESEARCHPATHDEFAULT in the pkg-config file.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/lib/libXt/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib/xkeyboard-config

2023-03-23 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Mar 23 06:23:14 UTC 2023

Modified Files:
src/external/mit/xorg/lib/xkeyboard-config: xkeyboard-config.man
src/external/mit/xorg/lib/xkeyboard-config/rules: base base.lst evdev
evdev.lst

Log Message:
updates for xkeyboard-config 2.38.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 \
src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man
cvs rdiff -u -r1.18 -r1.19 \
src/external/mit/xorg/lib/xkeyboard-config/rules/base \
src/external/mit/xorg/lib/xkeyboard-config/rules/base.lst \
src/external/mit/xorg/lib/xkeyboard-config/rules/evdev.lst
cvs rdiff -u -r1.17 -r1.18 \
src/external/mit/xorg/lib/xkeyboard-config/rules/evdev

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/xkeyboard-config/xkeyboard-config.man
diff -u src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man:1.12 src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man:1.13
--- src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man:1.12	Fri Feb 10 13:22:58 2023
+++ src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man	Thu Mar 23 06:23:13 2023
@@ -1,5 +1,5 @@
 .\" WARNING: this man page is autogenerated. Do not edit or you will lose all your changes.
-.TH XKEYBOARD-CONFIG 7 "xkeyboard-config 2.37" "X Version 11"
+.TH XKEYBOARD-CONFIG 7 "xkeyboard-config 2.38" "X Version 11"
 .SH NAME
 xkeyboard-config \- XKB data description files
 .SH DESCRIPTION
@@ -13,7 +13,7 @@ settings in the xorg.conf(5).
 .SH XKB DATA FILES LOAD PATHS
 
 xkeyboard-config provides the XKB data files installed in
-@xkb_base@. User-specific data files may be elsewhere but it depends on
+/usr/X11R7/share/X11/xkb. User-specific data files may be elsewhere but it depends on
 the tool whether those files are loaded. For example, the libxkbcommon
 library will by default load XKB data files from the user's home directory.
 See the libxkbcommon documentation for details.
@@ -22,7 +22,7 @@ See the libxkbcommon documentation for d
 
 The "custom" layout is a layout that is listed as available to tools
 reading the data files but is not actually provided by xkeyboard-config.
-A user may save a layout specification in the @xkb_base@/symbols/custom file
+A user may save a layout specification in the /usr/X11R7/share/X11/xkb/symbols/custom file
 and that layout will be available to most tools interacting with the
 xkeyboard-config data files. This is primarily aimed at systems running X
 where additional lookup paths cannot easily be added.
@@ -246,6 +246,7 @@ us(alt-intl)	English (US, alt. intl.)
 us(colemak)	English (Colemak)
 us(colemak_dh)	English (Colemak-DH)
 us(colemak_dh_iso)	English (Colemak-DH ISO)
+us(colemak_dh_ortho)	English (Colemak-DH Ortholinear)
 us(dvorak)	English (Dvorak)
 us(dvorak-intl)	English (Dvorak, intl., with dead keys)
 us(dvorak-alt-intl)	English (Dvorak, alt. intl.)
@@ -338,6 +339,7 @@ in(ben_gitanjali)	Bangla (India, Gitanja
 in(ben_inscript)	Bangla (India, Baishakhi InScript)
 in(eeyek)	Manipuri (Eeyek)
 in(guj)	Gujarati
+in(guj-kagapa)	Gujarati (KaGaPa, phonetic)
 in(guru)	Punjabi (Gurmukhi)
 in(jhelum)	Punjabi (Gurmukhi Jhelum)
 in(kan)	Kannada
@@ -684,7 +686,8 @@ lv	Latvian
 lv(apostrophe)	Latvian (apostrophe)
 lv(tilde)	Latvian (tilde)
 lv(fkey)	Latvian (F)
-lv(modern)	Latvian (modern)
+lv(modern)	Latvian (Modern Latin)
+lv(modern-cyr)	Latvian (Modern Cyrillic)
 lv(ergonomic)	Latvian (ergonomic, ŪGJRMV)
 lv(adapted)	Latvian (adapted)
 
@@ -1135,6 +1138,7 @@ ctrl:aa_ctrl	At the bottom left
 ctrl:rctrl_ralt	Right Ctrl as Right Alt
 ctrl:menu_rctrl	Menu as Right Ctrl
 ctrl:swap_lalt_lctl	Swap Left Alt with Left Ctrl
+ctrl:swap_ralt_rctl	Swap Right Alt with Right Ctrl
 ctrl:swap_lwin_lctl	Swap Left Win with Left Ctrl
 ctrl:swap_rwin_rctl	Swap Right Win with Right Ctrl
 ctrl:swap_lalt_lctl_lwin	Left Alt as Ctrl, Left Ctrl as Win, Left Win as Left Alt
@@ -1317,6 +1321,8 @@ numpad:microsoft	Num Lock on: digits; Sh
 numpad:shift3	Shift does not cancel Num Lock, chooses 3rd level instead
 srvrkeys:none	Special keys (Ctrl+Alt+) handled in a server
 apple:alupckeys	Apple Aluminium emulates Pause, PrtSc, Scroll Lock
+apple:jp_oadg109a	Japanese Apple keyboards emulate OADG109A backslash
+apple:jp_pc106	Japanese Apple keyboards emulate PC106 backslash
 shift:breaks_caps	Shift cancels Caps Lock
 misc:typo	Enable extra typographic characters
 misc:apl	Enable APL overlay characters
@@ -1475,23 +1481,23 @@ terminate:ctrl_alt_bksp	Ctrl+Alt+Backspa
 
 
 .SH FILES
-@xkb_base@/compat
+/usr/X11R7/share/X11/xkb/compat
 
-@xkb_base@/compiled
+/usr/X11R7/share/X11/xkb/compiled
 
-@xkb_base@/geometry
+/usr/X11R7/share/X11/xkb/geometry
 
-@xkb_base@/keycodes
+/usr/X11R7/share/X11/xkb/keycodes
 
-@xkb_base@/keymap
+/usr/X11R7/share/X11/xkb/keymap
 
-@xkb_base@/rules
+/usr/X11R7/share/X11/xkb/rules
 

CVS commit: src/external/mit/xorg/lib/xkeyboard-config

2023-03-23 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Mar 23 06:23:14 UTC 2023

Modified Files:
src/external/mit/xorg/lib/xkeyboard-config: xkeyboard-config.man
src/external/mit/xorg/lib/xkeyboard-config/rules: base base.lst evdev
evdev.lst

Log Message:
updates for xkeyboard-config 2.38.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 \
src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man
cvs rdiff -u -r1.18 -r1.19 \
src/external/mit/xorg/lib/xkeyboard-config/rules/base \
src/external/mit/xorg/lib/xkeyboard-config/rules/base.lst \
src/external/mit/xorg/lib/xkeyboard-config/rules/evdev.lst
cvs rdiff -u -r1.17 -r1.18 \
src/external/mit/xorg/lib/xkeyboard-config/rules/evdev

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/server/drivers

2023-02-26 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 27 00:34:11 UTC 2023

Modified Files:
src/external/mit/xorg/server/drivers: Makefile

Log Message:
obsolete several xorg-server.old configurations and normalise some comments.


To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 src/external/mit/xorg/server/drivers/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/server/drivers/Makefile
diff -u src/external/mit/xorg/server/drivers/Makefile:1.108 src/external/mit/xorg/server/drivers/Makefile:1.109
--- src/external/mit/xorg/server/drivers/Makefile:1.108	Fri Jul 15 19:12:39 2022
+++ src/external/mit/xorg/server/drivers/Makefile	Mon Feb 27 00:34:11 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.108 2022/07/15 19:12:39 mrg Exp $
+#	$NetBSD: Makefile,v 1.109 2023/02/27 00:34:11 mrg Exp $
 
 .include 
 
@@ -115,19 +115,17 @@ SUBDIR+= \
 	xf86-video-wsfb
 .endif	# ${MACHINE} == "amiga"
 
-# needs porting for xorg-server 21.1.3
-#	xf86-video-s3
 .if ${MACHINE} == "bebox"
 SUBDIR+= \
 	xf86-video-cirrus \
 	xf86-video-mga \
 	xf86-video-s3virge
-.endif	# ${MACHINE} == "bebox"
 
 # needs porting for xorg-server 21.1.3
 #	xf86-video-s3
-#	xf86-video-tga
-#	xf86-video-trident
+
+.endif	# ${MACHINE} == "bebox"
+
 .if ${MACHINE} == "cats"
 SUBDIR+= \
 	xf86-video-ast \
@@ -147,12 +145,17 @@ SUBDIR+= \
 	xf86-video-tseng \
 	xf86-video-vesa \
 	xf86-video-wsfb
+
+# needs porting for xorg-server 21.1.3
+#	xf86-video-s3
+#	xf86-video-tga
+#	xf86-video-trident
+
 # needs porting for xorg-server 1.18
-.if ${XORG_SERVER_SUBDIR} == "xorg-server.old"
-	xf86-video-apm \
-	xf86-video-ark \
-	xf86-video-glint
-.endif	# ${XORG_SERVER_SUBDIR} == "xorg-server.old"
+#	xf86-video-apm \
+#	xf86-video-ark \
+#	xf86-video-glint
+
 .endif	# ${MACHINE} == "cats"
 
 .if ${MACHINE} == "dreamcast"
@@ -227,8 +230,6 @@ SUBDIR+= \
 	xf86-video-wsfb
 .endif	# ${MACHINE} == "mac68k"
 
-# needs porting for xorg-server 21.1.3
-#	xf86-video-glint
 .if ${MACHINE} == "macppc"
 SUBDIR+= \
 	xf86-video-ati \
@@ -240,7 +241,11 @@ SUBDIR+= \
 	xf86-video-r128 \
 	xf86-video-tdfx \
 	xf86-video-wsfb
+
+# needs porting for xorg-server 21.1.3
+#	xf86-video-glint
 #	xf86-video-imstt
+
 .endif	# ${MACHINE} == "macppc"
 
 .if ${MACHINE} == "netwinder"
@@ -267,12 +272,14 @@ SUBDIR+= \
 	xf86-video-wsfb
 .endif	# ${MACHINE} == "ofppc"
 
-# needs porting for xorg-server 21.1.3
-#	xf86-video-s3
 .if ${MACHINE} == "prep"
 SUBDIR+= \
 	xf86-video-cirrus \
 	xf86-video-mga
+
+# needs porting for xorg-server 21.1.3
+#	xf86-video-s3
+
 .endif	# ${MACHINE} == "prep"
 
 .if ${MACHINE} == "sgimips"
@@ -296,8 +303,6 @@ SUBDIR+= \
 xf86-video-wsfb
 .endif	# ${MACHINE} == "shark"
 
-# needs porting for xorg-server 21.1.3
-#	xf86-video-glint
 .if ${MACHINE} == "sparc" || \
 ${MACHINE} == "sparc64"
 SUBDIR+= \
@@ -309,13 +314,11 @@ SUBDIR+= \
 	xf86-video-suncg6 \
 	xf86-video-sunffb \
 	xf86-video-wsfb
-#	xf86-video-ag10e \
 
-.if ${XORG_SERVER_SUBDIR} == "xorg-server.old"
-SUBDIR+= \
-	xf86-video-ag10e \
-	xf86-video-sunleo
-.endif	# ${XORG_SERVER_SUBDIR} == "xorg-server.old"
+# needs porting for xorg-server 21.1.3
+#	xf86-video-glint
+#	xf86-video-ag10e \
+#	xf86-video-sunleo
 
 .if ${MACHINE} == "sparc"
 SUBDIR+= \
@@ -323,11 +326,11 @@ SUBDIR+= \
 	xf86-video-suncg14 \
 	xf86-video-suntcx
 
-.if ${XORG_SERVER_SUBDIR} == "xorg-server.old"
-SUBDIR+= \
-	xf86-video-pnozz
-.endif	# ${XORG_SERVER_SUBDIR} == "xorg-server.old"
+# needs porting for xorg-server 21.1.3
+#	xf86-video-pnozz
+
 .endif	# ${MACHINE} == "sparc"
+
 .endif	# ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
 
 .if ${MACHINE} == "pmax" || \



CVS commit: src/external/mit/xorg/server/drivers

2023-02-26 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 27 00:34:11 UTC 2023

Modified Files:
src/external/mit/xorg/server/drivers: Makefile

Log Message:
obsolete several xorg-server.old configurations and normalise some comments.


To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 src/external/mit/xorg/server/drivers/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/server/drivers/xf86-video-trident

2023-02-26 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Feb 26 20:19:05 UTC 2023

Modified Files:
src/external/mit/xorg/server/drivers/xf86-video-trident: Makefile

Log Message:
updates for xf86-video-trident 1.4.0.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 \
src/external/mit/xorg/server/drivers/xf86-video-trident/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/server/drivers/xf86-video-trident/Makefile
diff -u src/external/mit/xorg/server/drivers/xf86-video-trident/Makefile:1.8 src/external/mit/xorg/server/drivers/xf86-video-trident/Makefile:1.9
--- src/external/mit/xorg/server/drivers/xf86-video-trident/Makefile:1.8	Tue Aug 16 06:24:03 2016
+++ src/external/mit/xorg/server/drivers/xf86-video-trident/Makefile	Sun Feb 26 20:19:05 2023
@@ -1,17 +1,18 @@
-#	$NetBSD: Makefile,v 1.8 2016/08/16 06:24:03 mrg Exp $
+#	$NetBSD: Makefile,v 1.9 2023/02/26 20:19:05 mrg Exp $
 
 DRIVER=		xf86-video-trident
 DRIVER_NAME=	trident_drv
 
-SRCS=		blade_accel.c blade_accel_exa.c image_accel.c
-SRCS+=		trident_accel.c trident_bank.c trident_dac.c
-SRCS+=		trident_dga.c trident_driver.c tridenthelper.c
-SRCS+=		trident_i2c.c trident_shadow.c
-SRCS+=		trident_tv.c trident_video.c tvga_dac.c xp_accel.c
-SRCS+=		xp4_accel.c xp4_accel_exa.c
+SRCS=		blade_exa.c blade_xaa.c image_xaa.c
+SRCS+=		tgui_xaa.c trident_bank.c trident_dac.c
+SRCS+=		trident_dga.c trident_driver.c
+SRCS+=		trident_i2c.c trident_pll.c trident_shadow.c
+SRCS+=		trident_tv.c trident_video.c tvga_dac.c
+SRCS+=		xp_xaa.c xp4_exa.c xp4_xaa.c
+
 MAN=		trident.4
 
-COPTS.trident_driver.c=	-Wno-error	# XXX xf86dgastr.h
+#COPTS.trident_driver.c=	-Wno-error	# XXX xf86dgastr.h
 
 CWARNFLAGS.clang+=	-Wno-return-type -Wno-empty-body
 



CVS commit: src/external/mit/xorg/server/drivers/xf86-video-trident

2023-02-26 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Feb 26 20:19:05 UTC 2023

Modified Files:
src/external/mit/xorg/server/drivers/xf86-video-trident: Makefile

Log Message:
updates for xf86-video-trident 1.4.0.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 \
src/external/mit/xorg/server/drivers/xf86-video-trident/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg

2023-02-24 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb 24 17:08:31 UTC 2023

Modified Files:
src/external/mit/xorg/lib/freetype: Makefile
src/external/mit/xorg/tools/fc-cache: Makefile
src/external/mit/xorg/tools/mkfontscale: Makefile

Log Message:
arrange for ftoption.h to define FT_CONFIG_OPTION_USE_BROTLI but not for tools

guard the definition in ftoption.h with #ifndef TOOL_FCCACHE, and build the
tools portions with this defined if not already set.

this fixes building pkgsrc blender with native x11.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/external/mit/xorg/lib/freetype/Makefile
cvs rdiff -u -r1.21 -r1.22 src/external/mit/xorg/tools/fc-cache/Makefile
cvs rdiff -u -r1.16 -r1.17 src/external/mit/xorg/tools/mkfontscale/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/freetype/Makefile
diff -u src/external/mit/xorg/lib/freetype/Makefile:1.23 src/external/mit/xorg/lib/freetype/Makefile:1.24
--- src/external/mit/xorg/lib/freetype/Makefile:1.23	Tue Nov 16 09:25:51 2021
+++ src/external/mit/xorg/lib/freetype/Makefile	Fri Feb 24 17:08:31 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.23 2021/11/16 09:25:51 nia Exp $
+#	$NetBSD: Makefile,v 1.24 2023/02/24 17:08:31 mrg Exp $
 
 USE_FORT?=	yes # data-driven bugs?
 
@@ -103,6 +103,9 @@ LIBDPLIBS= \
 	z ${.CURDIR}/../../../../../lib/libz \
 	bz2 ${.CURDIR}/../../../../../lib/libbz2
 
+.include "../brotli/brotli.mk"
+CPPFLAGS+= -I${X11SRCDIR.brotli}/c/include
+
 PKGCONFIG=	freetype2
 PKGDIST.freetype2=	${.CURDIR}
 PKGCONFIG_VERSION.freetype2=	23:0:17

Index: src/external/mit/xorg/tools/fc-cache/Makefile
diff -u src/external/mit/xorg/tools/fc-cache/Makefile:1.21 src/external/mit/xorg/tools/fc-cache/Makefile:1.22
--- src/external/mit/xorg/tools/fc-cache/Makefile:1.21	Thu Jan 19 17:07:38 2023
+++ src/external/mit/xorg/tools/fc-cache/Makefile	Fri Feb 24 17:08:31 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.21 2023/01/19 17:07:38 martin Exp $
+#	$NetBSD: Makefile,v 1.22 2023/02/24 17:08:31 mrg Exp $
 
 .include 
 
@@ -122,7 +122,6 @@ HOST_CPPFLAGS+=	-I${FONTCONFIG} -I${FREE
 		-I${FONTCONFIG}/../include
 
 HOST_CPPFLAGS+=	-DXML_POOR_ENTROPY
-
 HOST_CPPFLAGS+=	-DTOOL_FCCACHE
 
 LDADD=	-lz

Index: src/external/mit/xorg/tools/mkfontscale/Makefile
diff -u src/external/mit/xorg/tools/mkfontscale/Makefile:1.16 src/external/mit/xorg/tools/mkfontscale/Makefile:1.17
--- src/external/mit/xorg/tools/mkfontscale/Makefile:1.16	Fri Sep  9 19:15:20 2022
+++ src/external/mit/xorg/tools/mkfontscale/Makefile	Fri Feb 24 17:08:31 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.16 2022/09/09 19:15:20 mrg Exp $
+#	$NetBSD: Makefile,v 1.17 2023/02/24 17:08:31 mrg Exp $
 
 .include 
 
@@ -94,5 +94,7 @@ HOST_CPPFLAGS+=	-I${FREETYPE}/include -I
 		-I${DESTDIR}${X11INCDIR} \
 		-I${DESTDIR}${X11INCDIR}/freetype2
 
+HOST_CPPFLAGS+=	-DTOOL_FCCACHE
+
 .include 
 .include 



CVS commit: src/external/mit/xorg

2023-02-24 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb 24 17:08:31 UTC 2023

Modified Files:
src/external/mit/xorg/lib/freetype: Makefile
src/external/mit/xorg/tools/fc-cache: Makefile
src/external/mit/xorg/tools/mkfontscale: Makefile

Log Message:
arrange for ftoption.h to define FT_CONFIG_OPTION_USE_BROTLI but not for tools

guard the definition in ftoption.h with #ifndef TOOL_FCCACHE, and build the
tools portions with this defined if not already set.

this fixes building pkgsrc blender with native x11.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/external/mit/xorg/lib/freetype/Makefile
cvs rdiff -u -r1.21 -r1.22 src/external/mit/xorg/tools/fc-cache/Makefile
cvs rdiff -u -r1.16 -r1.17 src/external/mit/xorg/tools/mkfontscale/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib/xkeyboard-config

2023-02-10 Thread Niclas Rosenvik
Module Name:src
Committed By:   nros
Date:   Fri Feb 10 13:22:58 UTC 2023

Modified Files:
src/external/mit/xorg/lib/xkeyboard-config: xkeyboard-config.man
xkeyboard-config.pc.in

Log Message:
Fix xkb_base in the pkg-config file and mapage for xkeyboard-config

The xkbdata files are installed in /usr/X11R7/lib/X11/xkb
not /usr/X11R7/share/X11/xkb. The wrong directory causes
build failures in pkgsrc packages that use the xkb_base
variable.
Also base the datadir on the vars from bsd.x11.mk.
Also use @xkb_base@ instead of /usr/X11R7/share/lib/X11/xkb
in the manpage to show the right xkbdata directory.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 \
src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man
cvs rdiff -u -r1.1 -r1.2 \
src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.pc.in

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/xkeyboard-config/xkeyboard-config.man
diff -u src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man:1.11 src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man:1.12
--- src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man:1.11	Mon Oct 17 07:40:23 2022
+++ src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man	Fri Feb 10 13:22:58 2023
@@ -13,7 +13,7 @@ settings in the xorg.conf(5).
 .SH XKB DATA FILES LOAD PATHS
 
 xkeyboard-config provides the XKB data files installed in
-/usr/X11R7/share/X11/xkb. User-specific data files may be elsewhere but it depends on
+@xkb_base@. User-specific data files may be elsewhere but it depends on
 the tool whether those files are loaded. For example, the libxkbcommon
 library will by default load XKB data files from the user's home directory.
 See the libxkbcommon documentation for details.
@@ -22,7 +22,7 @@ See the libxkbcommon documentation for d
 
 The "custom" layout is a layout that is listed as available to tools
 reading the data files but is not actually provided by xkeyboard-config.
-A user may save a layout specification in the /usr/X11R7/share/X11/xkb/symbols/custom file
+A user may save a layout specification in the @xkb_base@/symbols/custom file
 and that layout will be available to most tools interacting with the
 xkeyboard-config data files. This is primarily aimed at systems running X
 where additional lookup paths cannot easily be added.
@@ -1475,23 +1475,23 @@ terminate:ctrl_alt_bksp	Ctrl+Alt+Backspa
 
 
 .SH FILES
-/usr/X11R7/share/X11/xkb/compat
+@xkb_base@/compat
 
-/usr/X11R7/share/X11/xkb/compiled
+@xkb_base@/compiled
 
-/usr/X11R7/share/X11/xkb/geometry
+@xkb_base@/geometry
 
-/usr/X11R7/share/X11/xkb/keycodes
+@xkb_base@/keycodes
 
-/usr/X11R7/share/X11/xkb/keymap
+@xkb_base@/keymap
 
-/usr/X11R7/share/X11/xkb/rules
+@xkb_base@/rules
 
-/usr/X11R7/share/X11/xkb/semantics
+@xkb_base@/semantics
 
-/usr/X11R7/share/X11/xkb/symbols
+@xkb_base@/symbols
 
-/usr/X11R7/share/X11/xkb/types
+@xkb_base@/types
 
 .SH SEE ALSO
 setxkbmap(1)

Index: src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.pc.in
diff -u src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.pc.in:1.1 src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.pc.in:1.2
--- src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.pc.in:1.1	Tue Oct 18 07:36:38 2022
+++ src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.pc.in	Fri Feb 10 13:22:58 2023
@@ -1,6 +1,7 @@
-
-datadir=/usr/X11R7/share
-xkb_base=/usr/X11R7/share/X11/xkb
+prefix=@prefix@
+datarootdir=@datarootdir@
+datadir=@datadir@
+xkb_base=@xkb_base@
 
 Name: XKeyboardConfig
 Description: X Keyboard configuration data



CVS commit: src/external/mit/xorg/lib/xkeyboard-config

2023-02-10 Thread Niclas Rosenvik
Module Name:src
Committed By:   nros
Date:   Fri Feb 10 13:22:58 UTC 2023

Modified Files:
src/external/mit/xorg/lib/xkeyboard-config: xkeyboard-config.man
xkeyboard-config.pc.in

Log Message:
Fix xkb_base in the pkg-config file and mapage for xkeyboard-config

The xkbdata files are installed in /usr/X11R7/lib/X11/xkb
not /usr/X11R7/share/X11/xkb. The wrong directory causes
build failures in pkgsrc packages that use the xkb_base
variable.
Also base the datadir on the vars from bsd.x11.mk.
Also use @xkb_base@ instead of /usr/X11R7/share/lib/X11/xkb
in the manpage to show the right xkbdata directory.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 \
src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.man
cvs rdiff -u -r1.1 -r1.2 \
src/external/mit/xorg/lib/xkeyboard-config/xkeyboard-config.pc.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib

2023-02-06 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  7 06:19:03 UTC 2023

Modified Files:
src/external/mit/xorg/lib/gallium: Makefile
src/external/mit/xorg/lib/gallium.old: Makefile

Log Message:
apply -g1 to the gallium sources as well.  saves another couple of 100MB.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/external/mit/xorg/lib/gallium/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/lib/gallium.old/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/gallium/Makefile
diff -u src/external/mit/xorg/lib/gallium/Makefile:1.48 src/external/mit/xorg/lib/gallium/Makefile:1.49
--- src/external/mit/xorg/lib/gallium/Makefile:1.48	Sun Jul 11 20:52:06 2021
+++ src/external/mit/xorg/lib/gallium/Makefile	Tue Feb  7 06:19:03 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2021/07/11 20:52:06 mrg Exp $
+# $NetBSD: Makefile,v 1.49 2023/02/07 06:19:03 mrg Exp $
 
 # Link the gallium mega driver.
 
@@ -28,6 +28,12 @@ CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/libd
 CFLAGS+=	-pthread
 LDFLAGS+=	-pthread
 
+# Reduce debugging for these extremely large objects.
+.if ${MKDEBUG:Uno} != "no"
+CXXFLAGS+=	-g1
+CFLAGS+=	-g1
+.endif
+
 GALLIUM_SUBDIRS= \
 	auxiliary \
 	auxiliary/cso_cache \

Index: src/external/mit/xorg/lib/gallium.old/Makefile
diff -u src/external/mit/xorg/lib/gallium.old/Makefile:1.4 src/external/mit/xorg/lib/gallium.old/Makefile:1.5
--- src/external/mit/xorg/lib/gallium.old/Makefile:1.4	Thu Sep 29 18:58:04 2022
+++ src/external/mit/xorg/lib/gallium.old/Makefile	Tue Feb  7 06:19:03 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2022/09/29 18:58:04 rjs Exp $
+# $NetBSD: Makefile,v 1.5 2023/02/07 06:19:03 mrg Exp $
 
 # Transparent struct/union broken
 NOLINT=yes
@@ -31,6 +31,12 @@ CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/libd
 CFLAGS+=	-pthread
 LDFLAGS+=	-pthread
 
+# Reduce debugging for these extremely large objects.
+.if ${MKDEBUG:Uno} != "no"
+CXXFLAGS+=	-g1
+CFLAGS+=	-g1
+.endif
+
 GALLIUM_SUBDIRS= \
 	auxiliary \
 	auxiliary/cso_cache \



CVS commit: src/external/mit/xorg/lib

2023-02-06 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  7 06:19:03 UTC 2023

Modified Files:
src/external/mit/xorg/lib/gallium: Makefile
src/external/mit/xorg/lib/gallium.old: Makefile

Log Message:
apply -g1 to the gallium sources as well.  saves another couple of 100MB.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/external/mit/xorg/lib/gallium/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/lib/gallium.old/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib/brotli

2023-01-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jan 29 07:54:11 UTC 2023

Added Files:
src/external/mit/xorg/lib/brotli: brotli-rename.mk brotli.mk

Log Message:
build framework for embedded brotli.

need to figure out a way to handle tools build vs installed build
before we can enable it in freetype itself.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/mit/xorg/lib/brotli/brotli-rename.mk \
src/external/mit/xorg/lib/brotli/brotli.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: src/external/mit/xorg/lib/brotli/brotli-rename.mk
diff -u /dev/null src/external/mit/xorg/lib/brotli/brotli-rename.mk:1.1
--- /dev/null	Sun Jan 29 07:54:11 2023
+++ src/external/mit/xorg/lib/brotli/brotli-rename.mk	Sun Jan 29 07:54:11 2023
@@ -0,0 +1,41 @@
+#	$NetBSD: brotli-rename.mk,v 1.1 2023/01/29 07:54:11 mrg Exp $
+
+#
+# functions exported by freetype's private brotli copy are renamed to have
+# a "nbft_" prefix.
+#
+
+RENAME_FUNCS= \
+	BrotliBuildCodeLengthsHuffmanTable \
+	BrotliBuildHuffmanTable \
+	BrotliBuildSimpleHuffmanTable \
+	BrotliDecoderCreateInstance \
+	BrotliDecoderDecompress \
+	BrotliDecoderDecompressStream \
+	BrotliDecoderDestroyInstance \
+	BrotliDecoderErrorString \
+	BrotliDecoderGetErrorCode \
+	BrotliDecoderHasMoreOutput \
+	BrotliDecoderHuffmanTreeGroupInit \
+	BrotliDecoderIsFinished \
+	BrotliDecoderIsUsed \
+	BrotliDecoderSetParameter \
+	BrotliDecoderStateCleanup \
+	BrotliDecoderStateCleanupAfterMetablock \
+	BrotliDecoderStateInit \
+	BrotliDecoderStateMetablockBegin \
+	BrotliDecoderTakeOutput \
+	BrotliDecoderVersion \
+	BrotliDefaultAllocFunc \
+	BrotliDefaultFreeFunc \
+	BrotliGetDictionary \
+	BrotliGetTransforms \
+	BrotliInitBitReader \
+	BrotliSafeReadBits32Slow \
+	BrotliSetDictionaryData \
+	BrotliTransformDictionaryWord \
+	BrotliWarmupBitReader \
+
+.for _f in ${RENAME_FUNCS}
+CPPFLAGS+= -D${_f}=nbft_${_f}
+.endfor
Index: src/external/mit/xorg/lib/brotli/brotli.mk
diff -u /dev/null src/external/mit/xorg/lib/brotli/brotli.mk:1.1
--- /dev/null	Sun Jan 29 07:54:11 2023
+++ src/external/mit/xorg/lib/brotli/brotli.mk	Sun Jan 29 07:54:11 2023
@@ -0,0 +1,24 @@
+#	$NetBSD: brotli.mk,v 1.1 2023/01/29 07:54:11 mrg Exp $
+
+# makefile fragment to build brotlidec for freetype2
+
+.include "bsd.own.mk"
+
+BROTLI_SRCS=	bit_reader.c decode.c huffman.c state.c
+BROTLI_SRCS+=	constants.c context.c dictionary.c platform.c transform.c
+
+SRCS+=		${BROTLI_SRCS}
+
+.for _f in ${BROTLI_SRCS}
+CFLAGS.${_f}+=	-fcommon
+CPPFLAGS+${_f}=	-DBROTLIDEC_SHARED_COMPILATION \
+		-DBROTLI_HAVE_LOG2=1 \
+		-DBROTLI_SHARED_COMPILATION \
+		-DNDEBUG \
+		-I${X11SRCDIR.brotli}/c/include
+.endfor
+
+.include "brotli-rename.mk"
+
+.PATH: ${X11SRCDIR.brotli}/c/dec
+.PATH: ${X11SRCDIR.brotli}/c/common



CVS commit: src/external/mit/xorg/lib/brotli

2023-01-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jan 29 07:54:11 UTC 2023

Added Files:
src/external/mit/xorg/lib/brotli: brotli-rename.mk brotli.mk

Log Message:
build framework for embedded brotli.

need to figure out a way to handle tools build vs installed build
before we can enable it in freetype itself.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/mit/xorg/lib/brotli/brotli-rename.mk \
src/external/mit/xorg/lib/brotli/brotli.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/server/xorg-server/hw

2023-01-26 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Jan 26 17:16:57 UTC 2023

Modified Files:
src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k: Makefile
src/external/mit/xorg/server/xorg-server/hw/sun: Makefile.Xsun

Log Message:
Fix link errors now complained by new ld(1) from binutils 2.39.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 \
src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile
cvs rdiff -u -r1.8 -r1.9 \
src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun

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/server/xorg-server/hw/netbsd/x68k/Makefile
diff -u src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.15 src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.16
--- src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.15	Thu Jan 26 17:09:46 2023
+++ src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile	Thu Jan 26 17:16:57 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.15 2023/01/26 17:09:46 tsutsui Exp $
+#	$NetBSD: Makefile,v 1.16 2023/01/26 17:16:57 tsutsui Exp $
 
 .include 
 
@@ -56,6 +56,8 @@ LDADD+= ${LDADD.dix} \
 	${LDADD.Xi} \
 	-lXfont2 \
 	-lpixman-1 \
+	-lXdmcp \
+	-lXau \
 	-lX11 \
 	-lz \
 	-lm
@@ -77,6 +79,8 @@ DPADD+= ${LDADD.dix} \
 	${DPADD.Xi} \
 	${LIBXFONT2} \
 	${LIBPIXMAN-1} \
+	${LIBXDMCP} \
+	${LIBXAU} \
 	${LIBX11} \
 	${LIBZ} \
 	${LIBM}

Index: src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun
diff -u src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun:1.8 src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun:1.9
--- src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun:1.8	Fri Oct 28 09:43:59 2022
+++ src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun	Thu Jan 26 17:16:57 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.Xsun,v 1.8 2022/10/28 09:43:59 wiz Exp $
+#	$NetBSD: Makefile.Xsun,v 1.9 2023/01/26 17:16:57 tsutsui Exp $
 
 .include 
 
@@ -99,6 +99,8 @@ LDADD+= ${LDADD.dix} \
 	${LDADD.Xi} \
 	-lXfont2 \
 	-lpixman-1 \
+	-lXdmcp \
+	-lXau \
 	-lX11 \
 	-lz \
 	-lm
@@ -120,6 +122,8 @@ DPADD+= ${LDADD.dix} \
 	${DPADD.Xi} \
 	${LIBXFONT2} \
 	${LIBPIXMAN-1} \
+	${LIBXDMCP} \
+	${LIBXAU} \
 	${LIBX11} \
 	${LIBZ} \
 	${LIBM}



CVS commit: src/external/mit/xorg/server/xorg-server/hw

2023-01-26 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Jan 26 17:16:57 UTC 2023

Modified Files:
src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k: Makefile
src/external/mit/xorg/server/xorg-server/hw/sun: Makefile.Xsun

Log Message:
Fix link errors now complained by new ld(1) from binutils 2.39.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 \
src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile
cvs rdiff -u -r1.8 -r1.9 \
src/external/mit/xorg/server/xorg-server/hw/sun/Makefile.Xsun

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k

2023-01-26 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Jan 26 17:09:46 UTC 2023

Modified Files:
src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k: Makefile

Log Message:
No need to link shared libXext here.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 \
src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k

2023-01-26 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Jan 26 17:09:46 UTC 2023

Modified Files:
src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k: Makefile

Log Message:
No need to link shared libXext here.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 \
src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/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/server/xorg-server/hw/netbsd/x68k/Makefile
diff -u src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.14 src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.15
--- src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile:1.14	Fri Oct 28 09:43:59 2022
+++ src/external/mit/xorg/server/xorg-server/hw/netbsd/x68k/Makefile	Thu Jan 26 17:09:46 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.14 2022/10/28 09:43:59 wiz Exp $
+#	$NetBSD: Makefile,v 1.15 2023/01/26 17:09:46 tsutsui Exp $
 
 .include 
 
@@ -56,7 +56,6 @@ LDADD+= ${LDADD.dix} \
 	${LDADD.Xi} \
 	-lXfont2 \
 	-lpixman-1 \
-	-lXext \
 	-lX11 \
 	-lz \
 	-lm
@@ -78,7 +77,6 @@ DPADD+= ${LDADD.dix} \
 	${DPADD.Xi} \
 	${LIBXFONT2} \
 	${LIBPIXMAN-1} \
-	${LIBXEXT} \
 	${LIBX11} \
 	${LIBZ} \
 	${LIBM}



CVS commit: src/external/mit/xorg/lib/fontconfig/src

2023-01-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jan 25 22:35:06 UTC 2023

Modified Files:
src/external/mit/xorg/lib/fontconfig/src: Makefile

Log Message:
fix clang build


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/external/mit/xorg/lib/fontconfig/src/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/fontconfig/src/Makefile
diff -u src/external/mit/xorg/lib/fontconfig/src/Makefile:1.28 src/external/mit/xorg/lib/fontconfig/src/Makefile:1.29
--- src/external/mit/xorg/lib/fontconfig/src/Makefile:1.28	Sun Jan 22 15:36:46 2023
+++ src/external/mit/xorg/lib/fontconfig/src/Makefile	Wed Jan 25 17:35:06 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.28 2023/01/22 20:36:46 christos Exp $
+#	$NetBSD: Makefile,v 1.29 2023/01/25 22:35:06 christos Exp $
 
 .include 
 
@@ -291,8 +291,11 @@ CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/free
 		-I. \
 		-I${X11SRCDIR.${LIB}}
 
-CPPFLAGS.fccache.c+=	-Wno-error=discarded-qualifiers
-CPPFLAGS.fccfg.c+=	-Wno-error=discarded-qualifiers
+IGNORE_QUALIFIERS+= ${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
+IGNORE_QUALIFIERS+= ${${ACTIVE_CC} == "clang":? -Wno-error=incompatible-pointer-types-discards-qualifiers :}
+
+CPPFLAGS.fccache.c+= 	${IGNORE_QUALIFIERS}
+CPPFLAGS.fccfg.c+=	${IGNORE_QUALIFIERS}
 
 .if ${MACHINE_ARCH:Mvax}
 COPTS.fccache.c+=	-O0



CVS commit: src/external/mit/xorg/lib/fontconfig/src

2023-01-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jan 25 22:35:06 UTC 2023

Modified Files:
src/external/mit/xorg/lib/fontconfig/src: Makefile

Log Message:
fix clang build


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/external/mit/xorg/lib/fontconfig/src/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib/fontconfig/src

2023-01-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jan 22 20:36:46 UTC 2023

Modified Files:
src/external/mit/xorg/lib/fontconfig/src: Makefile

Log Message:
Disable optimization on vax


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/external/mit/xorg/lib/fontconfig/src/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/fontconfig/src/Makefile
diff -u src/external/mit/xorg/lib/fontconfig/src/Makefile:1.27 src/external/mit/xorg/lib/fontconfig/src/Makefile:1.28
--- src/external/mit/xorg/lib/fontconfig/src/Makefile:1.27	Sun Jan 22 09:35:10 2023
+++ src/external/mit/xorg/lib/fontconfig/src/Makefile	Sun Jan 22 15:36:46 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.27 2023/01/22 14:35:10 christos Exp $
+#	$NetBSD: Makefile,v 1.28 2023/01/22 20:36:46 christos Exp $
 
 .include 
 
@@ -294,6 +294,11 @@ CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/free
 CPPFLAGS.fccache.c+=	-Wno-error=discarded-qualifiers
 CPPFLAGS.fccfg.c+=	-Wno-error=discarded-qualifiers
 
+.if ${MACHINE_ARCH:Mvax}
+COPTS.fccache.c+=	-O0
+COPTS.fccfg.c+=	-O0
+.endif
+
 .include "Makefile.fcarch"
 
 CLEANFILES+= fcarch.h



CVS commit: src/external/mit/xorg/lib/fontconfig/src

2023-01-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jan 22 20:36:46 UTC 2023

Modified Files:
src/external/mit/xorg/lib/fontconfig/src: Makefile

Log Message:
Disable optimization on vax


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/external/mit/xorg/lib/fontconfig/src/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib/fontconfig/src

2023-01-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jan 22 14:35:10 UTC 2023

Modified Files:
src/external/mit/xorg/lib/fontconfig/src: Makefile

Log Message:
Disable MT for lint since we don't have stdatomic.h


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/external/mit/xorg/lib/fontconfig/src/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/fontconfig/src/Makefile
diff -u src/external/mit/xorg/lib/fontconfig/src/Makefile:1.26 src/external/mit/xorg/lib/fontconfig/src/Makefile:1.27
--- src/external/mit/xorg/lib/fontconfig/src/Makefile:1.26	Thu Jan 19 01:29:10 2023
+++ src/external/mit/xorg/lib/fontconfig/src/Makefile	Sun Jan 22 09:35:10 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.26 2023/01/19 06:29:10 mrg Exp $
+#	$NetBSD: Makefile,v 1.27 2023/01/22 14:35:10 christos Exp $
 
 .include 
 
@@ -322,6 +322,8 @@ COPTS.fcpat.c+=	${${ACTIVE_CC} == "clang
 COPTS.fcstr.c+=	${${ACTIVE_CC} == "clang":? -Wa,-Av8plus  :}
 .endif
 
+LINTFLAGS+=-DFC_NO_MT
+
 LIBUUID_DIST=	${NETBSDSRCDIR}/external/bsd/libuuid_ul/lib/libuuid_ul
 .include "${LIBUUID_DIST}/srcs.mk"
 .include "${LIBUUID_DIST}/libuuid_ul-rename.mk"



CVS commit: src/external/mit/xorg/lib/fontconfig/src

2023-01-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jan 22 14:35:10 UTC 2023

Modified Files:
src/external/mit/xorg/lib/fontconfig/src: Makefile

Log Message:
Disable MT for lint since we don't have stdatomic.h


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/external/mit/xorg/lib/fontconfig/src/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/mit/xorg/lib/libXpm

2023-01-20 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Jan 20 10:20:06 UTC 2023

Modified Files:
src/external/mit/xorg/lib/libXpm: xpm.mk

Log Message:
add $NetBSD$


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/mit/xorg/lib/libXpm/xpm.mk

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/libXpm/xpm.mk
diff -u src/external/mit/xorg/lib/libXpm/xpm.mk:1.1 src/external/mit/xorg/lib/libXpm/xpm.mk:1.2
--- src/external/mit/xorg/lib/libXpm/xpm.mk:1.1	Thu Jan 19 05:31:34 2023
+++ src/external/mit/xorg/lib/libXpm/xpm.mk	Fri Jan 20 10:20:05 2023
@@ -1,3 +1,4 @@
+#	$NetBSD: xpm.mk,v 1.2 2023/01/20 10:20:05 mrg Exp $
 
 CPPFLAGS+=	-DHAS_SNPRINTF
 CPPFLAGS+=	-DXPM_PATH_COMPRESS=\"/usr/bin/compress\"



CVS commit: src/external/mit/xorg/lib/libXpm

2023-01-20 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Jan 20 10:20:06 UTC 2023

Modified Files:
src/external/mit/xorg/lib/libXpm: xpm.mk

Log Message:
add $NetBSD$


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/mit/xorg/lib/libXpm/xpm.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



  1   2   3   4   5   6   7   8   9   10   >