CVS commit: src/sys/dev/pci

2019-11-12 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Nov 12 19:44:46 UTC 2019

Modified Files:
src/sys/dev/pci: if_vte.c

Log Message:
Fix whitespace. From vezhlys


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/pci/if_vte.c

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

Modified files:

Index: src/sys/dev/pci/if_vte.c
diff -u src/sys/dev/pci/if_vte.c:1.27 src/sys/dev/pci/if_vte.c:1.28
--- src/sys/dev/pci/if_vte.c:1.27	Wed Oct 30 07:26:28 2019
+++ src/sys/dev/pci/if_vte.c	Tue Nov 12 19:44:46 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_vte.c,v 1.27 2019/10/30 07:26:28 msaitoh Exp $	*/
+/*	$NetBSD: if_vte.c,v 1.28 2019/11/12 19:44:46 maya Exp $	*/
 
 /*
  * Copyright (c) 2011 Manuel Bouyer.  All rights reserved.
@@ -55,7 +55,7 @@
 /* Driver for DM Electronics, Inc, Vortex86 RDC R6040 FastEthernet. */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_vte.c,v 1.27 2019/10/30 07:26:28 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vte.c,v 1.28 2019/11/12 19:44:46 maya Exp $");
 
 #include 
 #include 
@@ -847,7 +847,7 @@ vte_mediachange(struct ifnet *ifp)
 		aprint_error_dev(sc->vte_dev, "could not set media\n");
 		return error;
 	}
-			return 0;
+	return 0;
 
 }
 



CVS commit: src/sys/dev/pci

2019-11-12 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Nov 12 19:44:46 UTC 2019

Modified Files:
src/sys/dev/pci: if_vte.c

Log Message:
Fix whitespace. From vezhlys


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/pci/if_vte.c

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



CVS commit: src/sys/dev/usb

2019-10-31 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu Oct 31 11:59:40 UTC 2019

Modified Files:
src/sys/dev/usb: if_urndis.c

Log Message:
check if buf/bufsz are non-NULL before freeing.

not all control messages that can be received result in buf being
initialized, we might get a spurious different control message

seen in practice when swapping modes a few times on a urndis device

urndis0: SAMSUNG ...
autoconfiguration error: urndis0: invalid address
panic: kernel diagnostic assertion "p != NULL" failed: file 
"/cvs/src/sys/kern/subr_kmem.c", line 263
cpu0: Begin traceback...
vpanic() at netbsd:vpanic+0x178
kern_assert() at netbsd:kern_assert+0x48
kmem_intr_free() at netbsd:kmem_intr_free+0xca
urndis_attach() at netbsd:urndis_attach+0x4c2


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/usb/if_urndis.c

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



CVS commit: src/sys/dev/usb

2019-10-31 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu Oct 31 11:59:40 UTC 2019

Modified Files:
src/sys/dev/usb: if_urndis.c

Log Message:
check if buf/bufsz are non-NULL before freeing.

not all control messages that can be received result in buf being
initialized, we might get a spurious different control message

seen in practice when swapping modes a few times on a urndis device

urndis0: SAMSUNG ...
autoconfiguration error: urndis0: invalid address
panic: kernel diagnostic assertion "p != NULL" failed: file 
"/cvs/src/sys/kern/subr_kmem.c", line 263
cpu0: Begin traceback...
vpanic() at netbsd:vpanic+0x178
kern_assert() at netbsd:kern_assert+0x48
kmem_intr_free() at netbsd:kmem_intr_free+0xca
urndis_attach() at netbsd:urndis_attach+0x4c2


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/usb/if_urndis.c

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

Modified files:

Index: src/sys/dev/usb/if_urndis.c
diff -u src/sys/dev/usb/if_urndis.c:1.33 src/sys/dev/usb/if_urndis.c:1.34
--- src/sys/dev/usb/if_urndis.c:1.33	Tue Aug 20 06:37:06 2019
+++ src/sys/dev/usb/if_urndis.c	Thu Oct 31 11:59:40 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_urndis.c,v 1.33 2019/08/20 06:37:06 mrg Exp $ */
+/*	$NetBSD: if_urndis.c,v 1.34 2019/10/31 11:59:40 maya Exp $ */
 /*	$OpenBSD: if_urndis.c,v 1.31 2011/07/03 15:47:17 matthew Exp $ */
 
 /*
@@ -21,7 +21,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_urndis.c,v 1.33 2019/08/20 06:37:06 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urndis.c,v 1.34 2019/10/31 11:59:40 maya Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -1068,7 +1068,8 @@ urndis_attach(device_t parent, device_t 
 		kmem_free(buf, bufsz);
 	} else {
 		aprint_error("%s: invalid address\n", DEVNAME(un));
-		kmem_free(buf, bufsz);
+		if (buf && bufsz)
+			kmem_free(buf, bufsz);
 		usbnet_lock(un);
 		usbnet_stop(un, ifp, 1);
 		usbnet_unlock(un);



CVS commit: src/sys/arch/aarch64

2019-10-29 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Oct 29 20:01:22 UTC 2019

Modified Files:
src/sys/arch/aarch64/aarch64: pmap.c
src/sys/arch/aarch64/include: pmap.h

Log Message:
Define PMAP_NEED_PROCWR, providing strategically placed i-cache
synchronization where just-changed memory is about to be executed.

Fixes SIGILLs seen when running Mono 6 on QEMU Cortex-A57.

ok ryo


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/aarch64/aarch64/pmap.c
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/aarch64/include/pmap.h

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



CVS commit: src/sys/arch/aarch64

2019-10-29 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Oct 29 20:01:22 UTC 2019

Modified Files:
src/sys/arch/aarch64/aarch64: pmap.c
src/sys/arch/aarch64/include: pmap.h

Log Message:
Define PMAP_NEED_PROCWR, providing strategically placed i-cache
synchronization where just-changed memory is about to be executed.

Fixes SIGILLs seen when running Mono 6 on QEMU Cortex-A57.

ok ryo


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/aarch64/aarch64/pmap.c
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/aarch64/include/pmap.h

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

Modified files:

Index: src/sys/arch/aarch64/aarch64/pmap.c
diff -u src/sys/arch/aarch64/aarch64/pmap.c:1.47 src/sys/arch/aarch64/aarch64/pmap.c:1.48
--- src/sys/arch/aarch64/aarch64/pmap.c:1.47	Sun Sep 22 13:57:55 2019
+++ src/sys/arch/aarch64/aarch64/pmap.c	Tue Oct 29 20:01:22 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap.c,v 1.47 2019/09/22 13:57:55 jmcneill Exp $	*/
+/*	$NetBSD: pmap.c,v 1.48 2019/10/29 20:01:22 maya Exp $	*/
 
 /*
  * Copyright (c) 2017 Ryo Shimizu 
@@ -27,7 +27,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.47 2019/09/22 13:57:55 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.48 2019/10/29 20:01:22 maya Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_ddb.h"
@@ -877,6 +877,22 @@ pmap_icache_sync_range(pmap_t pm, vaddr_
 	pm_unlock(pm);
 }
 
+/*
+ * Routine:	pmap_procwr
+ *
+ * Function:
+ *	Synchronize caches corresponding to [addr, addr+len) in p.
+ *
+ */
+void
+pmap_procwr(struct proc *p, vaddr_t va, int len)
+{
+
+	/* We only need to do anything if it is the current process. */
+	if (p == curproc)
+		cpu_icache_sync_range(va, len);
+}
+
 static pt_entry_t
 _pmap_pte_adjust_prot(pt_entry_t pte, vm_prot_t prot, vm_prot_t protmask,
 bool user)

Index: src/sys/arch/aarch64/include/pmap.h
diff -u src/sys/arch/aarch64/include/pmap.h:1.25 src/sys/arch/aarch64/include/pmap.h:1.26
--- src/sys/arch/aarch64/include/pmap.h:1.25	Mon Aug 12 10:28:04 2019
+++ src/sys/arch/aarch64/include/pmap.h	Tue Oct 29 20:01:22 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.25 2019/08/12 10:28:04 skrll Exp $ */
+/* $NetBSD: pmap.h,v 1.26 2019/10/29 20:01:22 maya Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -46,6 +46,7 @@
 
 #include 
 
+#define PMAP_NEED_PROCWR
 #define PMAP_GROWKERNEL
 #define PMAP_STEAL_MEMORY
 
@@ -272,6 +273,7 @@ aarch64_mmap_flags(paddr_t mdpgno)
 #define pmap_wired_count(pmap)		((pmap)->pm_stats.wired_count)
 #define pmap_resident_count(pmap)	((pmap)->pm_stats.resident_count)
 
+void	pmap_procwr(struct proc *, vaddr_t, int);
 bool	pmap_extract_coherency(pmap_t, vaddr_t, paddr_t *, bool *);
 void	pmap_icache_sync_range(pmap_t, vaddr_t, vaddr_t);
 



CVS commit: src

2019-10-28 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Oct 28 13:19:50 UTC 2019

Modified Files:
src/distrib/sets/lists/modules: mi
src/sys/modules: Makefile

Log Message:
Disable filemon.

It isn't suited for general use (that is, it poses security risks),
but the existence of the module means it is auto-loaded when /dev/filemon
is opened, which can be done by any user.

Thanks Ilja van Sprundel for the heads up.


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 src/distrib/sets/lists/modules/mi
cvs rdiff -u -r1.228 -r1.229 src/sys/modules/Makefile

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



CVS commit: src

2019-10-28 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Oct 28 13:19:50 UTC 2019

Modified Files:
src/distrib/sets/lists/modules: mi
src/sys/modules: Makefile

Log Message:
Disable filemon.

It isn't suited for general use (that is, it poses security risks),
but the existence of the module means it is auto-loaded when /dev/filemon
is opened, which can be done by any user.

Thanks Ilja van Sprundel for the heads up.


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 src/distrib/sets/lists/modules/mi
cvs rdiff -u -r1.228 -r1.229 src/sys/modules/Makefile

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

Modified files:

Index: src/distrib/sets/lists/modules/mi
diff -u src/distrib/sets/lists/modules/mi:1.126 src/distrib/sets/lists/modules/mi:1.127
--- src/distrib/sets/lists/modules/mi:1.126	Sun Sep 22 22:59:37 2019
+++ src/distrib/sets/lists/modules/mi	Mon Oct 28 13:19:50 2019
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.126 2019/09/22 22:59:37 christos Exp $
+# $NetBSD: mi,v 1.127 2019/10/28 13:19:50 maya Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -168,8 +168,8 @@
 ./@MODULEDIR@/ffs/ffs.kmod			base-kernel-modules	kmod
 ./@MODULEDIR@/filecorebase-kernel-modules	kmod
 ./@MODULEDIR@/filecore/filecore.kmod		base-kernel-modules	kmod
-./@MODULEDIR@/filemonbase-kernel-modules	kmod
-./@MODULEDIR@/filemon/filemon.kmod		base-kernel-modules	kmod
+./@MODULEDIR@/filemonbase-obsolete		obsolete
+./@MODULEDIR@/filemon/filemon.kmod		base-obsolete		obsolete
 ./@MODULEDIR@/flashbase-kernel-modules	kmod
 ./@MODULEDIR@/flash/flash.kmod			base-kernel-modules	kmod
 ./@MODULEDIR@/fssbase-kernel-modules	kmod

Index: src/sys/modules/Makefile
diff -u src/sys/modules/Makefile:1.228 src/sys/modules/Makefile:1.229
--- src/sys/modules/Makefile:1.228	Mon Oct 28 02:56:40 2019
+++ src/sys/modules/Makefile	Mon Oct 28 13:19:50 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.228 2019/10/28 02:56:40 ozaki-r Exp $
+#	$NetBSD: Makefile,v 1.229 2019/10/28 13:19:50 maya Exp $
 
 .include 
 
@@ -54,7 +54,7 @@ SUBDIR+=	exec_script
 SUBDIR+=	fdesc
 SUBDIR+=	ffs
 SUBDIR+=	filecore
-SUBDIR+=	filemon
+#SUBDIR+=	filemon
 SUBDIR+=	flash
 SUBDIR+=	fss
 SUBDIR+=	gpio



CVS commit: xsrc/external/mit/mkfontscale/dist

2019-10-27 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Sun Oct 27 17:38:08 UTC 2019

Modified Files:
xsrc/external/mit/mkfontscale/dist: mkfontscale.c

Log Message:
Use a case insensitive comparison. Add ExtraBold.

Fixes PR xsrc/40609: Problem with mkfontscale and fonts/freefonts with
xfree/xorg


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 xsrc/external/mit/mkfontscale/dist/mkfontscale.c

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

Modified files:

Index: xsrc/external/mit/mkfontscale/dist/mkfontscale.c
diff -u xsrc/external/mit/mkfontscale/dist/mkfontscale.c:1.8 xsrc/external/mit/mkfontscale/dist/mkfontscale.c:1.9
--- xsrc/external/mit/mkfontscale/dist/mkfontscale.c:1.8	Sun Mar  3 09:27:12 2019
+++ xsrc/external/mit/mkfontscale/dist/mkfontscale.c	Sun Oct 27 17:38:08 2019
@@ -435,33 +435,37 @@ t1Weight(const char *weight)
 {
 if(!weight)
 return NULL;
-if(strcmp(weight, "Thin") == 0)
+if(strcasecmp(weight, "Thin") == 0)
 return "thin";
-if(strcmp(weight, "ExtraLight") == 0) /* FontForge uses this for 200*/
+if(strcasecmp(weight, "ExtraLight") == 0) /* FontForge uses this for 200*/
 return "extralight";
-if(strcmp(weight, "Light") == 0)
+if(strcasecmp(weight, "Light") == 0)
 return "light";
-if(strcmp(weight, "Regular") == 0)
+if(strcasecmp(weight, "Regular") == 0)
 return "medium";
-if(strcmp(weight, "Normal") == 0)
+if(strcasecmp(weight, "Plain") == 0)
 return "medium";
-if(strcmp(weight, "Medium") == 0)
+if(strcasecmp(weight, "Normal") == 0)
 return "medium";
-if(strcmp(weight, "Book") == 0)
+if(strcasecmp(weight, "Medium") == 0)
 return "medium";
-if(strcmp(weight, "Roman") == 0) /* Some URW++ fonts do that! */
+if(strcasecmp(weight, "Book") == 0)
 return "medium";
-if(strcmp(weight, "Demi") == 0)
+if(strcasecmp(weight, "Roman") == 0) /* Some URW++ fonts do that! */
+return "medium";
+if(strcasecmp(weight, "Demi") == 0)
 return "semibold";
-if(strcmp(weight, "DemiBold") == 0)
+if(strcasecmp(weight, "DemiBold") == 0)
 return "semibold";
-if(strcmp(weight, "SemiBold") == 0) /* some TeX fonts apparently do that */
+if(strcasecmp(weight, "SemiBold") == 0) /* some TeX fonts apparently do that */
 return "semibold";
-else if(strcmp(weight, "Bold") == 0)
+else if(strcasecmp(weight, "Bold") == 0)
 return "bold";
-else if(strcmp(weight, "Heavy") == 0) /* FontForge uses this for 800*/
+else if(strcasecmp(weight, "Heavy") == 0) /* FontForge uses this for 800*/
+return "extrabold";
+else if(strcasecmp(weight, "ExtraBold") == 0) /* freefonts uses this */
 return "extrabold";
-else if(strcmp(weight, "Black") == 0)
+else if(strcasecmp(weight, "Black") == 0)
 return "black";
 else {
 fprintf(stderr, "Unknown Type 1 weight \"%s\"\n", weight);



CVS commit: xsrc/external/mit/mkfontscale/dist

2019-10-27 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Sun Oct 27 17:38:08 UTC 2019

Modified Files:
xsrc/external/mit/mkfontscale/dist: mkfontscale.c

Log Message:
Use a case insensitive comparison. Add ExtraBold.

Fixes PR xsrc/40609: Problem with mkfontscale and fonts/freefonts with
xfree/xorg


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 xsrc/external/mit/mkfontscale/dist/mkfontscale.c

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



CVS commit: src/sys/dev/usb

2019-10-22 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Oct 23 01:30:54 UTC 2019

Modified Files:
src/sys/dev/usb: uvideo.c

Log Message:
we want to check that the allocation is going to be zero, not whether
some pointer is NULL (oops).

Should be the right version this time!


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/dev/usb/uvideo.c

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

Modified files:

Index: src/sys/dev/usb/uvideo.c
diff -u src/sys/dev/usb/uvideo.c:1.51 src/sys/dev/usb/uvideo.c:1.52
--- src/sys/dev/usb/uvideo.c:1.51	Wed Oct 23 01:03:36 2019
+++ src/sys/dev/usb/uvideo.c	Wed Oct 23 01:30:54 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvideo.c,v 1.51 2019/10/23 01:03:36 maya Exp $	*/
+/*	$NetBSD: uvideo.c,v 1.52 2019/10/23 01:30:54 maya Exp $	*/
 
 /*
  * Copyright (c) 2008 Patrick Mahoney
@@ -42,7 +42,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: uvideo.c,v 1.51 2019/10/23 01:03:36 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvideo.c,v 1.52 2019/10/23 01:30:54 maya Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -999,7 +999,7 @@ static usbd_status
 uvideo_unit_alloc_controls(struct uvideo_unit *vu, uint8_t size,
 			   const uint8_t *controls)
 {
-	if ((vu->vu_controls == 0) || (size == 0))
+	if (size == 0)
 		return USBD_INVAL;
 
 	vu->vu_controls = kmem_alloc(sizeof(*vu->vu_controls) * size, KM_SLEEP);



CVS commit: src/sys/dev/usb

2019-10-22 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Oct 23 01:30:54 UTC 2019

Modified Files:
src/sys/dev/usb: uvideo.c

Log Message:
we want to check that the allocation is going to be zero, not whether
some pointer is NULL (oops).

Should be the right version this time!


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/dev/usb/uvideo.c

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



CVS commit: src/sys/dev/usb

2019-10-22 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Oct 23 01:03:36 UTC 2019

Modified Files:
src/sys/dev/usb: uvideo.c

Log Message:
Check if size is zero, too.

PR kern/53734


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/dev/usb/uvideo.c

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



CVS commit: src/sys/dev/usb

2019-10-22 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Oct 23 01:03:36 UTC 2019

Modified Files:
src/sys/dev/usb: uvideo.c

Log Message:
Check if size is zero, too.

PR kern/53734


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/dev/usb/uvideo.c

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

Modified files:

Index: src/sys/dev/usb/uvideo.c
diff -u src/sys/dev/usb/uvideo.c:1.50 src/sys/dev/usb/uvideo.c:1.51
--- src/sys/dev/usb/uvideo.c:1.50	Wed Oct 23 00:52:39 2019
+++ src/sys/dev/usb/uvideo.c	Wed Oct 23 01:03:36 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvideo.c,v 1.50 2019/10/23 00:52:39 maya Exp $	*/
+/*	$NetBSD: uvideo.c,v 1.51 2019/10/23 01:03:36 maya Exp $	*/
 
 /*
  * Copyright (c) 2008 Patrick Mahoney
@@ -42,7 +42,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: uvideo.c,v 1.50 2019/10/23 00:52:39 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvideo.c,v 1.51 2019/10/23 01:03:36 maya Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -999,7 +999,7 @@ static usbd_status
 uvideo_unit_alloc_controls(struct uvideo_unit *vu, uint8_t size,
 			   const uint8_t *controls)
 {
-	if (vu->vu_controls == 0)
+	if ((vu->vu_controls == 0) || (size == 0))
 		return USBD_INVAL;
 
 	vu->vu_controls = kmem_alloc(sizeof(*vu->vu_controls) * size, KM_SLEEP);



CVS commit: src/sys/dev/usb

2019-10-22 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Oct 23 00:52:39 UTC 2019

Modified Files:
src/sys/dev/usb: uvideo.c

Log Message:
Avoid kmem_alloc(0,..), which hits an assertion.

PR kern/53734: Prevent kernel panic during Wide Vision FHD Camera detection


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/dev/usb/uvideo.c

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

Modified files:

Index: src/sys/dev/usb/uvideo.c
diff -u src/sys/dev/usb/uvideo.c:1.49 src/sys/dev/usb/uvideo.c:1.50
--- src/sys/dev/usb/uvideo.c:1.49	Tue Oct  1 18:00:08 2019
+++ src/sys/dev/usb/uvideo.c	Wed Oct 23 00:52:39 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvideo.c,v 1.49 2019/10/01 18:00:08 chs Exp $	*/
+/*	$NetBSD: uvideo.c,v 1.50 2019/10/23 00:52:39 maya Exp $	*/
 
 /*
  * Copyright (c) 2008 Patrick Mahoney
@@ -42,7 +42,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: uvideo.c,v 1.49 2019/10/01 18:00:08 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvideo.c,v 1.50 2019/10/23 00:52:39 maya Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -999,6 +999,9 @@ static usbd_status
 uvideo_unit_alloc_controls(struct uvideo_unit *vu, uint8_t size,
 			   const uint8_t *controls)
 {
+	if (vu->vu_controls == 0)
+		return USBD_INVAL;
+
 	vu->vu_controls = kmem_alloc(sizeof(*vu->vu_controls) * size, KM_SLEEP);
 	vu->vu_control_size = size;
 	memcpy(vu->vu_controls, controls, size);



CVS commit: src/sys/dev/usb

2019-10-22 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Oct 23 00:52:39 UTC 2019

Modified Files:
src/sys/dev/usb: uvideo.c

Log Message:
Avoid kmem_alloc(0,..), which hits an assertion.

PR kern/53734: Prevent kernel panic during Wide Vision FHD Camera detection


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/dev/usb/uvideo.c

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



CVS commit: src/sys/dev/mii

2019-10-18 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Fri Oct 18 20:42:10 UTC 2019

Modified Files:
src/sys/dev/mii: miidevs miidevs.h miidevs_data.h

Log Message:
Fix typo. from vezhlys


To generate a diff of this commit:
cvs rdiff -u -r1.158 -r1.159 src/sys/dev/mii/miidevs
cvs rdiff -u -r1.156 -r1.157 src/sys/dev/mii/miidevs.h
cvs rdiff -u -r1.144 -r1.145 src/sys/dev/mii/miidevs_data.h

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

Modified files:

Index: src/sys/dev/mii/miidevs
diff -u src/sys/dev/mii/miidevs:1.158 src/sys/dev/mii/miidevs:1.159
--- src/sys/dev/mii/miidevs:1.158	Thu Oct 17 09:21:40 2019
+++ src/sys/dev/mii/miidevs	Fri Oct 18 20:42:10 2019
@@ -1,4 +1,4 @@
-$NetBSD: miidevs,v 1.158 2019/10/17 09:21:40 msaitoh Exp $
+$NetBSD: miidevs,v 1.159 2019/10/18 20:42:10 maya Exp $
 
 /*-
  * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -94,7 +94,7 @@ oui TI0x080028	Texas Instruments
 oui BROADCOM4			0x18c086	Broadcom Corporation
 oui RENESAS			0x749050	Renesas
 
-/* Unregisterd or wrong OUI */
+/* Unregistered or wrong OUI */
 oui yyREALTEK			0x04	Realtek
 oui yyAMD			0x58	Advanced Micro Devices
 oui xxMYSON			0x00032d	Myson Technology

Index: src/sys/dev/mii/miidevs.h
diff -u src/sys/dev/mii/miidevs.h:1.156 src/sys/dev/mii/miidevs.h:1.157
--- src/sys/dev/mii/miidevs.h:1.156	Thu Oct 17 09:22:00 2019
+++ src/sys/dev/mii/miidevs.h	Fri Oct 18 20:42:10 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: miidevs.h,v 1.156 2019/10/17 09:22:00 msaitoh Exp $	*/
+/*	$NetBSD: miidevs.h,v 1.157 2019/10/18 20:42:10 maya Exp $	*/
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -101,7 +101,7 @@
 #define	MII_OUI_BROADCOM4	0x18c086	/* Broadcom Corporation */
 #define	MII_OUI_RENESAS	0x749050	/* Renesas */
 
-/* Unregisterd or wrong OUI */
+/* Unregistered or wrong OUI */
 #define	MII_OUI_yyREALTEK	0x04	/* Realtek */
 #define	MII_OUI_yyAMD	0x58	/* Advanced Micro Devices */
 #define	MII_OUI_xxMYSON	0x00032d	/* Myson Technology */

Index: src/sys/dev/mii/miidevs_data.h
diff -u src/sys/dev/mii/miidevs_data.h:1.144 src/sys/dev/mii/miidevs_data.h:1.145
--- src/sys/dev/mii/miidevs_data.h:1.144	Thu Oct 17 09:22:00 2019
+++ src/sys/dev/mii/miidevs_data.h	Fri Oct 18 20:42:10 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: miidevs_data.h,v 1.144 2019/10/17 09:22:00 msaitoh Exp $	*/
+/*	$NetBSD: miidevs_data.h,v 1.145 2019/10/18 20:42:10 maya Exp $	*/
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.



CVS commit: src/sys/dev/mii

2019-10-18 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Fri Oct 18 20:42:10 UTC 2019

Modified Files:
src/sys/dev/mii: miidevs miidevs.h miidevs_data.h

Log Message:
Fix typo. from vezhlys


To generate a diff of this commit:
cvs rdiff -u -r1.158 -r1.159 src/sys/dev/mii/miidevs
cvs rdiff -u -r1.156 -r1.157 src/sys/dev/mii/miidevs.h
cvs rdiff -u -r1.144 -r1.145 src/sys/dev/mii/miidevs_data.h

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



CVS commit: src/doc

2019-10-17 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu Oct 17 16:21:02 UTC 2019

Modified Files:
src/doc: 3RDPARTY

Log Message:
correct bind location. new bind


To generate a diff of this commit:
cvs rdiff -u -r1.1664 -r1.1665 src/doc/3RDPARTY

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

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1664 src/doc/3RDPARTY:1.1665
--- src/doc/3RDPARTY:1.1664	Wed Oct 16 14:56:34 2019
+++ src/doc/3RDPARTY	Thu Oct 17 16:21:02 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1664 2019/10/16 14:56:34 roy Exp $
+#	$NetBSD: 3RDPARTY,v 1.1665 2019/10/17 16:21:02 maya Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -121,7 +121,7 @@ bc includes dc, both of which are in the
 
 Package:	bind [named and utils]
 Version:	9.14.5/MPL
-Current Vers:	9.14.6/MPL
+Current Vers:	9.14.7/MPL
 Maintainer:	ISC
 Archive Site:	ftp://ftp.isc.org/isc/bind9/
 Home Page:	http://www.isc.org/software/bind/
@@ -130,10 +130,10 @@ Mailing List:	https://lists.isc.org/mail
 Mailing List:	https://lists.isc.org/mailman/listinfo/bind-users
 Responsible:	christos
 License:	BSD-like (2-clause) / MPL
-Location:	external/bsd/bind/dist
+Location:	external/mpl/bind/dist
 Notes:
 First bind2netbsd script to import into src/external/bsd/bind/dist.
-The Makefiles in src/external/bsd/bind are not handled by the script.
+The Makefiles in src/external/mpl/bind are not handled by the script.
 Build bind to generate the include files.
 Then binclude4netbsd script to import into src/external/bsd/bind/include.
 The libc and include parts of the resolver are now part of libbind.



CVS commit: src/doc

2019-10-17 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu Oct 17 16:21:02 UTC 2019

Modified Files:
src/doc: 3RDPARTY

Log Message:
correct bind location. new bind


To generate a diff of this commit:
cvs rdiff -u -r1.1664 -r1.1665 src/doc/3RDPARTY

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



CVS commit: src/sys/external/bsd/drm2/linux

2019-10-17 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu Oct 17 14:33:02 UTC 2019

Modified Files:
src/sys/external/bsd/drm2/linux: linux_dma_buf.c

Log Message:
correct error handling.

from Ilja Van Sprundel, thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/external/bsd/drm2/linux/linux_dma_buf.c

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



CVS commit: src/sys/external/bsd/drm2/linux

2019-10-17 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Thu Oct 17 14:33:02 UTC 2019

Modified Files:
src/sys/external/bsd/drm2/linux: linux_dma_buf.c

Log Message:
correct error handling.

from Ilja Van Sprundel, thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/external/bsd/drm2/linux/linux_dma_buf.c

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

Modified files:

Index: src/sys/external/bsd/drm2/linux/linux_dma_buf.c
diff -u src/sys/external/bsd/drm2/linux/linux_dma_buf.c:1.5 src/sys/external/bsd/drm2/linux/linux_dma_buf.c:1.6
--- src/sys/external/bsd/drm2/linux/linux_dma_buf.c:1.5	Fri Jan  4 23:03:02 2019
+++ src/sys/external/bsd/drm2/linux/linux_dma_buf.c	Thu Oct 17 14:33:02 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux_dma_buf.c,v 1.5 2019/01/04 23:03:02 tnn Exp $	*/
+/*	$NetBSD: linux_dma_buf.c,v 1.6 2019/10/17 14:33:02 maya Exp $	*/
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: linux_dma_buf.c,v 1.5 2019/01/04 23:03:02 tnn Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_dma_buf.c,v 1.6 2019/10/17 14:33:02 maya Exp $");
 
 #include 
 #include 
@@ -133,11 +133,11 @@ dma_buf_get(int fd)
 
 	if ((file = fd_getfile(fd)) == NULL) {
 		error = EBADF;
-		goto fail1;
+		goto fail0;
 	}
 	if (file->f_type != DTYPE_MISC || file->f_ops != _fileops) {
 		error = EINVAL;
-		goto fail0;
+		goto fail1;
 	}
 
 	dmabuf = file->f_data;



CVS commit: src

2019-10-16 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Oct 16 21:52:22 UTC 2019

Modified Files:
src/sbin/mount_nilfs: mount_nilfs.8 mount_nilfs.c
src/sbin/mount_udf: mount_udf.8 mount_udf.c
src/sys/arch/arm/iomd: qms.c
src/sys/dev/pci: auixp.c auixpreg.h auixpvar.h
src/sys/fs/nilfs: nilfs_mount.h
src/sys/fs/udf: udf_mount.h

Log Message:
Switch files copyright Reinoud Zandijk from BSD 4 clause to BSD 2 clause.

OK'd by reinoud in email (from 4 Feb 2019).


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sbin/mount_nilfs/mount_nilfs.8
cvs rdiff -u -r1.3 -r1.4 src/sbin/mount_nilfs/mount_nilfs.c
cvs rdiff -u -r1.13 -r1.14 src/sbin/mount_udf/mount_udf.8
cvs rdiff -u -r1.14 -r1.15 src/sbin/mount_udf/mount_udf.c
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/arm/iomd/qms.c
cvs rdiff -u -r1.47 -r1.48 src/sys/dev/pci/auixp.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/pci/auixpreg.h
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pci/auixpvar.h
cvs rdiff -u -r1.1 -r1.2 src/sys/fs/nilfs/nilfs_mount.h
cvs rdiff -u -r1.3 -r1.4 src/sys/fs/udf/udf_mount.h

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

Modified files:

Index: src/sbin/mount_nilfs/mount_nilfs.8
diff -u src/sbin/mount_nilfs/mount_nilfs.8:1.4 src/sbin/mount_nilfs/mount_nilfs.8:1.5
--- src/sbin/mount_nilfs/mount_nilfs.8:1.4	Wed Jun  1 12:01:21 2016
+++ src/sbin/mount_nilfs/mount_nilfs.8	Wed Oct 16 21:52:22 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: mount_nilfs.8,v 1.4 2016/06/01 12:01:21 wiz Exp $
+.\" $NetBSD: mount_nilfs.8,v 1.5 2019/10/16 21:52:22 maya Exp $
 .\"
 .\" Copyright (c) 2008, 2009 Reinoud Zandijk
 .\" All rights reserved.
@@ -11,13 +11,6 @@
 .\" 2. Redistributions in binary form must reproduce the above copyright
 .\"notice, this list of conditions and the following disclaimer in the
 .\"documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\"must display the following acknowledgement:
-.\"  This product includes software developed for the
-.\"  NetBSD Project.  See http://www.NetBSD.org/ for
-.\"  information about NetBSD.
-.\" 4. The name of the author may not be used to endorse or promote products
-.\"derived from this software without specific prior written permission.
 .\"
 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES

Index: src/sbin/mount_nilfs/mount_nilfs.c
diff -u src/sbin/mount_nilfs/mount_nilfs.c:1.3 src/sbin/mount_nilfs/mount_nilfs.c:1.4
--- src/sbin/mount_nilfs/mount_nilfs.c:1.3	Sun Feb 21 22:51:29 2016
+++ src/sbin/mount_nilfs/mount_nilfs.c	Wed Oct 16 21:52:22 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: mount_nilfs.c,v 1.3 2016/02/21 22:51:29 christos Exp $ */
+/* $NetBSD: mount_nilfs.c,v 1.4 2019/10/16 21:52:22 maya Exp $ */
 
 /*
  * Copyright (c) 2008, 2009 Reinoud Zandijk
@@ -12,13 +12,6 @@
  * 2. Redistributions in binary form must reproduce the above copyright
  *notice, this list of conditions and the following disclaimer in the
  *documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- *must display the following acknowledgement:
- *  This product includes software developed for the
- *  NetBSD Project.  See http://www.NetBSD.org/ for
- *  information about NetBSD.
- * 4. The name of the author may not be used to endorse or promote products
- *derived from this software without specific prior written permission.
  * 
  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
@@ -36,7 +29,7 @@
 
 #include 
 #ifndef lint
-__RCSID("$NetBSD: mount_nilfs.c,v 1.3 2016/02/21 22:51:29 christos Exp $");
+__RCSID("$NetBSD: mount_nilfs.c,v 1.4 2019/10/16 21:52:22 maya Exp $");
 #endif /* not lint */
 
 

Index: src/sbin/mount_udf/mount_udf.8
diff -u src/sbin/mount_udf/mount_udf.8:1.13 src/sbin/mount_udf/mount_udf.8:1.14
--- src/sbin/mount_udf/mount_udf.8:1.13	Mon Sep 12 02:45:07 2016
+++ src/sbin/mount_udf/mount_udf.8	Wed Oct 16 21:52:22 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: mount_udf.8,v 1.13 2016/09/12 02:45:07 sevan Exp $
+.\" $NetBSD: mount_udf.8,v 1.14 2019/10/16 21:52:22 maya Exp $
 .\"
 .\" Copyright (c) 2006, 2008 Reinoud Zandijk
 .\" All rights reserved.
@@ -11,13 +11,6 @@
 .\" 2. Redistributions in binary form must reproduce the above copyright
 .\"notice, this list of conditions and the following disclaimer in the
 .\"documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\"must display the following acknowledgement:
-.\"  This product includes software 

CVS commit: src

2019-10-16 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Oct 16 21:52:22 UTC 2019

Modified Files:
src/sbin/mount_nilfs: mount_nilfs.8 mount_nilfs.c
src/sbin/mount_udf: mount_udf.8 mount_udf.c
src/sys/arch/arm/iomd: qms.c
src/sys/dev/pci: auixp.c auixpreg.h auixpvar.h
src/sys/fs/nilfs: nilfs_mount.h
src/sys/fs/udf: udf_mount.h

Log Message:
Switch files copyright Reinoud Zandijk from BSD 4 clause to BSD 2 clause.

OK'd by reinoud in email (from 4 Feb 2019).


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sbin/mount_nilfs/mount_nilfs.8
cvs rdiff -u -r1.3 -r1.4 src/sbin/mount_nilfs/mount_nilfs.c
cvs rdiff -u -r1.13 -r1.14 src/sbin/mount_udf/mount_udf.8
cvs rdiff -u -r1.14 -r1.15 src/sbin/mount_udf/mount_udf.c
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/arm/iomd/qms.c
cvs rdiff -u -r1.47 -r1.48 src/sys/dev/pci/auixp.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/pci/auixpreg.h
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pci/auixpvar.h
cvs rdiff -u -r1.1 -r1.2 src/sys/fs/nilfs/nilfs_mount.h
cvs rdiff -u -r1.3 -r1.4 src/sys/fs/udf/udf_mount.h

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



CVS commit: src

2019-10-16 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Oct 16 20:43:18 UTC 2019

Modified Files:
src/lib/libc/gen: sysconf.c
src/sys/sys: unistd.h

Log Message:
Provide sysconf(_SC_RTSIG_MAX) = SIGRTMAX - SIGRTMIN

Thanks nros@ for the correct definition


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/lib/libc/gen/sysconf.c
cvs rdiff -u -r1.61 -r1.62 src/sys/sys/unistd.h

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



CVS commit: src

2019-10-16 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Oct 16 20:43:18 UTC 2019

Modified Files:
src/lib/libc/gen: sysconf.c
src/sys/sys: unistd.h

Log Message:
Provide sysconf(_SC_RTSIG_MAX) = SIGRTMAX - SIGRTMIN

Thanks nros@ for the correct definition


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/lib/libc/gen/sysconf.c
cvs rdiff -u -r1.61 -r1.62 src/sys/sys/unistd.h

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

Modified files:

Index: src/lib/libc/gen/sysconf.c
diff -u src/lib/libc/gen/sysconf.c:1.41 src/lib/libc/gen/sysconf.c:1.42
--- src/lib/libc/gen/sysconf.c:1.41	Thu Aug  4 06:43:43 2016
+++ src/lib/libc/gen/sysconf.c	Wed Oct 16 20:43:18 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: sysconf.c,v 1.41 2016/08/04 06:43:43 christos Exp $	*/
+/*	$NetBSD: sysconf.c,v 1.42 2019/10/16 20:43:18 maya Exp $	*/
 
 /*-
  * Copyright (c) 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)sysconf.c	8.2 (Berkeley) 3/20/94";
 #else
-__RCSID("$NetBSD: sysconf.c,v 1.41 2016/08/04 06:43:43 christos Exp $");
+__RCSID("$NetBSD: sysconf.c,v 1.42 2019/10/16 20:43:18 maya Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -339,6 +339,8 @@ sysconf(int name)
 		return _GETPW_R_SIZE_MAX;
 
 /* Unsorted */
+	case _SC_RTSIG_MAX:
+		return SIGRTMAX - SIGRTMIN;
 	case _SC_HOST_NAME_MAX:
 		return MAXHOSTNAMELEN;
 	case _SC_PASS_MAX:

Index: src/sys/sys/unistd.h
diff -u src/sys/sys/unistd.h:1.61 src/sys/sys/unistd.h:1.62
--- src/sys/sys/unistd.h:1.61	Thu Aug  4 06:43:43 2016
+++ src/sys/sys/unistd.h	Wed Oct 16 20:43:18 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: unistd.h,v 1.61 2016/08/04 06:43:43 christos Exp $	*/
+/*	$NetBSD: unistd.h,v 1.62 2019/10/16 20:43:18 maya Exp $	*/
 
 /*
  * Copyright (c) 1989, 1993
@@ -320,6 +320,7 @@
 #define	_SC_DELAYTIMER_MAX		92
 #define	_SC_SIGQUEUE_MAX		93
 #define	_SC_REALTIME_SIGNALS		94
+#define	_SC_RTSIG_MAX			95
 
 /* Extensions found in Solaris and Linux. */
 #define	_SC_PHYS_PAGES		121



CVS commit: src/common/lib/libc/arch/aarch64/gen

2019-10-12 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sat Oct 12 09:22:36 UTC 2019

Modified Files:
src/common/lib/libc/arch/aarch64/gen: byte_swap_8.S

Log Message:
Remove htonll and ntohll as symbols from aarch64 libc.

Other architectures do not define them, and so we don't provide a
function declaration in any header.

This means a package may detect it with a link-test and then fail
due to the missing declaration, like sysutils/collectd currently does.

Done this way as aarch64 has not had a release yet. Discussed with releng.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/common/lib/libc/arch/aarch64/gen/byte_swap_8.S

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



CVS commit: src/common/lib/libc/arch/aarch64/gen

2019-10-12 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sat Oct 12 09:22:36 UTC 2019

Modified Files:
src/common/lib/libc/arch/aarch64/gen: byte_swap_8.S

Log Message:
Remove htonll and ntohll as symbols from aarch64 libc.

Other architectures do not define them, and so we don't provide a
function declaration in any header.

This means a package may detect it with a link-test and then fail
due to the missing declaration, like sysutils/collectd currently does.

Done this way as aarch64 has not had a release yet. Discussed with releng.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/common/lib/libc/arch/aarch64/gen/byte_swap_8.S

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

Modified files:

Index: src/common/lib/libc/arch/aarch64/gen/byte_swap_8.S
diff -u src/common/lib/libc/arch/aarch64/gen/byte_swap_8.S:1.1 src/common/lib/libc/arch/aarch64/gen/byte_swap_8.S:1.2
--- src/common/lib/libc/arch/aarch64/gen/byte_swap_8.S:1.1	Sun Aug 10 05:47:35 2014
+++ src/common/lib/libc/arch/aarch64/gen/byte_swap_8.S	Sat Oct 12 09:22:36 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: byte_swap_8.S,v 1.1 2014/08/10 05:47:35 matt Exp $ */
+/* $NetBSD: byte_swap_8.S,v 1.2 2019/10/12 09:22:36 maya Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -41,7 +41,3 @@ ENTRY(FUNC)
 	rev		x0, x0
 	ret
 END(FUNC)
-#if BYTE_ORDER == LITTLE_ENDIAN
-STRONG_ALIAS(_C_LABEL(ntohll), FUNC)
-STRONG_ALIAS(_C_LABEL(htonll), FUNC)
-#endif



CVS commit: src/sys/arch/sh3/include

2019-10-04 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Fri Oct  4 15:25:31 UTC 2019

Modified Files:
src/sys/arch/sh3/include: ptrace.h

Log Message:
Provide PTRACE_ILLEGAL_ASM, using an illegal slot instruction


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/sh3/include/ptrace.h

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

Modified files:

Index: src/sys/arch/sh3/include/ptrace.h
diff -u src/sys/arch/sh3/include/ptrace.h:1.15 src/sys/arch/sh3/include/ptrace.h:1.16
--- src/sys/arch/sh3/include/ptrace.h:1.15	Tue Jun 18 21:18:13 2019
+++ src/sys/arch/sh3/include/ptrace.h	Fri Oct  4 15:25:30 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: ptrace.h,v 1.15 2019/06/18 21:18:13 kamil Exp $	*/
+/*	$NetBSD: ptrace.h,v 1.16 2019/10/04 15:25:30 maya Exp $	*/
 
 /*
  * Copyright (c) 1993 Christopher G. Demetriou
@@ -72,6 +72,8 @@
 #define PTRACE_REG_SP(r)	r->r_r15
 #define PTRACE_REG_INTV(r)	r->r_r0
 
+#define PTRACE_ILLEGAL_ASM	__asm __volatile ("0: bra 0b; bra 0b" : : : "memory")
+
 #define PTRACE_BREAKPOINT_TRAP	0xc3
 #define PTRACE_BREAKPOINT	((const uint8_t[]) { 0xc3, 0xc3 })
 #define PTRACE_BREAKPOINT_ASM	__asm __volatile("trapa %0" :: "i"(PTRACE_BREAKPOINT_TRAP))



CVS commit: src/sys/arch/sh3/include

2019-10-04 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Fri Oct  4 15:25:31 UTC 2019

Modified Files:
src/sys/arch/sh3/include: ptrace.h

Log Message:
Provide PTRACE_ILLEGAL_ASM, using an illegal slot instruction


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/sh3/include/ptrace.h

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



CVS commit: src/external/gpl3/gcc/dist/gcc

2019-10-04 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Fri Oct  4 12:46:43 UTC 2019

Modified Files:
src/external/gpl3/gcc/dist/gcc: ira-color.c

Log Message:
We might've switched modes, re-init the move cost table again if necessary.

Fixes unlikely segfault on VAX.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/dist/gcc/ira-color.c

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



CVS commit: src/external/gpl3/gcc/dist/gcc

2019-10-04 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Fri Oct  4 12:46:43 UTC 2019

Modified Files:
src/external/gpl3/gcc/dist/gcc: ira-color.c

Log Message:
We might've switched modes, re-init the move cost table again if necessary.

Fixes unlikely segfault on VAX.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/dist/gcc/ira-color.c

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

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/ira-color.c
diff -u src/external/gpl3/gcc/dist/gcc/ira-color.c:1.6 src/external/gpl3/gcc/dist/gcc/ira-color.c:1.7
--- src/external/gpl3/gcc/dist/gcc/ira-color.c:1.6	Tue Oct  1 10:38:16 2019
+++ src/external/gpl3/gcc/dist/gcc/ira-color.c	Fri Oct  4 12:46:43 2019
@@ -1377,6 +1377,7 @@ update_costs_from_allocno (ira_allocno_t
 	 e.g. DImode for AREG on x86.  For such cases the
 	 register move cost will be maximal.  */
 	  mode = narrower_subreg_mode (mode, ALLOCNO_MODE (cp->second));
+	  ira_init_register_move_cost_if_necessary (mode);
 	  
 	  cost = (cp->second == allocno
 		  ? ira_register_move_cost[mode][rclass][aclass]



CVS commit: src/doc

2019-10-02 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Oct  2 11:18:55 UTC 2019

Modified Files:
src/doc: CHANGES

Log Message:
Note /rescue is a separate set now.


To generate a diff of this commit:
cvs rdiff -u -r1.2586 -r1.2587 src/doc/CHANGES

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

Modified files:

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.2586 src/doc/CHANGES:1.2587
--- src/doc/CHANGES:1.2586	Tue Oct  1 16:08:56 2019
+++ src/doc/CHANGES	Wed Oct  2 11:18:55 2019
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2586 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2587 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -49,4 +49,5 @@ Changes from NetBSD 9.0 to NetBSD 10.0:
 		[jmcneill 20190921]
 	libpcap: Import 1.9.1. [christos 20191001]
 	tcpdump(8): Import 4.9.3. [christos 20191001]
+	rescue(8): Moved into a separate, rescue-only set. [maya 20191001]
 



CVS commit: src/doc

2019-10-02 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Oct  2 11:18:55 UTC 2019

Modified Files:
src/doc: CHANGES

Log Message:
Note /rescue is a separate set now.


To generate a diff of this commit:
cvs rdiff -u -r1.2586 -r1.2587 src/doc/CHANGES

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



CVS commit: src

2019-10-02 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Oct  2 11:16:04 UTC 2019

Modified Files:
src/distrib/amd64/uefi-installimage: Makefile.bootimage
src/distrib/common/bootimage: Makefile.bootimage
src/distrib/miniroot: install.sub
src/distrib/notes/atari: xfer
src/distrib/notes/mvme68k: xfer
src/distrib/sets: README maketars regpkgset sets.subr
src/distrib/sun2: MakeInstTape
src/distrib/sun3: MakeInstTape
src/distrib/utils/embedded: mkimage
src/etc: Makefile
src/usr.sbin/sysinst: defs.h msg.mi.de msg.mi.en msg.mi.es msg.mi.fr
msg.mi.pl util.c
src/usr.sbin/sysinst/arch/acorn32: md.h
src/usr.sbin/sysinst/arch/amd64: md.h
src/usr.sbin/sysinst/arch/amiga: md.h
src/usr.sbin/sysinst/arch/arc: md.h
src/usr.sbin/sysinst/arch/atari: md.h
src/usr.sbin/sysinst/arch/bebox: md.h
src/usr.sbin/sysinst/arch/cats: md.h
src/usr.sbin/sysinst/arch/cobalt: md.h
src/usr.sbin/sysinst/arch/emips: md.h
src/usr.sbin/sysinst/arch/evbarm: md.h
src/usr.sbin/sysinst/arch/evbmips: md.h
src/usr.sbin/sysinst/arch/evbppc: md.h
src/usr.sbin/sysinst/arch/hp300: md.h
src/usr.sbin/sysinst/arch/hpcarm: md.h
src/usr.sbin/sysinst/arch/hpcmips: md.h
src/usr.sbin/sysinst/arch/hpcsh: md.h
src/usr.sbin/sysinst/arch/i386: md.h
src/usr.sbin/sysinst/arch/landisk: md.h
src/usr.sbin/sysinst/arch/mvme68k: md.h
src/usr.sbin/sysinst/arch/ofppc: md.h
src/usr.sbin/sysinst/arch/playstation2: md.h
src/usr.sbin/sysinst/arch/pmax: md.h
src/usr.sbin/sysinst/arch/prep: md.h
src/usr.sbin/sysinst/arch/sandpoint: md.h
src/usr.sbin/sysinst/arch/sgimips: md.h
src/usr.sbin/sysinst/arch/shark: md.h
src/usr.sbin/sysinst/arch/x68k: md.h
src/usr.sbin/sysinst/arch/zaurus: md.h
Added Files:
src/distrib/sets/lists/rescue: mi
Removed Files:
src/distrib/sets/lists/base: rescue.mi

Log Message:
Split out /rescue to its own set and adapt installers/images to add it.

This is meant to make updates safer: if something goes wrong with updating
base, we still have the old, standalone /rescue to recover from.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 \
src/distrib/amd64/uefi-installimage/Makefile.bootimage
cvs rdiff -u -r1.21 -r1.22 src/distrib/common/bootimage/Makefile.bootimage
cvs rdiff -u -r1.48 -r1.49 src/distrib/miniroot/install.sub
cvs rdiff -u -r1.16 -r1.17 src/distrib/notes/atari/xfer
cvs rdiff -u -r1.18 -r1.19 src/distrib/notes/mvme68k/xfer
cvs rdiff -u -r1.13 -r1.14 src/distrib/sets/README
cvs rdiff -u -r1.89 -r1.90 src/distrib/sets/maketars
cvs rdiff -u -r1.12 -r1.13 src/distrib/sets/regpkgset
cvs rdiff -u -r1.186 -r1.187 src/distrib/sets/sets.subr
cvs rdiff -u -r1.46 -r0 src/distrib/sets/lists/base/rescue.mi
cvs rdiff -u -r0 -r1.1 src/distrib/sets/lists/rescue/mi
cvs rdiff -u -r1.1 -r1.2 src/distrib/sun2/MakeInstTape
cvs rdiff -u -r1.2 -r1.3 src/distrib/sun3/MakeInstTape
cvs rdiff -u -r1.69 -r1.70 src/distrib/utils/embedded/mkimage
cvs rdiff -u -r1.440 -r1.441 src/etc/Makefile
cvs rdiff -u -r1.44 -r1.45 src/usr.sbin/sysinst/defs.h
cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/sysinst/msg.mi.de
cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/sysinst/msg.mi.en
cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/sysinst/msg.mi.es
cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/sysinst/msg.mi.fr
cvs rdiff -u -r1.22 -r1.23 src/usr.sbin/sysinst/msg.mi.pl
cvs rdiff -u -r1.32 -r1.33 src/usr.sbin/sysinst/util.c
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/acorn32/md.h
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/arch/amd64/md.h
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/amiga/md.h
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/arc/md.h
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/atari/md.h
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/bebox/md.h
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/cats/md.h
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/cobalt/md.h
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/sysinst/arch/emips/md.h
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/evbarm/md.h
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/evbmips/md.h
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/evbppc/md.h
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/sysinst/arch/hp300/md.h
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/hpcarm/md.h
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/hpcmips/md.h
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/sysinst/arch/hpcsh/md.h
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/arch/i386/md.h
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/sysinst/arch/landisk/md.h
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/mvme68k/md.h
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/ofppc/md.h
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/sysinst/arch/playstation2/md.h
cvs rdiff -u -r1.3 -r1.4 

CVS commit: src

2019-10-02 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Oct  2 11:16:04 UTC 2019

Modified Files:
src/distrib/amd64/uefi-installimage: Makefile.bootimage
src/distrib/common/bootimage: Makefile.bootimage
src/distrib/miniroot: install.sub
src/distrib/notes/atari: xfer
src/distrib/notes/mvme68k: xfer
src/distrib/sets: README maketars regpkgset sets.subr
src/distrib/sun2: MakeInstTape
src/distrib/sun3: MakeInstTape
src/distrib/utils/embedded: mkimage
src/etc: Makefile
src/usr.sbin/sysinst: defs.h msg.mi.de msg.mi.en msg.mi.es msg.mi.fr
msg.mi.pl util.c
src/usr.sbin/sysinst/arch/acorn32: md.h
src/usr.sbin/sysinst/arch/amd64: md.h
src/usr.sbin/sysinst/arch/amiga: md.h
src/usr.sbin/sysinst/arch/arc: md.h
src/usr.sbin/sysinst/arch/atari: md.h
src/usr.sbin/sysinst/arch/bebox: md.h
src/usr.sbin/sysinst/arch/cats: md.h
src/usr.sbin/sysinst/arch/cobalt: md.h
src/usr.sbin/sysinst/arch/emips: md.h
src/usr.sbin/sysinst/arch/evbarm: md.h
src/usr.sbin/sysinst/arch/evbmips: md.h
src/usr.sbin/sysinst/arch/evbppc: md.h
src/usr.sbin/sysinst/arch/hp300: md.h
src/usr.sbin/sysinst/arch/hpcarm: md.h
src/usr.sbin/sysinst/arch/hpcmips: md.h
src/usr.sbin/sysinst/arch/hpcsh: md.h
src/usr.sbin/sysinst/arch/i386: md.h
src/usr.sbin/sysinst/arch/landisk: md.h
src/usr.sbin/sysinst/arch/mvme68k: md.h
src/usr.sbin/sysinst/arch/ofppc: md.h
src/usr.sbin/sysinst/arch/playstation2: md.h
src/usr.sbin/sysinst/arch/pmax: md.h
src/usr.sbin/sysinst/arch/prep: md.h
src/usr.sbin/sysinst/arch/sandpoint: md.h
src/usr.sbin/sysinst/arch/sgimips: md.h
src/usr.sbin/sysinst/arch/shark: md.h
src/usr.sbin/sysinst/arch/x68k: md.h
src/usr.sbin/sysinst/arch/zaurus: md.h
Added Files:
src/distrib/sets/lists/rescue: mi
Removed Files:
src/distrib/sets/lists/base: rescue.mi

Log Message:
Split out /rescue to its own set and adapt installers/images to add it.

This is meant to make updates safer: if something goes wrong with updating
base, we still have the old, standalone /rescue to recover from.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 \
src/distrib/amd64/uefi-installimage/Makefile.bootimage
cvs rdiff -u -r1.21 -r1.22 src/distrib/common/bootimage/Makefile.bootimage
cvs rdiff -u -r1.48 -r1.49 src/distrib/miniroot/install.sub
cvs rdiff -u -r1.16 -r1.17 src/distrib/notes/atari/xfer
cvs rdiff -u -r1.18 -r1.19 src/distrib/notes/mvme68k/xfer
cvs rdiff -u -r1.13 -r1.14 src/distrib/sets/README
cvs rdiff -u -r1.89 -r1.90 src/distrib/sets/maketars
cvs rdiff -u -r1.12 -r1.13 src/distrib/sets/regpkgset
cvs rdiff -u -r1.186 -r1.187 src/distrib/sets/sets.subr
cvs rdiff -u -r1.46 -r0 src/distrib/sets/lists/base/rescue.mi
cvs rdiff -u -r0 -r1.1 src/distrib/sets/lists/rescue/mi
cvs rdiff -u -r1.1 -r1.2 src/distrib/sun2/MakeInstTape
cvs rdiff -u -r1.2 -r1.3 src/distrib/sun3/MakeInstTape
cvs rdiff -u -r1.69 -r1.70 src/distrib/utils/embedded/mkimage
cvs rdiff -u -r1.440 -r1.441 src/etc/Makefile
cvs rdiff -u -r1.44 -r1.45 src/usr.sbin/sysinst/defs.h
cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/sysinst/msg.mi.de
cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/sysinst/msg.mi.en
cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/sysinst/msg.mi.es
cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/sysinst/msg.mi.fr
cvs rdiff -u -r1.22 -r1.23 src/usr.sbin/sysinst/msg.mi.pl
cvs rdiff -u -r1.32 -r1.33 src/usr.sbin/sysinst/util.c
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/acorn32/md.h
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/arch/amd64/md.h
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/amiga/md.h
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/arc/md.h
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/atari/md.h
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/bebox/md.h
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/cats/md.h
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/cobalt/md.h
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/sysinst/arch/emips/md.h
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/evbarm/md.h
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/evbmips/md.h
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/evbppc/md.h
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/sysinst/arch/hp300/md.h
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/hpcarm/md.h
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/hpcmips/md.h
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/sysinst/arch/hpcsh/md.h
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/arch/i386/md.h
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/sysinst/arch/landisk/md.h
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/mvme68k/md.h
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/ofppc/md.h
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/sysinst/arch/playstation2/md.h
cvs rdiff -u -r1.3 -r1.4 

CVS commit: src/distrib/sets/lists/base

2019-10-02 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Oct  2 09:47:25 UTC 2019

Modified Files:
src/distrib/sets/lists/base: rescue.mi
Removed Files:
src/distrib/sets/lists/base: rescue.ad.m68k rescue.mac68k rescue.macppc
rescue.sparc64 rescue.sun2

Log Message:
Mark /rescue/edlabel as MI-obsolete, so we can remove all remaining MD
rescue set list files.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r0 src/distrib/sets/lists/base/rescue.ad.m68k \
src/distrib/sets/lists/base/rescue.macppc \
src/distrib/sets/lists/base/rescue.sparc64 \
src/distrib/sets/lists/base/rescue.sun2
cvs rdiff -u -r1.3 -r0 src/distrib/sets/lists/base/rescue.mac68k
cvs rdiff -u -r1.45 -r1.46 src/distrib/sets/lists/base/rescue.mi

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

Modified files:

Index: src/distrib/sets/lists/base/rescue.mi
diff -u src/distrib/sets/lists/base/rescue.mi:1.45 src/distrib/sets/lists/base/rescue.mi:1.46
--- src/distrib/sets/lists/base/rescue.mi:1.45	Wed Oct  2 09:45:10 2019
+++ src/distrib/sets/lists/base/rescue.mi	Wed Oct  2 09:47:24 2019
@@ -1,4 +1,4 @@
-# $NetBSD: rescue.mi,v 1.45 2019/10/02 09:45:10 maya Exp $
+# $NetBSD: rescue.mi,v 1.46 2019/10/02 09:47:24 maya Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -33,6 +33,7 @@
 ./rescue/dumplfsbase-rescue-root
 ./rescue/echo	base-rescue-root
 ./rescue/ed	base-rescue-root
+./rescue/edlabelbase-obsolete	obsolete
 ./rescue/egrep	base-rescue-root
 ./rescue/ekermitbase-rescue-root
 ./rescue/ex	base-rescue-root



CVS commit: src/distrib/sets/lists/base

2019-10-02 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Oct  2 09:47:25 UTC 2019

Modified Files:
src/distrib/sets/lists/base: rescue.mi
Removed Files:
src/distrib/sets/lists/base: rescue.ad.m68k rescue.mac68k rescue.macppc
rescue.sparc64 rescue.sun2

Log Message:
Mark /rescue/edlabel as MI-obsolete, so we can remove all remaining MD
rescue set list files.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r0 src/distrib/sets/lists/base/rescue.ad.m68k \
src/distrib/sets/lists/base/rescue.macppc \
src/distrib/sets/lists/base/rescue.sparc64 \
src/distrib/sets/lists/base/rescue.sun2
cvs rdiff -u -r1.3 -r0 src/distrib/sets/lists/base/rescue.mac68k
cvs rdiff -u -r1.45 -r1.46 src/distrib/sets/lists/base/rescue.mi

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



CVS commit: src

2019-10-02 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Oct  2 09:45:10 UTC 2019

Modified Files:
src/distrib/sets/lists/base: rescue.mi
src/rescue: Makefile
Removed Files:
src/distrib/sets/lists/base: rescue.ad.arm rescue.ad.m68k.shl
rescue.i386 rescue.shark rescue.sparc rescue.vax
src/rescue: list.ldconfig

Log Message:
Remove ldconfig from /rescue, and mark it MI obsolete.

- ldconfig in netbsd refers to a.out binaries only. We've been ELF-only
  since NetBSD 2.0 or so, and having it in /rescue served little purpose
  even before that, as /rescue is standalone.
- Using MI obsolete to avoid the need for MD set lists where ldconfig
  is the sole entry


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r0 src/distrib/sets/lists/base/rescue.ad.arm \
src/distrib/sets/lists/base/rescue.ad.m68k.shl \
src/distrib/sets/lists/base/rescue.shark \
src/distrib/sets/lists/base/rescue.vax
cvs rdiff -u -r1.4 -r0 src/distrib/sets/lists/base/rescue.i386
cvs rdiff -u -r1.44 -r1.45 src/distrib/sets/lists/base/rescue.mi
cvs rdiff -u -r1.5 -r0 src/distrib/sets/lists/base/rescue.sparc
cvs rdiff -u -r1.37 -r1.38 src/rescue/Makefile
cvs rdiff -u -r1.1 -r0 src/rescue/list.ldconfig

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



CVS commit: src

2019-10-02 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Oct  2 09:45:10 UTC 2019

Modified Files:
src/distrib/sets/lists/base: rescue.mi
src/rescue: Makefile
Removed Files:
src/distrib/sets/lists/base: rescue.ad.arm rescue.ad.m68k.shl
rescue.i386 rescue.shark rescue.sparc rescue.vax
src/rescue: list.ldconfig

Log Message:
Remove ldconfig from /rescue, and mark it MI obsolete.

- ldconfig in netbsd refers to a.out binaries only. We've been ELF-only
  since NetBSD 2.0 or so, and having it in /rescue served little purpose
  even before that, as /rescue is standalone.
- Using MI obsolete to avoid the need for MD set lists where ldconfig
  is the sole entry


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r0 src/distrib/sets/lists/base/rescue.ad.arm \
src/distrib/sets/lists/base/rescue.ad.m68k.shl \
src/distrib/sets/lists/base/rescue.shark \
src/distrib/sets/lists/base/rescue.vax
cvs rdiff -u -r1.4 -r0 src/distrib/sets/lists/base/rescue.i386
cvs rdiff -u -r1.44 -r1.45 src/distrib/sets/lists/base/rescue.mi
cvs rdiff -u -r1.5 -r0 src/distrib/sets/lists/base/rescue.sparc
cvs rdiff -u -r1.37 -r1.38 src/rescue/Makefile
cvs rdiff -u -r1.1 -r0 src/rescue/list.ldconfig

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

Modified files:

Index: src/distrib/sets/lists/base/rescue.mi
diff -u src/distrib/sets/lists/base/rescue.mi:1.44 src/distrib/sets/lists/base/rescue.mi:1.45
--- src/distrib/sets/lists/base/rescue.mi:1.44	Wed Dec 12 07:04:05 2018
+++ src/distrib/sets/lists/base/rescue.mi	Wed Oct  2 09:45:10 2019
@@ -1,4 +1,4 @@
-# $NetBSD: rescue.mi,v 1.44 2018/12/12 07:04:05 maxv Exp $
+# $NetBSD: rescue.mi,v 1.45 2019/10/02 09:45:10 maya Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -64,6 +64,7 @@
 ./rescue/ksh	base-rescue-root
 ./rescue/ktrace	base-rescue-root
 ./rescue/ktruss	base-rescue-root
+./rescue/ldconfigbase-obsolete	obsolete
 ./rescue/ldd	base-rescue-root
 ./rescue/less	base-rescue-root
 ./rescue/lfs_cleanerdbase-rescue-root

Index: src/rescue/Makefile
diff -u src/rescue/Makefile:1.37 src/rescue/Makefile:1.38
--- src/rescue/Makefile:1.37	Sun Jan 27 04:42:46 2019
+++ src/rescue/Makefile	Wed Oct  2 09:45:10 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.37 2019/01/27 04:42:46 dholland Exp $
+#	$NetBSD: Makefile,v 1.38 2019/10/02 09:45:10 maya Exp $
 
 NOLIBCSANITIZER=	# defined
 NOSANITIZER=		# defined
@@ -27,13 +27,6 @@ LISTS=		${.CURDIR}/list
 TARGETDIR=	${DESTDIR}/rescue
 PARSELISTENV+=  TARGETDIR=${TARGETDIR:Q}
 
-.for f in ldconfig
-PROG_${f}!=	cd ${NETBSDSRCDIR}/sbin/${f} && ${MAKE} -V PROG
-.if (${PROG_${f}} != "")
-LISTS+=		${.CURDIR}/list.${f}
-.endif
-.endfor
-
 .for f in pdisk
 PROG_${f}!=	cd ${NETBSDSRCDIR}/external/bsd/${f}/bin && ${MAKE} -V PROG
 .if (${PROG_${f}} != "")



CVS commit: src/sys/dev/ic

2019-09-25 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Sep 25 15:51:37 UTC 2019

Modified Files:
src/sys/dev/ic: isp_netbsd.c

Log Message:
Make clang -Wformat-security happier by not passing a (constant) variable
as the format string,
const string msg; printf(msg)
  -> printf("%s", msg);

the strings are all known and don't currently contain format variables.


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/sys/dev/ic/isp_netbsd.c

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

Modified files:

Index: src/sys/dev/ic/isp_netbsd.c
diff -u src/sys/dev/ic/isp_netbsd.c:1.94 src/sys/dev/ic/isp_netbsd.c:1.95
--- src/sys/dev/ic/isp_netbsd.c:1.94	Sat Sep 21 07:31:56 2019
+++ src/sys/dev/ic/isp_netbsd.c	Wed Sep 25 15:51:37 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: isp_netbsd.c,v 1.94 2019/09/21 07:31:56 maxv Exp $ */
+/* $NetBSD: isp_netbsd.c,v 1.95 2019/09/25 15:51:37 maya Exp $ */
 /*
  * Platform (NetBSD) dependent common attachment code for Qlogic adapters.
  */
@@ -33,7 +33,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: isp_netbsd.c,v 1.94 2019/09/21 07:31:56 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isp_netbsd.c,v 1.95 2019/09/25 15:51:37 maya Exp $");
 
 #include 
 #include 
@@ -1261,7 +1261,7 @@ isp_async(struct ispsoftc *isp, ispasync
    "Starting Loop Down Timer");
 			}
 		}
-		isp_prt(isp, ISP_LOGINFO, msg);
+		isp_prt(isp, ISP_LOGINFO, "%s", msg);
 		break;
 case ISPASYNC_LOOP_UP:
 		/*
@@ -1457,7 +1457,7 @@ isp_async(struct ispsoftc *isp, ispasync
 			isp_prt(isp, ISP_LOGSANCFG|ISP_LOGDEBUG0,
 			   "Stopping Loop Down Timer");
 		}
-		isp_prt(isp, ISP_LOGINFO, msg);
+		isp_prt(isp, ISP_LOGINFO, "%s", msg);
 		/*
 		 * We can set blocked here because we know it's now okay
 		 * to try and run isp_fc_runstate (in order to build loop



CVS commit: src/sys/dev/ic

2019-09-25 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Sep 25 15:51:37 UTC 2019

Modified Files:
src/sys/dev/ic: isp_netbsd.c

Log Message:
Make clang -Wformat-security happier by not passing a (constant) variable
as the format string,
const string msg; printf(msg)
  -> printf("%s", msg);

the strings are all known and don't currently contain format variables.


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/sys/dev/ic/isp_netbsd.c

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



CVS commit: xsrc/external/mit/MesaLib/dist/src/intel/compiler

2019-09-25 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Wed Sep 25 14:53:20 UTC 2019

Modified Files:
xsrc/external/mit/MesaLib/dist/src/intel/compiler:
brw_fs_combine_constants.cpp

Log Message:
Avoid truncating int64_t to int. Found by clang.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \

xsrc/external/mit/MesaLib/dist/src/intel/compiler/brw_fs_combine_constants.cpp

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



CVS commit: xsrc/external/mit/MesaLib/dist/src/intel/compiler

2019-09-25 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Wed Sep 25 14:53:20 UTC 2019

Modified Files:
xsrc/external/mit/MesaLib/dist/src/intel/compiler:
brw_fs_combine_constants.cpp

Log Message:
Avoid truncating int64_t to int. Found by clang.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \

xsrc/external/mit/MesaLib/dist/src/intel/compiler/brw_fs_combine_constants.cpp

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

Modified files:

Index: xsrc/external/mit/MesaLib/dist/src/intel/compiler/brw_fs_combine_constants.cpp
diff -u xsrc/external/mit/MesaLib/dist/src/intel/compiler/brw_fs_combine_constants.cpp:1.1.1.2 xsrc/external/mit/MesaLib/dist/src/intel/compiler/brw_fs_combine_constants.cpp:1.2
--- xsrc/external/mit/MesaLib/dist/src/intel/compiler/brw_fs_combine_constants.cpp:1.1.1.2	Tue Sep 24 17:39:40 2019
+++ xsrc/external/mit/MesaLib/dist/src/intel/compiler/brw_fs_combine_constants.cpp	Wed Sep 25 14:53:20 2019
@@ -34,6 +34,7 @@
  * cannot use immediate values.
  */
 
+#include 
 #include "brw_fs.h"
 #include "brw_cfg.h"
 #include "util/half_float.h"
@@ -232,7 +233,7 @@ get_constant_value(const struct gen_devi
   break;
}
case BRW_REGISTER_TYPE_Q: {
-  int64_t val = !can_do_source_mods ? src->d64 : abs(src->d64);
+  int64_t val = !can_do_source_mods ? src->d64 : std::abs(src->d64);
   memcpy(out, , 8);
   break;
}



CVS commit: xsrc/external/mit/MesaLib/src

2019-09-24 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Tue Sep 24 21:40:37 UTC 2019

Added Files:
xsrc/external/mit/MesaLib/src/gallium/auxiliary: u_format_table.c
u_indices_gen.c u_unfilled_gen.c
xsrc/external/mit/MesaLib/src/gallium/drivers/radeonsi: si_driinfo.h
xsrc/external/mit/MesaLib/src/mapi/glapi: api_exec.c enums.c
glapi_mapi_tmp.h indirect.c indirect.h indirect_init.c
indirect_size.c indirect_size.h marshal_generated.c
xsrc/external/mit/MesaLib/src/mesa: format_info.h get_hash.h matypes.h
xsrc/external/mit/MesaLib/src/mesa/main: dispatch.h format_fallback.c
format_pack.c format_unpack.c marshal_generated.h remap_helper.h
xsrc/external/mit/MesaLib/src/mesa/program: program_parse.tab.c
program_parse.tab.h
xsrc/external/mit/MesaLib/src/util: format_srgb.c
xsrc/external/mit/MesaLib/src/util/xmlpool: options.h

Log Message:
Add more generated files from mesa 19.1.7.

Generated by doing a regular build using pkgsrc.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.3 \
xsrc/external/mit/MesaLib/src/gallium/auxiliary/u_format_table.c \
xsrc/external/mit/MesaLib/src/gallium/auxiliary/u_indices_gen.c \
xsrc/external/mit/MesaLib/src/gallium/auxiliary/u_unfilled_gen.c
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/MesaLib/src/gallium/drivers/radeonsi/si_driinfo.h
cvs rdiff -u -r0 -r1.1 xsrc/external/mit/MesaLib/src/mapi/glapi/api_exec.c \
xsrc/external/mit/MesaLib/src/mapi/glapi/enums.c \
xsrc/external/mit/MesaLib/src/mapi/glapi/glapi_mapi_tmp.h \
xsrc/external/mit/MesaLib/src/mapi/glapi/marshal_generated.c
cvs rdiff -u -r0 -r1.3 xsrc/external/mit/MesaLib/src/mapi/glapi/indirect.c \
xsrc/external/mit/MesaLib/src/mapi/glapi/indirect.h \
xsrc/external/mit/MesaLib/src/mapi/glapi/indirect_init.c \
xsrc/external/mit/MesaLib/src/mapi/glapi/indirect_size.c \
xsrc/external/mit/MesaLib/src/mapi/glapi/indirect_size.h
cvs rdiff -u -r0 -r1.1 xsrc/external/mit/MesaLib/src/mesa/format_info.h \
xsrc/external/mit/MesaLib/src/mesa/matypes.h
cvs rdiff -u -r0 -r1.3 xsrc/external/mit/MesaLib/src/mesa/get_hash.h
cvs rdiff -u -r0 -r1.3 xsrc/external/mit/MesaLib/src/mesa/main/dispatch.h \
xsrc/external/mit/MesaLib/src/mesa/main/remap_helper.h
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/MesaLib/src/mesa/main/format_fallback.c \
xsrc/external/mit/MesaLib/src/mesa/main/format_pack.c \
xsrc/external/mit/MesaLib/src/mesa/main/format_unpack.c \
xsrc/external/mit/MesaLib/src/mesa/main/marshal_generated.h
cvs rdiff -u -r0 -r1.3 \
xsrc/external/mit/MesaLib/src/mesa/program/program_parse.tab.c \
xsrc/external/mit/MesaLib/src/mesa/program/program_parse.tab.h
cvs rdiff -u -r0 -r1.3 xsrc/external/mit/MesaLib/src/util/format_srgb.c
cvs rdiff -u -r0 -r1.1 xsrc/external/mit/MesaLib/src/util/xmlpool/options.h

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

diffs are larger than 1MB and have been omitted


CVS commit: xsrc/external/mit/MesaLib/src

2019-09-24 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Tue Sep 24 21:40:37 UTC 2019

Added Files:
xsrc/external/mit/MesaLib/src/gallium/auxiliary: u_format_table.c
u_indices_gen.c u_unfilled_gen.c
xsrc/external/mit/MesaLib/src/gallium/drivers/radeonsi: si_driinfo.h
xsrc/external/mit/MesaLib/src/mapi/glapi: api_exec.c enums.c
glapi_mapi_tmp.h indirect.c indirect.h indirect_init.c
indirect_size.c indirect_size.h marshal_generated.c
xsrc/external/mit/MesaLib/src/mesa: format_info.h get_hash.h matypes.h
xsrc/external/mit/MesaLib/src/mesa/main: dispatch.h format_fallback.c
format_pack.c format_unpack.c marshal_generated.h remap_helper.h
xsrc/external/mit/MesaLib/src/mesa/program: program_parse.tab.c
program_parse.tab.h
xsrc/external/mit/MesaLib/src/util: format_srgb.c
xsrc/external/mit/MesaLib/src/util/xmlpool: options.h

Log Message:
Add more generated files from mesa 19.1.7.

Generated by doing a regular build using pkgsrc.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.3 \
xsrc/external/mit/MesaLib/src/gallium/auxiliary/u_format_table.c \
xsrc/external/mit/MesaLib/src/gallium/auxiliary/u_indices_gen.c \
xsrc/external/mit/MesaLib/src/gallium/auxiliary/u_unfilled_gen.c
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/MesaLib/src/gallium/drivers/radeonsi/si_driinfo.h
cvs rdiff -u -r0 -r1.1 xsrc/external/mit/MesaLib/src/mapi/glapi/api_exec.c \
xsrc/external/mit/MesaLib/src/mapi/glapi/enums.c \
xsrc/external/mit/MesaLib/src/mapi/glapi/glapi_mapi_tmp.h \
xsrc/external/mit/MesaLib/src/mapi/glapi/marshal_generated.c
cvs rdiff -u -r0 -r1.3 xsrc/external/mit/MesaLib/src/mapi/glapi/indirect.c \
xsrc/external/mit/MesaLib/src/mapi/glapi/indirect.h \
xsrc/external/mit/MesaLib/src/mapi/glapi/indirect_init.c \
xsrc/external/mit/MesaLib/src/mapi/glapi/indirect_size.c \
xsrc/external/mit/MesaLib/src/mapi/glapi/indirect_size.h
cvs rdiff -u -r0 -r1.1 xsrc/external/mit/MesaLib/src/mesa/format_info.h \
xsrc/external/mit/MesaLib/src/mesa/matypes.h
cvs rdiff -u -r0 -r1.3 xsrc/external/mit/MesaLib/src/mesa/get_hash.h
cvs rdiff -u -r0 -r1.3 xsrc/external/mit/MesaLib/src/mesa/main/dispatch.h \
xsrc/external/mit/MesaLib/src/mesa/main/remap_helper.h
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/MesaLib/src/mesa/main/format_fallback.c \
xsrc/external/mit/MesaLib/src/mesa/main/format_pack.c \
xsrc/external/mit/MesaLib/src/mesa/main/format_unpack.c \
xsrc/external/mit/MesaLib/src/mesa/main/marshal_generated.h
cvs rdiff -u -r0 -r1.3 \
xsrc/external/mit/MesaLib/src/mesa/program/program_parse.tab.c \
xsrc/external/mit/MesaLib/src/mesa/program/program_parse.tab.h
cvs rdiff -u -r0 -r1.3 xsrc/external/mit/MesaLib/src/util/format_srgb.c
cvs rdiff -u -r0 -r1.1 xsrc/external/mit/MesaLib/src/util/xmlpool/options.h

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

2019-09-24 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Sep 24 21:33:48 UTC 2019

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

Log Message:
Adjust .PATH


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/mit/xorg/lib/libmesa.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/libmesa.mk
diff -u src/external/mit/xorg/lib/libmesa.mk:1.8 src/external/mit/xorg/lib/libmesa.mk:1.9
--- src/external/mit/xorg/lib/libmesa.mk:1.8	Tue Sep 24 19:29:41 2019
+++ src/external/mit/xorg/lib/libmesa.mk	Tue Sep 24 21:33:48 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: libmesa.mk,v 1.8 2019/09/24 19:29:41 maya Exp $
+#	$NetBSD: libmesa.mk,v 1.9 2019/09/24 21:33:48 maya Exp $
 #
 # Consumer of this Makefile should set MESA_SRC_MODULES.
 
@@ -424,7 +424,7 @@ SRCS.state_tracker= \
 	st_tgsi_lower_yuv.c
 
 # Program sources
-PATHS.program=	mesa/program ../../src/mesa/main/program
+PATHS.program=	mesa/program ../../src/mesa/program
 INCLUDES.program=	glsl
 SRCS.program= \
 	arbprogparse.c \



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

2019-09-24 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Sep 24 21:33:48 UTC 2019

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

Log Message:
Adjust .PATH


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

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



CVS import: xsrc/external/mit/MesaLib/dist

2019-09-24 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Tue Sep 24 20:59:32 UTC 2019

Update of /cvsroot/xsrc/external/mit/MesaLib/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv24458

Log Message:
import mesa-19.1.7 (for pathnames including the word 'core')

Now with the correct paths...

Status:

Vendor Tag: xorg
Release Tags:   mesalib-19-1-7

N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrcommon.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrelemlib.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrelemlib.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrlib.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrlib.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrlib1.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrlib1.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrlib2.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrlib2.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrobject.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrobject.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/coord.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/coord.h
C xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/api.cpp
C xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/api.h
U xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/arena.h
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/backend.cpp
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/backend.h
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/backend_clear.cpp
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/backend_impl.h
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/backend_sample.cpp
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/backend_singlesample.cpp
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/binner.cpp
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/binner.h
U xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/blend.h
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/clip.cpp
C xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/clip.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/conservativeRast.h
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/context.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/depthstencil.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/fifo.hpp
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/format_conversion.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/format_traits.h
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/format_types.h
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/format_utils.h
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/frontend.cpp
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/frontend.h
C xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/knobs.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/knobs_init.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/multisample.h
U xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/pa.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/pa_avx.cpp
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/rasterizer.cpp
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/rasterizer.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/rasterizer_impl.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.cpp
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/ringbuffer.h
C xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/state.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/state_funcs.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/tessellator.h
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/threads.cpp
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/threads.h
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/tilemgr.cpp
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/tilemgr.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/tileset.h
C 

CVS import: xsrc/external/mit/MesaLib/dist

2019-09-24 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Tue Sep 24 20:59:32 UTC 2019

Update of /cvsroot/xsrc/external/mit/MesaLib/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv24458

Log Message:
import mesa-19.1.7 (for pathnames including the word 'core')

Now with the correct paths...

Status:

Vendor Tag: xorg
Release Tags:   mesalib-19-1-7

N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrcommon.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrelemlib.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrelemlib.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrlib.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrlib.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrlib1.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrlib1.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrlib2.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrlib2.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrobject.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/addrobject.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/coord.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/coord.h
C xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/api.cpp
C xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/api.h
U xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/arena.h
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/backend.cpp
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/backend.h
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/backend_clear.cpp
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/backend_impl.h
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/backend_sample.cpp
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/backend_singlesample.cpp
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/binner.cpp
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/binner.h
U xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/blend.h
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/clip.cpp
C xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/clip.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/conservativeRast.h
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/context.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/depthstencil.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/fifo.hpp
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/format_conversion.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/format_traits.h
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/format_types.h
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/format_utils.h
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/frontend.cpp
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/frontend.h
C xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/knobs.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/knobs_init.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/multisample.h
U xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/pa.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/pa_avx.cpp
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/rasterizer.cpp
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/rasterizer.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/rasterizer_impl.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.cpp
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/rdtsc_core.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/ringbuffer.h
C xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/state.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/state_funcs.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/tessellator.h
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/threads.cpp
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/threads.h
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/tilemgr.cpp
C 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/tilemgr.h
U 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/tileset.h
C 

CVS import: xsrc/external/mit/MesaLib/dist

2019-09-24 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Tue Sep 24 20:44:34 UTC 2019

Update of /cvsroot/xsrc/external/mit/MesaLib/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv6180

Log Message:
import mesa-19.1.7 (for pathnames including the word 'core')

Status:

Vendor Tag: xorg
Release Tags:   mesalib-19-1-7

N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrcommon.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrelemlib.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrelemlib.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrlib.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrlib.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrlib1.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrlib1.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrlib2.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrlib2.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrobject.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrobject.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/coord.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/coord.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/api.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/api.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/arena.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/backend.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/backend.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/backend_clear.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/backend_impl.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/backend_sample.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/backend_singlesample.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/binner.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/binner.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/blend.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/clip.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/clip.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/conservativeRast.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/context.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/depthstencil.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/fifo.hpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/format_conversion.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/format_traits.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/format_types.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/format_utils.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/frontend.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/frontend.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/knobs.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/knobs_init.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/multisample.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/pa.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/pa_avx.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/rasterizer.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/rasterizer.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/rasterizer_impl.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/rdtsc_core.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/rdtsc_core.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/ringbuffer.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/state.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/state_funcs.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/tessellator.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/threads.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/threads.h
N 

CVS import: xsrc/external/mit/MesaLib/dist

2019-09-24 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Tue Sep 24 20:44:34 UTC 2019

Update of /cvsroot/xsrc/external/mit/MesaLib/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv6180

Log Message:
import mesa-19.1.7 (for pathnames including the word 'core')

Status:

Vendor Tag: xorg
Release Tags:   mesalib-19-1-7

N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrcommon.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrelemlib.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrelemlib.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrlib.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrlib.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrlib1.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrlib1.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrlib2.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrlib2.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrobject.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/addrobject.h
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/coord.cpp
N xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/core/core/coord.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/api.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/api.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/arena.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/backend.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/backend.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/backend_clear.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/backend_impl.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/backend_sample.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/backend_singlesample.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/binner.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/binner.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/blend.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/clip.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/clip.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/conservativeRast.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/context.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/depthstencil.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/fifo.hpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/format_conversion.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/format_traits.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/format_types.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/format_utils.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/frontend.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/frontend.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/knobs.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/knobs_init.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/multisample.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/pa.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/pa_avx.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/rasterizer.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/rasterizer.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/rasterizer_impl.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/rdtsc_core.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/rdtsc_core.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/ringbuffer.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/state.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/state_funcs.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/tessellator.h
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/threads.cpp
N 
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/core/core/threads.h
N 

CVS commit: xsrc/external/mit/MesaLib/dist/src/intel/isl

2019-09-24 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Tue Sep 24 20:07:16 UTC 2019

Modified Files:
xsrc/external/mit/MesaLib/dist/src/intel/isl: isl_tiled_memcpy.c

Log Message:
Avoid conflict with netbsd's highly visible bswap32 definition.

Re-patching, patch was lost in a rename.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
xsrc/external/mit/MesaLib/dist/src/intel/isl/isl_tiled_memcpy.c

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



CVS commit: xsrc/external/mit/MesaLib/dist/src/intel/isl

2019-09-24 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Tue Sep 24 20:07:16 UTC 2019

Modified Files:
xsrc/external/mit/MesaLib/dist/src/intel/isl: isl_tiled_memcpy.c

Log Message:
Avoid conflict with netbsd's highly visible bswap32 definition.

Re-patching, patch was lost in a rename.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
xsrc/external/mit/MesaLib/dist/src/intel/isl/isl_tiled_memcpy.c

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

Modified files:

Index: xsrc/external/mit/MesaLib/dist/src/intel/isl/isl_tiled_memcpy.c
diff -u xsrc/external/mit/MesaLib/dist/src/intel/isl/isl_tiled_memcpy.c:1.1.1.1 xsrc/external/mit/MesaLib/dist/src/intel/isl/isl_tiled_memcpy.c:1.2
--- xsrc/external/mit/MesaLib/dist/src/intel/isl/isl_tiled_memcpy.c:1.1.1.1	Tue Sep 24 17:44:21 2019
+++ xsrc/external/mit/MesaLib/dist/src/intel/isl/isl_tiled_memcpy.c	Tue Sep 24 20:07:16 2019
@@ -64,6 +64,10 @@ ror(uint32_t n, uint32_t d)
return (n >> d) | (n << (32 - d));
 }
 
+/* Handle conflicting declaration and conflicting macro in netbsd */
+#undef bswap32
+#define bswap32(n) __builtin_bswap32(n)
+#if 0
 static inline uint32_t
 bswap32(uint32_t n)
 {
@@ -76,6 +80,7 @@ bswap32(uint32_t n)
   (n << 24);
 #endif
 }
+#endif
 
 /**
  * Copy RGBA to BGRA - swap R and B.



CVS commit: src/doc

2019-09-24 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Sep 24 19:50:49 UTC 2019

Modified Files:
src/doc: 3RDPARTY

Log Message:
Updated mesa.


To generate a diff of this commit:
cvs rdiff -u -r1.1650 -r1.1651 src/doc/3RDPARTY

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



CVS commit: src/doc

2019-09-24 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Sep 24 19:50:49 UTC 2019

Modified Files:
src/doc: 3RDPARTY

Log Message:
Updated mesa.


To generate a diff of this commit:
cvs rdiff -u -r1.1650 -r1.1651 src/doc/3RDPARTY

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

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1650 src/doc/3RDPARTY:1.1651
--- src/doc/3RDPARTY:1.1650	Mon Sep 23 13:49:40 2019
+++ src/doc/3RDPARTY	Tue Sep 24 19:50:49 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1650 2019/09/23 13:49:40 taca Exp $
+#	$NetBSD: 3RDPARTY,v 1.1651 2019/09/24 19:50:49 maya Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -917,12 +917,12 @@ Location:	sys/external/bsd/drm/dist
 Notes:
 
 Package:	MesaLib
-Version:	18.3.4
-Current Vers:	19.0.1
+Version:	19.1.7
+Current Vers:	19.1.7
 Maintainer:	mesa-git@?
 Archive Site:	ftp://ftp.freedesktop.org/pub/mesa/
 Home Page:	http://www.mesa3d.org/
-Date:		2019-04-05
+Date:		2019-09-24
 Mailing List:
 Responsible:	riastradh, mrg
 License:	ISC



CVS commit: xsrc/external/mit/MesaLib/src/arch

2019-09-24 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Tue Sep 24 19:49:00 UTC 2019

Removed Files:
xsrc/external/mit/MesaLib/src/arch/i386: matypes.h
xsrc/external/mit/MesaLib/src/arch/x86_64: matypes.h

Log Message:
Remove now unused generated files.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r0 xsrc/external/mit/MesaLib/src/arch/i386/matypes.h
cvs rdiff -u -r1.2 -r0 xsrc/external/mit/MesaLib/src/arch/x86_64/matypes.h

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



CVS commit: xsrc/external/mit/MesaLib/src/arch

2019-09-24 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Tue Sep 24 19:49:00 UTC 2019

Removed Files:
xsrc/external/mit/MesaLib/src/arch/i386: matypes.h
xsrc/external/mit/MesaLib/src/arch/x86_64: matypes.h

Log Message:
Remove now unused generated files.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r0 xsrc/external/mit/MesaLib/src/arch/i386/matypes.h
cvs rdiff -u -r1.2 -r0 xsrc/external/mit/MesaLib/src/arch/x86_64/matypes.h

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



CVS commit: xsrc/external/mit/MesaLib/dist/src/util

2019-09-24 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Tue Sep 24 19:47:33 UTC 2019

Modified Files:
xsrc/external/mit/MesaLib/dist/src/util: u_queue.c

Log Message:
Apply u_queue.c patch from pkgsrc:

atexit is not a good idea in shared libraries.
attempt to port cpuset logic to netbsd


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 xsrc/external/mit/MesaLib/dist/src/util/u_queue.c

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

Modified files:

Index: xsrc/external/mit/MesaLib/dist/src/util/u_queue.c
diff -u xsrc/external/mit/MesaLib/dist/src/util/u_queue.c:1.3 xsrc/external/mit/MesaLib/dist/src/util/u_queue.c:1.4
--- xsrc/external/mit/MesaLib/dist/src/util/u_queue.c:1.3	Tue Sep 24 19:26:51 2019
+++ xsrc/external/mit/MesaLib/dist/src/util/u_queue.c	Tue Sep 24 19:47:33 2019
@@ -48,15 +48,22 @@ static once_flag atexit_once_flag = ONCE
 static struct list_head queue_list;
 static mtx_t exit_mutex = _MTX_INITIALIZER_NP;
 
+#define HAVE_NOATEXIT
+#if defined(HAVE_NOATEXIT)
 static int global_init_called = 0;
 
 static void __attribute__((__destructor__))
+#else
+static void
+#endif
 atexit_handler(void)
 {
struct util_queue *iter;
 
+#if defined(HAVE_NOATEXIT)
if (!global_init_called)
   return;
+#endif
 
mtx_lock(_mutex);
/* Wait for all queues to assert idle. */
@@ -70,7 +77,11 @@ static void
 global_init(void)
 {
LIST_INITHEAD(_list);
+#if defined(HAVE_NOATEXIT)
global_init_called = 1;
+#else
+   atexit(atexit_handler);
+#endif
 }
 
 static void
@@ -251,12 +262,25 @@ util_queue_thread_func(void *input)
   /* Don't inherit the thread affinity from the parent thread.
* Set the full mask.
*/
+#if defined(__NetBSD__)
+  cpuset_t *cpuset;
+  cpuset = cpuset_create();
+  if (cpuset != NULL) {
+ cpuset_zero(cpuset);
+ for (unsigned i = 0; i < cpuset_size(cpuset); i++)
+cpuset_set(i, cpuset);
+
+ pthread_setaffinity_np(pthread_self(), cpuset_size(cpuset), cpuset);
+ cpuset_destroy(cpuset);
+  }
+#else
   cpu_set_t cpuset;
   CPU_ZERO();
   for (unsigned i = 0; i < CPU_SETSIZE; i++)
  CPU_SET(i, );
 
   pthread_setaffinity_np(pthread_self(), sizeof(cpuset), );
+#endif
}
 #endif
 



CVS commit: xsrc/external/mit/MesaLib/dist/src/util

2019-09-24 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Tue Sep 24 19:47:33 UTC 2019

Modified Files:
xsrc/external/mit/MesaLib/dist/src/util: u_queue.c

Log Message:
Apply u_queue.c patch from pkgsrc:

atexit is not a good idea in shared libraries.
attempt to port cpuset logic to netbsd


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 xsrc/external/mit/MesaLib/dist/src/util/u_queue.c

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



CVS commit: xsrc/external/mit/MesaLib/dist/src/compiler/nir

2019-09-24 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Tue Sep 24 19:45:13 UTC 2019

Modified Files:
xsrc/external/mit/MesaLib/dist/src/compiler/nir: nir_builtin_builder.h

Log Message:
Provide a bogus definition of NAN for vax.

ifdef __vax__ rather than ifndef NAN to ensure it is never accidentally
picked up for non-VAX.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir_builtin_builder.h

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

Modified files:

Index: xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir_builtin_builder.h
diff -u xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir_builtin_builder.h:1.1.1.2 xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir_builtin_builder.h:1.2
--- xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir_builtin_builder.h:1.1.1.2	Tue Sep 24 16:44:18 2019
+++ xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir_builtin_builder.h	Tue Sep 24 19:45:13 2019
@@ -179,6 +179,10 @@ nir_minmag(nir_builder *b, nir_ssa_def *
return nir_bcsel(b, condy, y, nir_bcsel(b, condx, x, nir_fmin(b, x, y)));
 }
 
+#ifdef __vax__
+#define NAN FLT_MAX
+#endif
+
 static inline nir_ssa_def*
 nir_nan(nir_builder *b, nir_ssa_def *x)
 {



CVS commit: xsrc/external/mit/MesaLib/dist/src/compiler/nir

2019-09-24 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Tue Sep 24 19:45:13 UTC 2019

Modified Files:
xsrc/external/mit/MesaLib/dist/src/compiler/nir: nir_builtin_builder.h

Log Message:
Provide a bogus definition of NAN for vax.

ifdef __vax__ rather than ifndef NAN to ensure it is never accidentally
picked up for non-VAX.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir_builtin_builder.h

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

2019-09-24 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Sep 24 19:29:42 UTC 2019

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:
Update build logic for mesa 19.1.7.

A lot of files are now living outside of dist, since they're not in the
distributed sources: they're generated, usually by python/meson.

The remaining changes are due to files being moved around.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/lib/driver.mk \
src/external/mit/xorg/lib/libloader.mk
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/lib/libglsl.mk
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/lib/libmesa.mk
cvs rdiff -u -r1.32 -r1.33 src/external/mit/xorg/lib/dri/Makefile
cvs rdiff -u -r1.34 -r1.35 src/external/mit/xorg/lib/gallium/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/lib/libEGL/Makefile
cvs rdiff -u -r1.27 -r1.28 src/external/mit/xorg/lib/libGL/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/lib/libGL/mesa-ver.mk
cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/lib/libgbm/Makefile
cvs rdiff -u -r1.4 -r1.5 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.3 src/external/mit/xorg/lib/driver.mk:1.4
--- src/external/mit/xorg/lib/driver.mk:1.3	Sun Mar 10 10:51:58 2019
+++ src/external/mit/xorg/lib/driver.mk	Tue Sep 24 19:29:41 2019
@@ -1,9 +1,10 @@
-#	$NetBSD: driver.mk,v 1.3 2019/03/10 10:51:58 mrg Exp $
+#	$NetBSD: driver.mk,v 1.4 2019/09/24 19:29:41 maya Exp $
 
 # stuff both dri and gallium drivers need.
 
 # util
 .PATH:		${X11SRCDIR.Mesa}/src/util
+.PATH:		${X11SRCDIR.Mesa}/../src/util
 
 SRCS.util=	\
 	hash_table.c \
@@ -49,3 +50,6 @@ SRCS+=	${SRCS.util}
 .PATH: ${X11SRCDIR.Mesa}/src/mesa/drivers/dri/common
 SRCS+=	utils.c dri_util.c xmlconfig.c
 SRCS+=	megadriver_stub.c
+
+CPPFLAGS.dri_util.c+=		-I${X11SRCDIR.Mesa}/../src/util
+
Index: src/external/mit/xorg/lib/libloader.mk
diff -u src/external/mit/xorg/lib/libloader.mk:1.3 src/external/mit/xorg/lib/libloader.mk:1.4
--- src/external/mit/xorg/lib/libloader.mk:1.3	Sun Mar 10 10:51:58 2019
+++ src/external/mit/xorg/lib/libloader.mk	Tue Sep 24 19:29:41 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: libloader.mk,v 1.3 2019/03/10 10:51:58 mrg Exp $
+#	$NetBSD: libloader.mk,v 1.4 2019/09/24 19:29:41 maya Exp $
 
 # makefile fragment for mesa src/loader
 
@@ -12,8 +12,11 @@ SRCS.loader += \
 
 .for _f in ${SRCS.loader}
 CPPFLAGS.${_f}= 	-I${X11SRCDIR.Mesa}/src/util \
+			-I${X11SRCDIR.Mesa}/../src/util \
 			-I${X11SRCDIR.Mesa}/src/mesa \
 			-I${X11SRCDIR.Mesa}/src \
+			-DGL_LIB_NAME=\"libGL.so.3\" \
+			-DDEFAULT_DRIVER_DIR=\"${X11USRLIBDIR}/modules/dri\" \
 			-DUSE_DRICONF
 .endfor
 

Index: src/external/mit/xorg/lib/libglsl.mk
diff -u src/external/mit/xorg/lib/libglsl.mk:1.5 src/external/mit/xorg/lib/libglsl.mk:1.6
--- src/external/mit/xorg/lib/libglsl.mk:1.5	Sun Apr  7 08:14:20 2019
+++ src/external/mit/xorg/lib/libglsl.mk	Tue Sep 24 19:29:41 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: libglsl.mk,v 1.5 2019/04/07 08:14:20 maya Exp $
+#	$NetBSD: libglsl.mk,v 1.6 2019/09/24 19:29:41 maya Exp $
 
 LIBGLSL_GENERATED_CXX_FILES = \
 	glsl_lexer.cpp \
@@ -8,7 +8,14 @@ LIBGLSL_GENERATED_CXX_FILES = \
 COPTS.vtn_glsl450.c+=	${${ACTIVE_CC} == "clang":? -Wno-error=enum-conversion :}
 
 CPPFLAGS+=	-I${X11SRCDIR.Mesa}/src/compiler \
-		-I${X11SRCDIR.Mesa}/src/compiler/nir
+		-I${X11SRCDIR.Mesa}/../src/compiler \
+		-I${X11SRCDIR.Mesa}/src/compiler/nir \
+		-I${X11SRCDIR.Mesa}/../src/compiler/nir \
+		-I${X11SRCDIR.Mesa}/src/compiler/glsl \
+		-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
 
 LIBGLSL_FILES = \
 	ast_array_index.cpp \
@@ -21,28 +28,30 @@ LIBGLSL_FILES = \
 	builtin_variables.cpp \
 	generate_ir.cpp \
 	gl_nir_lower_atomics.c \
-	gl_nir_lower_samplers.c \
-	gl_nir_lower_samplers_as_deref.c \
 	gl_nir_link_atomics.c \
 	gl_nir_link_uniform_initializers.c \
 	gl_nir_link_uniforms.c \
 	gl_nir_link_xfb.c \
 	gl_nir_linker.c \
+	gl_nir_lower_bindless_images.c \
+	gl_nir_lower_buffers.c \
+	gl_nir_lower_samplers.c \
+	gl_nir_lower_samplers_as_deref.c \
 	glsl_parser_extras.cpp \
 	glsl_symbol_table.cpp \
 	glsl_to_nir.cpp \
 	hir_field_selection.cpp \
+	ir.cpp \
 	ir_array_refcount.cpp \
 	ir_basic_block.cpp \
 	ir_builder.cpp \
 	ir_clone.cpp \
 	ir_constant_expression.cpp \
-	ir.cpp \
 	ir_equals.cpp \
 	

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

2019-09-24 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Sep 24 19:29:42 UTC 2019

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:
Update build logic for mesa 19.1.7.

A lot of files are now living outside of dist, since they're not in the
distributed sources: they're generated, usually by python/meson.

The remaining changes are due to files being moved around.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/lib/driver.mk \
src/external/mit/xorg/lib/libloader.mk
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/lib/libglsl.mk
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/lib/libmesa.mk
cvs rdiff -u -r1.32 -r1.33 src/external/mit/xorg/lib/dri/Makefile
cvs rdiff -u -r1.34 -r1.35 src/external/mit/xorg/lib/gallium/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/lib/libEGL/Makefile
cvs rdiff -u -r1.27 -r1.28 src/external/mit/xorg/lib/libGL/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/lib/libGL/mesa-ver.mk
cvs rdiff -u -r1.6 -r1.7 src/external/mit/xorg/lib/libgbm/Makefile
cvs rdiff -u -r1.4 -r1.5 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: xsrc/external/mit/MesaLib/dist

2019-09-24 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Tue Sep 24 19:26:53 UTC 2019

Modified Files:
xsrc/external/mit/MesaLib/dist/include/GL/internal: dri_interface.h
xsrc/external/mit/MesaLib/dist/src/compiler/glsl:
glsl_parser_extras.cpp
xsrc/external/mit/MesaLib/dist/src/egl/main: eglglobals.c
xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util: u_format.c
u_format_tests.c
xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/vl:
vl_compositor.c vl_compositor.h
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe:
lp_setup_point.c
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen:
nv50_ir.h nv50_ir_lowering_nvc0.cpp nv50_ir_lowering_nvc0.h
nv50_ir_print.cpp nv50_ir_ra.cpp nv50_ir_util.h
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600:
evergreen_compute.c r600_query.c r600_texture.c
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeon:
radeon_vcn_enc.c
xsrc/external/mit/MesaLib/dist/src/gallium/include/pipe:
p_video_state.h
xsrc/external/mit/MesaLib/dist/src/gallium/state_trackers/dri:
dri_drawable.c dri_screen.h
xsrc/external/mit/MesaLib/dist/src/gbm/backends/dri: gbm_dri.c
xsrc/external/mit/MesaLib/dist/src/glx: dri_common.c dri_glx.c
glxclient.h
xsrc/external/mit/MesaLib/dist/src/intel/compiler: brw_vue_map.c
xsrc/external/mit/MesaLib/dist/src/intel/dev: gen_device_info.c
xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i915:
intel_context.c intel_context.h intel_screen.c intel_screen.h
xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965:
intel_batchbuffer.c intel_buffer_objects.c intel_mipmap_tree.c
intel_mipmap_tree.h intel_screen.c intel_screen.h
intel_tex_validate.c
xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau:
nouveau_context.c
xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon:
radeon_common_context.c
xsrc/external/mit/MesaLib/dist/src/mesa/main: context.c dlist.c
xsrc/external/mit/MesaLib/dist/src/mesa/swrast: s_span.c
xsrc/external/mit/MesaLib/dist/src/mesa/vbo: vbo_exec_draw.c
xsrc/external/mit/MesaLib/dist/src/util: disk_cache.c ralloc.c u_math.h
u_process.c u_queue.c
Added Files:
xsrc/external/mit/MesaLib/dist: Android.common.mk Android.mk
CleanSpec.mk
xsrc/external/mit/MesaLib/dist/bin: bugzilla_mesa.sh get-pick-list.sh
shortlog_mesa.sh
xsrc/external/mit/MesaLib/dist/src/gallium: Android.common.mk
Android.mk
xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary: Android.mk
xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm: f.cpp
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno:
Android.mk
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915: Android.mk
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau: Android.mk
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300: Android.mk
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600: Android.mk
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi: Android.mk
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe: Android.mk
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga: Android.mk
xsrc/external/mit/MesaLib/dist/src/gallium/winsys/freedreno/drm:
Android.mk
xsrc/external/mit/MesaLib/dist/src/gallium/winsys/i915/drm: Android.mk
xsrc/external/mit/MesaLib/dist/src/gallium/winsys/nouveau/drm:
Android.mk
xsrc/external/mit/MesaLib/dist/src/gallium/winsys/radeon/drm:
Android.mk
xsrc/external/mit/MesaLib/dist/src/gallium/winsys/svga/drm: Android.mk
xsrc/external/mit/MesaLib/dist/src/loader: Android.mk
xsrc/external/mit/MesaLib/dist/src/mapi: Android.mk
xsrc/external/mit/MesaLib/dist/src/mesa: Android.gen.mk
Android.libmesa_dricore.mk Android.libmesa_glsl_utils.mk
Android.libmesa_st_mesa.mk Android.mesa_gen_matypes.mk Android.mk
xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri: Android.mk
gen-symbol-redefs.py
xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/common: Android.mk
xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i915: Android.mk
xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965: Android.mk
xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/r200: Doxyfile
xsrc/external/mit/MesaLib/dist/src/mesa/program: Android.mk
xsrc/external/mit/MesaLib/dist/src/util: Android.mk
Removed Files:
xsrc/external/mit/MesaLib/dist: Makefile.am Makefile.in aclocal.m4
  

CVS commit: xsrc/external/mit/MesaLib/src

2019-09-24 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Tue Sep 24 19:21:13 UTC 2019

Modified Files:
xsrc/external/mit/MesaLib/src/mapi: shared-glapi_glapi_mapi_tmp.h
Added Files:
xsrc/external/mit/MesaLib/src/amd/common: sid_tables.h
xsrc/external/mit/MesaLib/src/compiler: ir_expression_operation.h
xsrc/external/mit/MesaLib/src/compiler/glsl: float64_glsl.h
glsl_lexer.cpp glsl_parser.cpp glsl_parser.h
ir_expression_operation_constant.h
ir_expression_operation_strings.h
xsrc/external/mit/MesaLib/src/compiler/glsl/glcpp: glcpp-lex.c
glcpp-parse.c glcpp-parse.h
xsrc/external/mit/MesaLib/src/compiler/nir: nir_builder_opcodes.h
nir_constant_expressions.c nir_intrinsics.c nir_intrinsics.h
nir_opcodes.c nir_opcodes.h nir_opt_algebraic.c
xsrc/external/mit/MesaLib/src/compiler/spirv: spirv_info.c
vtn_gather_types.c
xsrc/external/mit/MesaLib/src/intel: brw_nir_trig_workarounds.c
isl_format_layout.c
xsrc/external/mit/MesaLib/src/intel/genxml: gen10_pack.h gen11_pack.h
gen45_pack.h gen4_pack.h gen5_pack.h gen6_pack.h gen75_pack.h
gen7_pack.h gen8_pack.h gen9_pack.h genX_bits.h genX_xml.h
xsrc/external/mit/MesaLib/src/intel/perf: gen_perf_metrics.c
gen_perf_metrics.h
xsrc/external/mit/MesaLib/src/pkgconfig: dri.pc.in egl.pc.in gbm.pc.in
gl.pc.in

Log Message:
Update generated files from a regular build of mesa 19.1.7.

The pkgconfig files are now generated using meson, no more .pc.in files,
so I made my own using the result of the pkgsrc build.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 xsrc/external/mit/MesaLib/src/amd/common/sid_tables.h
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/MesaLib/src/compiler/ir_expression_operation.h
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/MesaLib/src/compiler/glsl/float64_glsl.h \
xsrc/external/mit/MesaLib/src/compiler/glsl/glsl_lexer.cpp \
xsrc/external/mit/MesaLib/src/compiler/glsl/glsl_parser.cpp \
xsrc/external/mit/MesaLib/src/compiler/glsl/glsl_parser.h \

xsrc/external/mit/MesaLib/src/compiler/glsl/ir_expression_operation_constant.h \

xsrc/external/mit/MesaLib/src/compiler/glsl/ir_expression_operation_strings.h
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/MesaLib/src/compiler/glsl/glcpp/glcpp-lex.c \
xsrc/external/mit/MesaLib/src/compiler/glsl/glcpp/glcpp-parse.c \
xsrc/external/mit/MesaLib/src/compiler/glsl/glcpp/glcpp-parse.h
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/MesaLib/src/compiler/nir/nir_builder_opcodes.h \
xsrc/external/mit/MesaLib/src/compiler/nir/nir_constant_expressions.c \
xsrc/external/mit/MesaLib/src/compiler/nir/nir_intrinsics.c \
xsrc/external/mit/MesaLib/src/compiler/nir/nir_intrinsics.h \
xsrc/external/mit/MesaLib/src/compiler/nir/nir_opcodes.c \
xsrc/external/mit/MesaLib/src/compiler/nir/nir_opcodes.h \
xsrc/external/mit/MesaLib/src/compiler/nir/nir_opt_algebraic.c
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/MesaLib/src/compiler/spirv/spirv_info.c \
xsrc/external/mit/MesaLib/src/compiler/spirv/vtn_gather_types.c
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/MesaLib/src/intel/brw_nir_trig_workarounds.c \
xsrc/external/mit/MesaLib/src/intel/isl_format_layout.c
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/MesaLib/src/intel/genxml/gen10_pack.h \
xsrc/external/mit/MesaLib/src/intel/genxml/gen11_pack.h \
xsrc/external/mit/MesaLib/src/intel/genxml/gen45_pack.h \
xsrc/external/mit/MesaLib/src/intel/genxml/gen4_pack.h \
xsrc/external/mit/MesaLib/src/intel/genxml/gen5_pack.h \
xsrc/external/mit/MesaLib/src/intel/genxml/gen6_pack.h \
xsrc/external/mit/MesaLib/src/intel/genxml/gen75_pack.h \
xsrc/external/mit/MesaLib/src/intel/genxml/gen7_pack.h \
xsrc/external/mit/MesaLib/src/intel/genxml/gen8_pack.h \
xsrc/external/mit/MesaLib/src/intel/genxml/gen9_pack.h \
xsrc/external/mit/MesaLib/src/intel/genxml/genX_bits.h \
xsrc/external/mit/MesaLib/src/intel/genxml/genX_xml.h
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/MesaLib/src/intel/perf/gen_perf_metrics.c \
xsrc/external/mit/MesaLib/src/intel/perf/gen_perf_metrics.h
cvs rdiff -u -r1.2 -r1.3 \
xsrc/external/mit/MesaLib/src/mapi/shared-glapi_glapi_mapi_tmp.h
cvs rdiff -u -r0 -r1.1 xsrc/external/mit/MesaLib/src/pkgconfig/dri.pc.in \
xsrc/external/mit/MesaLib/src/pkgconfig/egl.pc.in \
xsrc/external/mit/MesaLib/src/pkgconfig/gbm.pc.in \
xsrc/external/mit/MesaLib/src/pkgconfig/gl.pc.in

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

diffs are larger than 1MB and have been omitted


CVS commit: xsrc/external/mit/MesaLib/src

2019-09-24 Thread Maya Rashish
Module Name:xsrc
Committed By:   maya
Date:   Tue Sep 24 19:21:13 UTC 2019

Modified Files:
xsrc/external/mit/MesaLib/src/mapi: shared-glapi_glapi_mapi_tmp.h
Added Files:
xsrc/external/mit/MesaLib/src/amd/common: sid_tables.h
xsrc/external/mit/MesaLib/src/compiler: ir_expression_operation.h
xsrc/external/mit/MesaLib/src/compiler/glsl: float64_glsl.h
glsl_lexer.cpp glsl_parser.cpp glsl_parser.h
ir_expression_operation_constant.h
ir_expression_operation_strings.h
xsrc/external/mit/MesaLib/src/compiler/glsl/glcpp: glcpp-lex.c
glcpp-parse.c glcpp-parse.h
xsrc/external/mit/MesaLib/src/compiler/nir: nir_builder_opcodes.h
nir_constant_expressions.c nir_intrinsics.c nir_intrinsics.h
nir_opcodes.c nir_opcodes.h nir_opt_algebraic.c
xsrc/external/mit/MesaLib/src/compiler/spirv: spirv_info.c
vtn_gather_types.c
xsrc/external/mit/MesaLib/src/intel: brw_nir_trig_workarounds.c
isl_format_layout.c
xsrc/external/mit/MesaLib/src/intel/genxml: gen10_pack.h gen11_pack.h
gen45_pack.h gen4_pack.h gen5_pack.h gen6_pack.h gen75_pack.h
gen7_pack.h gen8_pack.h gen9_pack.h genX_bits.h genX_xml.h
xsrc/external/mit/MesaLib/src/intel/perf: gen_perf_metrics.c
gen_perf_metrics.h
xsrc/external/mit/MesaLib/src/pkgconfig: dri.pc.in egl.pc.in gbm.pc.in
gl.pc.in

Log Message:
Update generated files from a regular build of mesa 19.1.7.

The pkgconfig files are now generated using meson, no more .pc.in files,
so I made my own using the result of the pkgsrc build.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 xsrc/external/mit/MesaLib/src/amd/common/sid_tables.h
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/MesaLib/src/compiler/ir_expression_operation.h
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/MesaLib/src/compiler/glsl/float64_glsl.h \
xsrc/external/mit/MesaLib/src/compiler/glsl/glsl_lexer.cpp \
xsrc/external/mit/MesaLib/src/compiler/glsl/glsl_parser.cpp \
xsrc/external/mit/MesaLib/src/compiler/glsl/glsl_parser.h \

xsrc/external/mit/MesaLib/src/compiler/glsl/ir_expression_operation_constant.h \

xsrc/external/mit/MesaLib/src/compiler/glsl/ir_expression_operation_strings.h
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/MesaLib/src/compiler/glsl/glcpp/glcpp-lex.c \
xsrc/external/mit/MesaLib/src/compiler/glsl/glcpp/glcpp-parse.c \
xsrc/external/mit/MesaLib/src/compiler/glsl/glcpp/glcpp-parse.h
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/MesaLib/src/compiler/nir/nir_builder_opcodes.h \
xsrc/external/mit/MesaLib/src/compiler/nir/nir_constant_expressions.c \
xsrc/external/mit/MesaLib/src/compiler/nir/nir_intrinsics.c \
xsrc/external/mit/MesaLib/src/compiler/nir/nir_intrinsics.h \
xsrc/external/mit/MesaLib/src/compiler/nir/nir_opcodes.c \
xsrc/external/mit/MesaLib/src/compiler/nir/nir_opcodes.h \
xsrc/external/mit/MesaLib/src/compiler/nir/nir_opt_algebraic.c
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/MesaLib/src/compiler/spirv/spirv_info.c \
xsrc/external/mit/MesaLib/src/compiler/spirv/vtn_gather_types.c
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/MesaLib/src/intel/brw_nir_trig_workarounds.c \
xsrc/external/mit/MesaLib/src/intel/isl_format_layout.c
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/MesaLib/src/intel/genxml/gen10_pack.h \
xsrc/external/mit/MesaLib/src/intel/genxml/gen11_pack.h \
xsrc/external/mit/MesaLib/src/intel/genxml/gen45_pack.h \
xsrc/external/mit/MesaLib/src/intel/genxml/gen4_pack.h \
xsrc/external/mit/MesaLib/src/intel/genxml/gen5_pack.h \
xsrc/external/mit/MesaLib/src/intel/genxml/gen6_pack.h \
xsrc/external/mit/MesaLib/src/intel/genxml/gen75_pack.h \
xsrc/external/mit/MesaLib/src/intel/genxml/gen7_pack.h \
xsrc/external/mit/MesaLib/src/intel/genxml/gen8_pack.h \
xsrc/external/mit/MesaLib/src/intel/genxml/gen9_pack.h \
xsrc/external/mit/MesaLib/src/intel/genxml/genX_bits.h \
xsrc/external/mit/MesaLib/src/intel/genxml/genX_xml.h
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/MesaLib/src/intel/perf/gen_perf_metrics.c \
xsrc/external/mit/MesaLib/src/intel/perf/gen_perf_metrics.h
cvs rdiff -u -r1.2 -r1.3 \
xsrc/external/mit/MesaLib/src/mapi/shared-glapi_glapi_mapi_tmp.h
cvs rdiff -u -r0 -r1.1 xsrc/external/mit/MesaLib/src/pkgconfig/dri.pc.in \
xsrc/external/mit/MesaLib/src/pkgconfig/egl.pc.in \
xsrc/external/mit/MesaLib/src/pkgconfig/gbm.pc.in \
xsrc/external/mit/MesaLib/src/pkgconfig/gl.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/expat/lib/libexpat

2019-09-24 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Sep 24 19:19:49 UTC 2019

Modified Files:
src/external/mit/expat/lib/libexpat: Makefile

Log Message:
Unless we add --sysroot, the netbsd src tree headers won't be used.
Do so, so we don't rely on the build machine to have  for
this macro check.

Using ${CPPFLAGS} rather than my own encoding of --sysroot, since it
already includes it.

Tested by agc, thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mit/expat/lib/libexpat/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/expat/lib/libexpat

2019-09-24 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Sep 24 19:19:49 UTC 2019

Modified Files:
src/external/mit/expat/lib/libexpat: Makefile

Log Message:
Unless we add --sysroot, the netbsd src tree headers won't be used.
Do so, so we don't rely on the build machine to have  for
this macro check.

Using ${CPPFLAGS} rather than my own encoding of --sysroot, since it
already includes it.

Tested by agc, thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mit/expat/lib/libexpat/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/expat/lib/libexpat/Makefile
diff -u src/external/mit/expat/lib/libexpat/Makefile:1.3 src/external/mit/expat/lib/libexpat/Makefile:1.4
--- src/external/mit/expat/lib/libexpat/Makefile:1.3	Mon Sep 23 17:20:41 2019
+++ src/external/mit/expat/lib/libexpat/Makefile	Tue Sep 24 19:19:49 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2019/09/23 17:20:41 maya Exp $
+#	$NetBSD: Makefile,v 1.4 2019/09/24 19:19:49 maya Exp $
 
 .include 
 
@@ -36,7 +36,7 @@ dependall: all
 
 expat.pc: expat_config.h expat.pc.in
 	@(V=$$( (echo '#include '; echo PACKAGE_VERSION) | \
-	${CC} -E -I${.CURDIR} - | tail -1 | tr -d '"') && \
+	${CC} ${CPPFLAGS} -E -I${.CURDIR} - | tail -1 | tr -d '"') && \
 	${TOOL_SED} -e s/@VERSION@/$$V/ < ${.CURDIR}/expat.pc.in \
 	> ${.TARGET})
 



CVS commit: src/external/gpl2/xcvs/dist/src

2019-09-24 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Sep 24 17:23:06 UTC 2019

Modified Files:
src/external/gpl2/xcvs/dist/src: ignore.c

Log Message:
Ignore our default core file pattern rather than one of another system.
"core" shows up as a path sometimes.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl2/xcvs/dist/src/ignore.c

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



CVS commit: src/external/gpl2/xcvs/dist/src

2019-09-24 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Sep 24 17:23:06 UTC 2019

Modified Files:
src/external/gpl2/xcvs/dist/src: ignore.c

Log Message:
Ignore our default core file pattern rather than one of another system.
"core" shows up as a path sometimes.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl2/xcvs/dist/src/ignore.c

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

Modified files:

Index: src/external/gpl2/xcvs/dist/src/ignore.c
diff -u src/external/gpl2/xcvs/dist/src/ignore.c:1.3 src/external/gpl2/xcvs/dist/src/ignore.c:1.4
--- src/external/gpl2/xcvs/dist/src/ignore.c:1.3	Tue May 17 14:00:09 2016
+++ src/external/gpl2/xcvs/dist/src/ignore.c	Tue Sep 24 17:23:06 2019
@@ -8,7 +8,7 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.  */
 #include 
-__RCSID("$NetBSD: ignore.c,v 1.3 2016/05/17 14:00:09 christos Exp $");
+__RCSID("$NetBSD: ignore.c,v 1.4 2019/09/24 17:23:06 maya Exp $");
 
 /*
  * .cvsignore file support contributed by David G. Grubbs 
@@ -36,7 +36,7 @@ static int ign_size;			/* This many slot
 static int ign_hold = -1;		/* Index where first "temporary" item
 	 * is held */
 
-const char *ign_default = ". .. core RCSLOG tags TAGS RCS SCCS .make.state\
+const char *ign_default = ". .. *.core RCSLOG tags TAGS RCS SCCS .make.state\
  .nse_depinfo #* .#* cvslog.* ,* CVS.adm .del-* *.a *.olb *.o *.obj\
  *.so *.Z *~ *.old *.elc *.ln *.bak *.BAK *.orig *.rej *.exe _$* *$";
 extern const char *cvsDir;



CVS commit: src/sys/arch/vax/include

2019-09-24 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Sep 24 14:26:33 UTC 2019

Modified Files:
src/sys/arch/vax/include: bus.h

Log Message:
Avoid duplicate PRIxBUSADDR and follow the likely intention, providing PRIxBSH.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/vax/include/bus.h

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

Modified files:

Index: src/sys/arch/vax/include/bus.h
diff -u src/sys/arch/vax/include/bus.h:1.34 src/sys/arch/vax/include/bus.h:1.35
--- src/sys/arch/vax/include/bus.h:1.34	Mon Sep 23 16:17:58 2019
+++ src/sys/arch/vax/include/bus.h	Tue Sep 24 14:26:32 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: bus.h,v 1.34 2019/09/23 16:17:58 skrll Exp $	*/
+/*	$NetBSD: bus.h,v 1.35 2019/09/24 14:26:32 maya Exp $	*/
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.
@@ -105,7 +105,7 @@ typedef psize_t bus_size_t;
 typedef	struct vax_bus_space *bus_space_tag_t;
 typedef	vaddr_t bus_space_handle_t;
 
-#define PRIxBUSADDR	PRIxVADDR
+#define PRIxBSH		PRIxVADDR
 
 struct vax_bus_space {
 	/* cookie */



CVS commit: src/sys/arch/vax/include

2019-09-24 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Sep 24 14:26:33 UTC 2019

Modified Files:
src/sys/arch/vax/include: bus.h

Log Message:
Avoid duplicate PRIxBUSADDR and follow the likely intention, providing PRIxBSH.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/vax/include/bus.h

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



CVS commit: src/external/mit/expat/lib/libexpat

2019-09-23 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Sep 23 17:20:41 UTC 2019

Modified Files:
src/external/mit/expat/lib/libexpat: Makefile

Log Message:
Now that expat_config.h uses a header that is OS-specific, using the HOST_CC
breaks for some setups which lack it (netbsd<8, possibly other things).

Use the compiler targetting netbsd that uses netbsd headers to figure out
PACKAGE_VERSION to avoid this problem.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/mit/expat/lib/libexpat/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/expat/lib/libexpat/Makefile
diff -u src/external/mit/expat/lib/libexpat/Makefile:1.2 src/external/mit/expat/lib/libexpat/Makefile:1.3
--- src/external/mit/expat/lib/libexpat/Makefile:1.2	Sat May 14 14:39:39 2016
+++ src/external/mit/expat/lib/libexpat/Makefile	Mon Sep 23 17:20:41 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2016/05/14 14:39:39 spz Exp $
+#	$NetBSD: Makefile,v 1.3 2019/09/23 17:20:41 maya Exp $
 
 .include 
 
@@ -36,7 +36,7 @@ dependall: all
 
 expat.pc: expat_config.h expat.pc.in
 	@(V=$$( (echo '#include '; echo PACKAGE_VERSION) | \
-	${HOST_CC} -E -I${.CURDIR} - | tail -1 | tr -d '"') && \
+	${CC} -E -I${.CURDIR} - | tail -1 | tr -d '"') && \
 	${TOOL_SED} -e s/@VERSION@/$$V/ < ${.CURDIR}/expat.pc.in \
 	> ${.TARGET})
 



CVS commit: src/external/mit/expat/lib/libexpat

2019-09-23 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Sep 23 17:20:41 UTC 2019

Modified Files:
src/external/mit/expat/lib/libexpat: Makefile

Log Message:
Now that expat_config.h uses a header that is OS-specific, using the HOST_CC
breaks for some setups which lack it (netbsd<8, possibly other things).

Use the compiler targetting netbsd that uses netbsd headers to figure out
PACKAGE_VERSION to avoid this problem.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/mit/expat/lib/libexpat/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/expat/lib/libexpat

2019-09-21 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sat Sep 21 15:56:09 UTC 2019

Modified Files:
src/external/mit/expat/lib/libexpat: expat_config.h

Log Message:
Actually define BYTEORDER since it is used.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/mit/expat/lib/libexpat/expat_config.h

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



CVS commit: src/external/mit/expat/lib/libexpat

2019-09-21 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sat Sep 21 15:56:09 UTC 2019

Modified Files:
src/external/mit/expat/lib/libexpat: expat_config.h

Log Message:
Actually define BYTEORDER since it is used.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/mit/expat/lib/libexpat/expat_config.h

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/expat/lib/libexpat/expat_config.h
diff -u src/external/mit/expat/lib/libexpat/expat_config.h:1.6 src/external/mit/expat/lib/libexpat/expat_config.h:1.7
--- src/external/mit/expat/lib/libexpat/expat_config.h:1.6	Mon Sep 16 11:50:55 2019
+++ src/external/mit/expat/lib/libexpat/expat_config.h	Sat Sep 21 15:56:09 2019
@@ -4,6 +4,10 @@
 /* Define if building universal (internal helper macro) */
 /* #undef AC_APPLE_UNIVERSAL_BUILD */
 
+/* 1234 = LILENDIAN, 4321 = BIGENDIAN */
+#include 
+#define BYTEORDER _BYTE_ORDER
+
 /* Define to 1 if you have the `arc4random' function. */
 /* #undef HAVE_ARC4RANDOM */
 



CVS commit: src/external/mit/expat/lib/libexpat

2019-09-16 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Sep 16 11:50:55 UTC 2019

Modified Files:
src/external/mit/expat/lib/libexpat: expat_config.h

Log Message:
Remove unused definitions, as they are architecture-specific.

Thanks joerg for the heads up.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/mit/expat/lib/libexpat/expat_config.h

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



CVS commit: src/external/mit/expat/lib/libexpat

2019-09-16 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Sep 16 11:50:55 UTC 2019

Modified Files:
src/external/mit/expat/lib/libexpat: expat_config.h

Log Message:
Remove unused definitions, as they are architecture-specific.

Thanks joerg for the heads up.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/mit/expat/lib/libexpat/expat_config.h

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/expat/lib/libexpat/expat_config.h
diff -u src/external/mit/expat/lib/libexpat/expat_config.h:1.5 src/external/mit/expat/lib/libexpat/expat_config.h:1.6
--- src/external/mit/expat/lib/libexpat/expat_config.h:1.5	Mon Sep 16 06:34:43 2019
+++ src/external/mit/expat/lib/libexpat/expat_config.h	Mon Sep 16 11:50:55 2019
@@ -4,9 +4,6 @@
 /* Define if building universal (internal helper macro) */
 /* #undef AC_APPLE_UNIVERSAL_BUILD */
 
-/* 1234 = LILENDIAN, 4321 = BIGENDIAN */
-#define BYTEORDER 1234
-
 /* Define to 1 if you have the `arc4random' function. */
 /* #undef HAVE_ARC4RANDOM */
 
@@ -94,18 +91,6 @@
 /* Version number of package */
 #define VERSION "2.2.8"
 
-/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
-   significant byte first (like Motorola and SPARC, unlike Intel). */
-#if defined AC_APPLE_UNIVERSAL_BUILD
-# if defined __BIG_ENDIAN__
-#  define WORDS_BIGENDIAN 1
-# endif
-#else
-# ifndef WORDS_BIGENDIAN
-/* #  undef WORDS_BIGENDIAN */
-# endif
-#endif
-
 /* Define to allow retrieving the byte offsets for attribute names and values.
*/
 /* #undef XML_ATTR_INFO */



CVS commit: src/external/mit/expat/dist

2019-09-16 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Sep 16 09:35:20 UTC 2019

Removed Files:
src/external/mit/expat/dist: expat_config.h

Log Message:
Remove old generated file.

thanks mlelstv for the heads up.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r0 src/external/mit/expat/dist/expat_config.h

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



CVS commit: src/external/mit/expat/dist

2019-09-16 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Sep 16 09:35:20 UTC 2019

Removed Files:
src/external/mit/expat/dist: expat_config.h

Log Message:
Remove old generated file.

thanks mlelstv for the heads up.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r0 src/external/mit/expat/dist/expat_config.h

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



CVS commit: src/doc

2019-09-16 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Sep 16 06:52:03 UTC 2019

Modified Files:
src/doc: 3RDPARTY

Log Message:
Update expat entry


To generate a diff of this commit:
cvs rdiff -u -r1.1648 -r1.1649 src/doc/3RDPARTY

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

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1648 src/doc/3RDPARTY:1.1649
--- src/doc/3RDPARTY:1.1648	Fri Sep 13 12:00:10 2019
+++ src/doc/3RDPARTY	Mon Sep 16 06:52:02 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1648 2019/09/13 12:00:10 roy Exp $
+#	$NetBSD: 3RDPARTY,v 1.1649 2019/09/16 06:52:02 maya Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -396,12 +396,12 @@ Location:	external/bsd/ekermit
 Notes:
 
 Package:	expat
-Version:	2.2.1
-Current Vers:	2.2.7
+Version:	2.2.8
+Current Vers:	2.2.8
 Maintainer:	Expat Project
-Archive Site:	http://sourceforge.net/projects/expat/files/expat/
+Archive Site:	https://github.com/libexpat/libexpat/releases
 Home Page:	http://www.libexpat.org/
-Date:		2019-01-09
+Date:		2019-09-16
 Mailing List:	expat-disc...@libexpat.org
 Responsible:	mrg
 License:	MIT



CVS commit: src/doc

2019-09-16 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Sep 16 06:52:03 UTC 2019

Modified Files:
src/doc: 3RDPARTY

Log Message:
Update expat entry


To generate a diff of this commit:
cvs rdiff -u -r1.1648 -r1.1649 src/doc/3RDPARTY

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



CVS commit: src/external/mit/expat/lib/libexpat

2019-09-16 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Sep 16 06:34:43 UTC 2019

Modified Files:
src/external/mit/expat/lib/libexpat: expat_config.h

Log Message:
Regenerate the output of expat configure.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/mit/expat/lib/libexpat/expat_config.h

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/expat/lib/libexpat/expat_config.h
diff -u src/external/mit/expat/lib/libexpat/expat_config.h:1.4 src/external/mit/expat/lib/libexpat/expat_config.h:1.5
--- src/external/mit/expat/lib/libexpat/expat_config.h:1.4	Sat Feb  4 10:56:10 2017
+++ src/external/mit/expat/lib/libexpat/expat_config.h	Mon Sep 16 06:34:43 2019
@@ -1,11 +1,17 @@
 /* expat_config.h.  Generated from expat_config.h.in by configure.  */
 /* expat_config.h.in.  Generated from configure.ac by autoheader.  */
 
-/* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */
-#define BYTEORDER BYTE_ORDER
+/* Define if building universal (internal helper macro) */
+/* #undef AC_APPLE_UNIVERSAL_BUILD */
 
-/* Define to 1 if you have the `bcopy' function. */
-#define HAVE_BCOPY 1
+/* 1234 = LILENDIAN, 4321 = BIGENDIAN */
+#define BYTEORDER 1234
+
+/* Define to 1 if you have the `arc4random' function. */
+/* #undef HAVE_ARC4RANDOM */
+
+/* Define to 1 if you have the `arc4random_buf' function. */
+#define HAVE_ARC4RANDOM_BUF 1
 
 /* Define to 1 if you have the  header file. */
 #define HAVE_DLFCN_H 1
@@ -16,11 +22,14 @@
 /* Define to 1 if you have the `getpagesize' function. */
 #define HAVE_GETPAGESIZE 1
 
+/* Define to 1 if you have the `getrandom' function. */
+/* #undef HAVE_GETRANDOM */
+
 /* Define to 1 if you have the  header file. */
 #define HAVE_INTTYPES_H 1
 
-/* Define to 1 if you have the `memmove' function. */
-#define HAVE_MEMMOVE 1
+/* Define to 1 if you have the `bsd' library (-lbsd). */
+/* #undef HAVE_LIBBSD */
 
 /* Define to 1 if you have the  header file. */
 #define HAVE_MEMORY_H 1
@@ -40,6 +49,9 @@
 /* Define to 1 if you have the  header file. */
 #define HAVE_STRING_H 1
 
+/* Define to 1 if you have `syscall' and `SYS_getrandom'. */
+/* #undef HAVE_SYSCALL_GETRANDOM */
+
 /* Define to 1 if you have the  header file. */
 #define HAVE_SYS_PARAM_H 1
 
@@ -55,6 +67,9 @@
 /* Define to the sub-directory where libtool stores uninstalled libraries. */
 #define LT_OBJDIR ".libs/"
 
+/* Name of package */
+#define PACKAGE "expat"
+
 /* Define to the address where bug reports for this package should be sent. */
 #define PACKAGE_BUGREPORT "expat-b...@libexpat.org"
 
@@ -62,7 +77,7 @@
 #define PACKAGE_NAME "expat"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "expat 2.2.0"
+#define PACKAGE_STRING "expat 2.2.8"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "expat"
@@ -71,27 +86,43 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.2.0"
+#define PACKAGE_VERSION "2.2.8"
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
 
-/* whether byteorder is bigendian */
-/* #undef WORDS_BIGENDIAN */
+/* Version number of package */
+#define VERSION "2.2.8"
+
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+   significant byte first (like Motorola and SPARC, unlike Intel). */
+#if defined AC_APPLE_UNIVERSAL_BUILD
+# if defined __BIG_ENDIAN__
+#  define WORDS_BIGENDIAN 1
+# endif
+#else
+# ifndef WORDS_BIGENDIAN
+/* #  undef WORDS_BIGENDIAN */
+# endif
+#endif
+
+/* Define to allow retrieving the byte offsets for attribute names and values.
+   */
+/* #undef XML_ATTR_INFO */
 
 /* Define to specify how much context to retain around the current parse
point. */
 #define XML_CONTEXT_BYTES 1024
 
+/* Define to include code reading entropy from `/dev/urandom'. */
+#define XML_DEV_URANDOM 1
+
 /* Define to make parameter entity parsing functionality available. */
 #define XML_DTD 1
 
 /* Define to make XML Namespaces functionality available. */
 #define XML_NS 1
 
-/* Define to __FUNCTION__ or "" if `__func__' does not conform to ANSI C. */
-/* #undef __func__ */
-
 /* Define to empty if `const' does not conform to ANSI C. */
 /* #undef const */
 



CVS commit: src/external/mit/expat/lib/libexpat

2019-09-16 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Sep 16 06:34:43 UTC 2019

Modified Files:
src/external/mit/expat/lib/libexpat: expat_config.h

Log Message:
Regenerate the output of expat configure.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/mit/expat/lib/libexpat/expat_config.h

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



CVS commit: src/external/mit/expat/dist

2019-09-16 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Sep 16 06:30:17 UTC 2019

Modified Files:
src/external/mit/expat/dist/conftools: config.guess config.sub
src/external/mit/expat/dist/lib: xmlparse.c xmltok.c xmltok.h
xmltok_impl.c
src/external/mit/expat/dist/tests: xmltest.sh
Removed Files:
src/external/mit/expat/dist: MANIFEST README
src/external/mit/expat/dist/conftools: ac_c_bigendian_cross.m4
mkinstalldirs
src/external/mit/expat/dist/xmlwf: xmlurl.h xmlwin32url.cxx

Log Message:
Merge expat 2.2.8


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.5 -r0 src/external/mit/expat/dist/MANIFEST \
src/external/mit/expat/dist/README
cvs rdiff -u -r1.4 -r0 \
src/external/mit/expat/dist/conftools/ac_c_bigendian_cross.m4 \
src/external/mit/expat/dist/conftools/mkinstalldirs
cvs rdiff -u -r1.3 -r1.4 src/external/mit/expat/dist/conftools/config.guess \
src/external/mit/expat/dist/conftools/config.sub
cvs rdiff -u -r1.7 -r1.8 src/external/mit/expat/dist/lib/xmlparse.c
cvs rdiff -u -r1.4 -r1.5 src/external/mit/expat/dist/lib/xmltok.c
cvs rdiff -u -r1.2 -r1.3 src/external/mit/expat/dist/lib/xmltok.h
cvs rdiff -u -r1.5 -r1.6 src/external/mit/expat/dist/lib/xmltok_impl.c
cvs rdiff -u -r1.3 -r1.4 src/external/mit/expat/dist/tests/xmltest.sh
cvs rdiff -u -r1.1.1.1 -r0 src/external/mit/expat/dist/xmlwf/xmlurl.h \
src/external/mit/expat/dist/xmlwf/xmlwin32url.cxx

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



CVS import: src/external/mit/expat/dist

2019-09-16 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Sep 16 06:22:33 UTC 2019

Update of /cvsroot/src/external/mit/expat/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv9502

Log Message:
Import expat 2.2.8

Release 2.2.8 Fri Septemper 13 2019
Security fixes:
   #317 #318  CVE-2019-15903 -- Fix heap overflow triggered by
XML_GetCurrentLineNumber (or XML_GetCurrentColumnNumber),
and deny internal entities closing the doctype;
fixed in commit c20b758c332d9a13afbbb276d30db1d183a85d43

Bug fixes:
#240  Fix cases where XML_StopParser did not have any effect
when called from inside of an end element handler
#341  xmlwf: Fix exit code for operation without "-d DIRECTORY";
previously, only "-d DIRECTORY" would give you a proper
exit code:
  # xmlwf -d . <<<'' 2>/dev/null ; echo $?
  2
  # xmlwf <<<'' 2>/dev/null ; echo $?
  0
Now both cases return exit code 2.

Other changes:
   #299 #302  Windows: Replace LoadLibrary hack to access
unofficial API function SystemFunction036 (RtlGenRandom)
by using official API function rand_s (needs WinXP+)
#325  Windows: Drop support for Visual Studio <=7.1/2003
and document supported compilers in README.md
#286  Windows: Remove COM code from xmlwf; in case it turns
out needed later, there will be a dedicated repository
below https://github.com/libexpat/ for that code
#322  Windows: Remove explicit MSVC solution and project files.
You can generate Visual Studio solution files through
CMake, e.g.: cmake -G"Visual Studio 15 2017" .
#338  xmlwf: Make "xmlwf -h" help output more friendly
#339  examples: Improve elements.c
   #244 #264  Autotools: Add argument --enable-xml-attr-info
   #239 #301  Autotools: Add arguments
--with-getrandom
--without-getrandom
--with-sys-getrandom
--without-sys-getrandom
   #312 #343  Autotools: Fix linking issues with "./configure LD=clang"
  Autotools: Fix "make run-xmltest" for out-of-source builds
   #329 #336  CMake: Pull all options from Expat <=2.2.7 into namespace
prefix EXPAT_ with the exception of DOCBOOK_TO_MAN:
- BUILD_doc-> EXPAT_BUILD_DOCS (plural)
- BUILD_examples   -> EXPAT_BUILD_EXAMPLES
- BUILD_shared -> EXPAT_SHARED_LIBS
- BUILD_tests  -> EXPAT_BUILD_TESTS
- BUILD_tools  -> EXPAT_BUILD_TOOLS
- DOCBOOK_TO_MAN   -> DOCBOOK_TO_MAN (unchanged)
- INSTALL  -> EXPAT_ENABLE_INSTALL
- MSVC_USE_STATIC_CRT  -> EXPAT_MSVC_STATIC_CRT
- USE_libbsd   -> EXPAT_WITH_LIBBSD
- WARNINGS_AS_ERRORS   -> EXPAT_WARNINGS_AS_ERRORS
- XML_CONTEXT_BYTES-> EXPAT_CONTEXT_BYTES
- XML_DEV_URANDOM  -> EXPAT_DEV_URANDOM
- XML_DTD  -> EXPAT_DTD
- XML_NS   -> EXPAT_NS
- XML_UNICODE  -> EXPAT_CHAR_TYPE=ushort (!)
- XML_UNICODE_WCHAR_T  -> EXPAT_CHAR_TYPE=wchar_t (!)
   #244 #264  CMake: Add argument -DEXPAT_ATTR_INFO=(ON|OFF),
default OFF
#326  CMake: Add argument -DEXPAT_LARGE_SIZE=(ON|OFF),
default OFF
#328  CMake: Add argument -DEXPAT_MIN_SIZE=(ON|OFF),
default OFF
   #239 #277  CMake: Add arguments
-DEXPAT_WITH_GETRANDOM=(ON|OFF|AUTO), default AUTO
-DEXPAT_WITH_SYS_GETRANDOM=(ON|OFF|AUTO), default AUTO
#326  CMake: Install expat_config.h to include directory
#326  CMake: Generate and install configuration files for
future find_package(expat [..] CONFIG [..])
  CMake: Now produces a summary of applied configuration
  CMake: Require C++ compiler only when tests are enabled
#330  CMake: Fix compilation for 16bit character types,
i.e. ex -DXML_UNICODE=ON (and ex -DXML_UNICODE_WCHAR_T=ON)
#265  CMake: Fix linking with MinGW
#330  CMake: Add full support for MinGW; to enable, use
-DCMAKE_TOOLCHAIN_FILE=[expat]/cmake/mingw-toolchain.cmake
#330  CMake: Port "make run-xmltest" from GNU Autotools to CMake
#316  CMake: Windows: Make binary postfix match 

CVS import: src/external/mit/expat/dist

2019-09-16 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Sep 16 06:22:33 UTC 2019

Update of /cvsroot/src/external/mit/expat/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv9502

Log Message:
Import expat 2.2.8

Release 2.2.8 Fri Septemper 13 2019
Security fixes:
   #317 #318  CVE-2019-15903 -- Fix heap overflow triggered by
XML_GetCurrentLineNumber (or XML_GetCurrentColumnNumber),
and deny internal entities closing the doctype;
fixed in commit c20b758c332d9a13afbbb276d30db1d183a85d43

Bug fixes:
#240  Fix cases where XML_StopParser did not have any effect
when called from inside of an end element handler
#341  xmlwf: Fix exit code for operation without "-d DIRECTORY";
previously, only "-d DIRECTORY" would give you a proper
exit code:
  # xmlwf -d . <<<'' 2>/dev/null ; echo $?
  2
  # xmlwf <<<'' 2>/dev/null ; echo $?
  0
Now both cases return exit code 2.

Other changes:
   #299 #302  Windows: Replace LoadLibrary hack to access
unofficial API function SystemFunction036 (RtlGenRandom)
by using official API function rand_s (needs WinXP+)
#325  Windows: Drop support for Visual Studio <=7.1/2003
and document supported compilers in README.md
#286  Windows: Remove COM code from xmlwf; in case it turns
out needed later, there will be a dedicated repository
below https://github.com/libexpat/ for that code
#322  Windows: Remove explicit MSVC solution and project files.
You can generate Visual Studio solution files through
CMake, e.g.: cmake -G"Visual Studio 15 2017" .
#338  xmlwf: Make "xmlwf -h" help output more friendly
#339  examples: Improve elements.c
   #244 #264  Autotools: Add argument --enable-xml-attr-info
   #239 #301  Autotools: Add arguments
--with-getrandom
--without-getrandom
--with-sys-getrandom
--without-sys-getrandom
   #312 #343  Autotools: Fix linking issues with "./configure LD=clang"
  Autotools: Fix "make run-xmltest" for out-of-source builds
   #329 #336  CMake: Pull all options from Expat <=2.2.7 into namespace
prefix EXPAT_ with the exception of DOCBOOK_TO_MAN:
- BUILD_doc-> EXPAT_BUILD_DOCS (plural)
- BUILD_examples   -> EXPAT_BUILD_EXAMPLES
- BUILD_shared -> EXPAT_SHARED_LIBS
- BUILD_tests  -> EXPAT_BUILD_TESTS
- BUILD_tools  -> EXPAT_BUILD_TOOLS
- DOCBOOK_TO_MAN   -> DOCBOOK_TO_MAN (unchanged)
- INSTALL  -> EXPAT_ENABLE_INSTALL
- MSVC_USE_STATIC_CRT  -> EXPAT_MSVC_STATIC_CRT
- USE_libbsd   -> EXPAT_WITH_LIBBSD
- WARNINGS_AS_ERRORS   -> EXPAT_WARNINGS_AS_ERRORS
- XML_CONTEXT_BYTES-> EXPAT_CONTEXT_BYTES
- XML_DEV_URANDOM  -> EXPAT_DEV_URANDOM
- XML_DTD  -> EXPAT_DTD
- XML_NS   -> EXPAT_NS
- XML_UNICODE  -> EXPAT_CHAR_TYPE=ushort (!)
- XML_UNICODE_WCHAR_T  -> EXPAT_CHAR_TYPE=wchar_t (!)
   #244 #264  CMake: Add argument -DEXPAT_ATTR_INFO=(ON|OFF),
default OFF
#326  CMake: Add argument -DEXPAT_LARGE_SIZE=(ON|OFF),
default OFF
#328  CMake: Add argument -DEXPAT_MIN_SIZE=(ON|OFF),
default OFF
   #239 #277  CMake: Add arguments
-DEXPAT_WITH_GETRANDOM=(ON|OFF|AUTO), default AUTO
-DEXPAT_WITH_SYS_GETRANDOM=(ON|OFF|AUTO), default AUTO
#326  CMake: Install expat_config.h to include directory
#326  CMake: Generate and install configuration files for
future find_package(expat [..] CONFIG [..])
  CMake: Now produces a summary of applied configuration
  CMake: Require C++ compiler only when tests are enabled
#330  CMake: Fix compilation for 16bit character types,
i.e. ex -DXML_UNICODE=ON (and ex -DXML_UNICODE_WCHAR_T=ON)
#265  CMake: Fix linking with MinGW
#330  CMake: Add full support for MinGW; to enable, use
-DCMAKE_TOOLCHAIN_FILE=[expat]/cmake/mingw-toolchain.cmake
#330  CMake: Port "make run-xmltest" from GNU Autotools to CMake
#316  CMake: Windows: Make binary postfix match 

CVS commit: src/external/mit/xorg/tools/fc-cache

2019-09-16 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Sep 16 06:16:42 UTC 2019

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

Log Message:
Define XML_POOR_ENTROPY in preparation of importing a new expat.

This is the tool fc-cache built as a native binary on the host
during the build.
The host might be non-netbsd, and we don't run configure, so we can't
know what kind of random functions it supports.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/external/mit/xorg/tools/fc-cache/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/tools/fc-cache/Makefile
diff -u src/external/mit/xorg/tools/fc-cache/Makefile:1.17 src/external/mit/xorg/tools/fc-cache/Makefile:1.18
--- src/external/mit/xorg/tools/fc-cache/Makefile:1.17	Sat Jul 20 03:54:50 2019
+++ src/external/mit/xorg/tools/fc-cache/Makefile	Mon Sep 16 06:16:42 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.17 2019/07/20 03:54:50 mrg Exp $
+#	$NetBSD: Makefile,v 1.18 2019/09/16 06:16:42 maya Exp $
 
 .include 
 
@@ -119,6 +119,8 @@ HOST_CPPFLAGS+=	-I${FONTCONFIG} -I${FREE
 		-I${DESTDIR}${X11INCDIR} -I. \
 		-I${FONTCONFIG}/../include
 
+HOST_CPPFLAGS+=	-DXML_POOR_ENTROPY
+
 HOST_CPPFLAGS+=	-DTOOL_FCCACHE
 
 LDADD=	-lz



CVS commit: src/external/mit/xorg/tools/fc-cache

2019-09-16 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Sep 16 06:16:42 UTC 2019

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

Log Message:
Define XML_POOR_ENTROPY in preparation of importing a new expat.

This is the tool fc-cache built as a native binary on the host
during the build.
The host might be non-netbsd, and we don't run configure, so we can't
know what kind of random functions it supports.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/external/mit/xorg/tools/fc-cache/Makefile

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



CVS commit: src/sys/kern

2019-09-15 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sun Sep 15 17:37:25 UTC 2019

Modified Files:
src/sys/kern: vfs_cache.c

Log Message:
More indentation


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/sys/kern/vfs_cache.c

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

Modified files:

Index: src/sys/kern/vfs_cache.c
diff -u src/sys/kern/vfs_cache.c:1.122 src/sys/kern/vfs_cache.c:1.123
--- src/sys/kern/vfs_cache.c:1.122	Sun Sep 15 17:36:43 2019
+++ src/sys/kern/vfs_cache.c	Sun Sep 15 17:37:25 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: vfs_cache.c,v 1.122 2019/09/15 17:36:43 maya Exp $	*/
+/*	$NetBSD: vfs_cache.c,v 1.123 2019/09/15 17:37:25 maya Exp $	*/
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: vfs_cache.c,v 1.122 2019/09/15 17:36:43 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_cache.c,v 1.123 2019/09/15 17:37:25 maya Exp $");
 
 #define __NAMECACHE_PRIVATE
 #ifdef _KERNEL_OPT
@@ -1254,7 +1254,7 @@ cache_reclaim(void)
 			cache_dtor(NULL, ncp);
 			kmem_free(ncp, sizeof(*ncp) + ncp->nc_nlen);
 		} else
-		pool_cache_put(namecache_cache, ncp);
+			pool_cache_put(namecache_cache, ncp);
 		ncp = next;
 	}
 	cache_unlock_cpus();



CVS commit: src/sys/kern

2019-09-15 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sun Sep 15 17:37:25 UTC 2019

Modified Files:
src/sys/kern: vfs_cache.c

Log Message:
More indentation


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/sys/kern/vfs_cache.c

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



CVS commit: src/sys/kern

2019-09-15 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sun Sep 15 17:36:43 UTC 2019

Modified Files:
src/sys/kern: vfs_cache.c

Log Message:
indentation and whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/sys/kern/vfs_cache.c

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



CVS commit: src/sys/kern

2019-09-15 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sun Sep 15 17:36:43 UTC 2019

Modified Files:
src/sys/kern: vfs_cache.c

Log Message:
indentation and whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/sys/kern/vfs_cache.c

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

Modified files:

Index: src/sys/kern/vfs_cache.c
diff -u src/sys/kern/vfs_cache.c:1.121 src/sys/kern/vfs_cache.c:1.122
--- src/sys/kern/vfs_cache.c:1.121	Fri Sep 13 14:01:33 2019
+++ src/sys/kern/vfs_cache.c	Sun Sep 15 17:36:43 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: vfs_cache.c,v 1.121 2019/09/13 14:01:33 christos Exp $	*/
+/*	$NetBSD: vfs_cache.c,v 1.122 2019/09/15 17:36:43 maya Exp $	*/
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: vfs_cache.c,v 1.121 2019/09/13 14:01:33 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_cache.c,v 1.122 2019/09/15 17:36:43 maya Exp $");
 
 #define __NAMECACHE_PRIVATE
 #ifdef _KERNEL_OPT
@@ -883,7 +883,8 @@ cache_enter(struct vnode *dvp, struct vn
 		ncp = kmem_alloc(sizeof(*ncp) + namelen, KM_SLEEP);
 		cache_ctor(NULL, ncp, 0);
 	} else
-	ncp = pool_cache_get(namecache_cache, PR_WAITOK);
+		ncp = pool_cache_get(namecache_cache, PR_WAITOK);
+
 	mutex_enter(namecache_lock);
 	numcache++;
 



CVS commit: src/external/gpl3/gcc/dist/gcc

2019-09-14 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sat Sep 14 15:02:47 UTC 2019

Modified Files:
src/external/gpl3/gcc/dist/gcc: ira-color.c

Log Message:
Initialize the mode before accessing the move costs.
This matches the code of the rest of the file, and might be acceptable
by upstream.

PR toolchain/53176.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/dist/gcc/ira-color.c

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



CVS commit: src/external/gpl3/gcc/dist/gcc

2019-09-14 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sat Sep 14 15:02:47 UTC 2019

Modified Files:
src/external/gpl3/gcc/dist/gcc: ira-color.c

Log Message:
Initialize the mode before accessing the move costs.
This matches the code of the rest of the file, and might be acceptable
by upstream.

PR toolchain/53176.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/dist/gcc/ira-color.c

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

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/ira-color.c
diff -u src/external/gpl3/gcc/dist/gcc/ira-color.c:1.4 src/external/gpl3/gcc/dist/gcc/ira-color.c:1.5
--- src/external/gpl3/gcc/dist/gcc/ira-color.c:1.4	Sat Sep 14 15:00:04 2019
+++ src/external/gpl3/gcc/dist/gcc/ira-color.c	Sat Sep 14 15:02:47 2019
@@ -2771,6 +2771,7 @@ allocno_copy_cost_saving (ira_allocno_t 
 	}
   else
 	gcc_unreachable ();
+  ira_init_register_move_cost_if_necessary(allocno_mode);
   cost += cp->freq * ira_register_move_cost[allocno_mode][rclass][rclass];
 }
   return cost;



CVS commit: src/external/gpl3/gcc/dist/gcc

2019-09-14 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sat Sep 14 15:00:05 UTC 2019

Modified Files:
src/external/gpl3/gcc/dist/gcc: ira-color.c

Log Message:
Revert ira-color.c r1.2.

"VAX does not fully populate the register move costs table, so do not
access it w/o checks.
Hack to work around PR toolchain/53176."

Will commit a more upstream-friendly variant shortly.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/dist/gcc/ira-color.c

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



CVS commit: src/external/gpl3/gcc/dist/gcc

2019-09-14 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sat Sep 14 15:00:05 UTC 2019

Modified Files:
src/external/gpl3/gcc/dist/gcc: ira-color.c

Log Message:
Revert ira-color.c r1.2.

"VAX does not fully populate the register move costs table, so do not
access it w/o checks.
Hack to work around PR toolchain/53176."

Will commit a more upstream-friendly variant shortly.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/dist/gcc/ira-color.c

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

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/ira-color.c
diff -u src/external/gpl3/gcc/dist/gcc/ira-color.c:1.3 src/external/gpl3/gcc/dist/gcc/ira-color.c:1.4
--- src/external/gpl3/gcc/dist/gcc/ira-color.c:1.3	Sat Jan 19 12:10:04 2019
+++ src/external/gpl3/gcc/dist/gcc/ira-color.c	Sat Sep 14 15:00:04 2019
@@ -2771,13 +2771,7 @@ allocno_copy_cost_saving (ira_allocno_t 
 	}
   else
 	gcc_unreachable ();
-  cost += cp->freq *
-(   ira_register_move_cost
- && ira_register_move_cost[allocno_mode]
-	 && ira_register_move_cost[allocno_mode][rclass]
-	)
-	   ? ira_register_move_cost[allocno_mode][rclass][rclass] 
-	   : 0;
+  cost += cp->freq * ira_register_move_cost[allocno_mode][rclass][rclass];
 }
   return cost;
 }



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

2019-09-13 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Fri Sep 13 10:31:46 UTC 2019

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

Log Message:
Use an upstream-friendly version of fixing system.twmrc location.

Upstream uses __datadir__/X11/etc as the install destination,
we use /etc/X11/twm.

This change will require no changes to the upstream man page.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/bin/twm/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/twm/Makefile
diff -u src/external/mit/xorg/bin/twm/Makefile:1.7 src/external/mit/xorg/bin/twm/Makefile:1.8
--- src/external/mit/xorg/bin/twm/Makefile:1.7	Wed Sep 11 14:10:36 2019
+++ src/external/mit/xorg/bin/twm/Makefile	Fri Sep 13 10:31:46 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2019/09/11 14:10:36 maya Exp $
+#	$NetBSD: Makefile,v 1.8 2019/09/13 10:31:46 maya Exp $
 
 .include 
 
@@ -11,7 +11,7 @@ YHEADER=1
 
 TWMCONFIGDIR=		${X11ETCDIR}/twm
 
-X11EXTRAMANDEFS+=	-e 's,__TWMDIR__,${TWMCONFIGDIR},g'
+X11EXTRAMANTRANSFORMS+=	__datadir__/X11/twm ${TWMCONFIGDIR}
 
 TWMDIR=			${X11SRCDIR.${PROG}}
 



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

2019-09-13 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Fri Sep 13 10:31:46 UTC 2019

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

Log Message:
Use an upstream-friendly version of fixing system.twmrc location.

Upstream uses __datadir__/X11/etc as the install destination,
we use /etc/X11/twm.

This change will require no changes to the upstream man page.


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

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



  1   2   3   >