NetBSD/src 5bkkjpzexternal/gpl2/gmake/dist getopt.c ar.c, external/gpl2/gmake/dist/glob fnmatch.c

   more updates for modern compilers / C versions.

   ar_scan() takes a "void *" for both it's last arg, and the func's
   last arg.  adjust some callbacks to cope without casts.

   in configure, use return instead of exit(3) to avoid wanting stdlib.h.

   if wanting a void signal retsigtype, use the right function (XXX, maybe
   just give up and remove all this now in 2026.)

   remove checks for __GNU_LIBRARY__ before including stdlib.h or unistd.h,
   so that valid prototypes are enabled, and remove incomplete prototypes
   for them from these sources (eg, getenv(), getopt(), errno.)

   avoid using bsd_signal entirely as a name, by defining it to
   gmake_bsd_signal() after including signal.h.


   fixes builds for me on netbsd using GCC 12, 14, and 15.
VersionDeltaFile
1.2+3-20external/gpl2/groff/dist/src/libs/libgroff/getopt.c
1.2+2-15external/gpl2/gmake/dist/getopt.c
1.2+9-6external/gpl2/gmake/dist/ar.c
1.2+0-11external/gpl2/gmake/dist/glob/fnmatch.c
1.2+0-7external/gpl2/gmake/dist/getopt.h
1.4+3-3external/gpl2/gmake/dist/configure
+17-622 files not shown
+19-678 files

NetBSD/src 4O7C8jhshare/mk bsd.own.mk

   mk: Switch the default to MKBSDDIFF=yes.

   PR bin/59798 We are still using GNU diffutils
VersionDeltaFile
1.1461+2-2share/mk/bsd.own.mk
+2-21 files

NetBSD/src Uw4KqBMusr.sbin/pwd_mkdb pwd_mkdb.c

   pwd_mkdb(8): Include <sys/endian.h> rather than machine headers.
VersionDeltaFile
1.62+4-5usr.sbin/pwd_mkdb/pwd_mkdb.c
+4-51 files

NetBSD/src OBSSVjLusr.sbin/dev_mkdb dev_mkdb.c

   dev_mkdb(8): Don't assume <endian.h> is transcluded
VersionDeltaFile
1.32+3-2usr.sbin/dev_mkdb/dev_mkdb.c
+3-21 files

NetBSD/src PhvMq87usr.bin/make/unit-tests directive-export-gmake.mk

   tests/make: test quotes in GNU-style export directive
VersionDeltaFile
1.11+10-1usr.bin/make/unit-tests/directive-export-gmake.mk
+10-11 files

NetBSD/src 12SXlJzusr.bin/make var.c

   make: remove trailing whitespace
VersionDeltaFile
1.1174+4-4usr.bin/make/var.c
+4-41 files

NetBSD/src XRZAGT4doc CHANGES-9.5

   Tickets #1991 and #1992
VersionDeltaFile
1.1.2.89+62-1doc/CHANGES-9.5
+62-11 files

NetBSD/src aBGgknDdoc CHANGES-10.2

   Tickets #1212 and #1213
VersionDeltaFile
1.1.2.82+61-1doc/CHANGES-10.2
+61-11 files

NetBSD/src 2f3Ows9doc CHANGES-11.0

   Ticket #138
VersionDeltaFile
1.1.2.64+6-1doc/CHANGES-11.0
+6-11 files

NetBSD/src lj5tvSPsys/conf copyright

   Pull up following revision(s) (requested by hgutch in ticket #1991):

        sys/conf/copyright: revision 1.24

   welcome to 2026
VersionDeltaFile
1.17.4.6+1-1sys/conf/copyright
+1-11 files

NetBSD/src XjSgoeYsys/conf copyright

   Pull up following revision(s) (requested by hgutch in ticket #1212):

        sys/conf/copyright: revision 1.24

   welcome to 2026
VersionDeltaFile
1.20.4.4+1-1sys/conf/copyright
+1-11 files

NetBSD/src X2W2nJmsys/conf copyright

   Pull up following revision(s) (requested by hgutch in ticket #138):

        sys/conf/copyright: revision 1.24

   welcome to 2026
VersionDeltaFile
1.23.2.1+1-1sys/conf/copyright
+1-11 files

NetBSD/src Nb8KA1tsys/kern kern_lock.c

   KERNEL_LOCK(9): Improve diagnostics when hogging kernel lock.

   1. Log diagnostics unconditionally, even if !LOCKDEBUG -- only put the
      _KERNEL_LOCK_ABORT("spinout") under LOCKDEBUG.

   2. Spin up to ten seconds (not 0x0fffffff iterations of the loop), as
      measured by getticks() and hz, before logging diagnostics.

   3. Avoid printing anything if it was already printed in the last ten
      seconds.

   This uses a somewhat grody symbol alias hack to keep the declaration
   of kernel_lock intact so it doesn't require changes in sys/lock.h or
   its users.

   kern/59870: kernel lock runtime diagnostics are difficult
VersionDeltaFile
1.190+75-28sys/kern/kern_lock.c
+75-281 files

NetBSD/src yeKOJ9Xsys/kern kern_lock.c

   kern_lock.c: Sort includes.

   No functional change intended.

   Prompted by:

   PR kern/59870: kernel lock runtime diagnostics are difficult
VersionDeltaFile
1.189+10-8sys/kern/kern_lock.c
+10-81 files

NetBSD/src CZzDIHpsys/dev/ic rtl8169.c

   rtl8169.c: improve a comment
VersionDeltaFile
1.181+3-3sys/dev/ic/rtl8169.c
+3-31 files

NetBSD/src SnuVB7sdoc CHANGES

   doc: last changes of 2025
VersionDeltaFile
1.3210+15-3doc/CHANGES
+15-31 files

NetBSD/src 15H6upvsys/conf copyright

   welcome to 2026
VersionDeltaFile
1.24+1-1sys/conf/copyright
+1-11 files

NetBSD/src QbCq2nHsys/dev/rasops rasops.c

   rasops_allocattr_mono: fix regression from WSSCREEN_256COL

   0xff was never a valid colormap index, but worked by accident
   since the previous ATTR_FG implementation clamped the value.
   Now it results in black text on black background.
   Use named WSCOL_* constants instead.
VersionDeltaFile
1.130+4-4sys/dev/rasops/rasops.c
+4-41 files

NetBSD/src BVxL9gKcommon/lib/libc/atomic atomic_add_32_nv_cas.c atomic_add_64_nv_cas.c

   Revert previous; there are other problems that need addressing first.
VersionDeltaFile
1.11+1-1common/lib/libc/atomic/atomic_add_32_nv_cas.c
1.11+1-1common/lib/libc/atomic/atomic_add_64_nv_cas.c
1.6+1-1common/lib/libc/atomic/atomic_dec_32_nv_cas.c
1.6+1-1common/lib/libc/atomic/atomic_dec_64_nv_cas.c
1.6+1-1common/lib/libc/atomic/atomic_inc_32_nv_cas.c
1.7+1-1common/lib/libc/atomic/atomic_inc_64_nv_cas.c
+6-66 files

NetBSD/src 2MHIhF3share/man/man9 curlwp_bind.9

   curlwp_bind(9): tweak example's markup

   `-offset indent` indents less than a literal tab.  While here,
   untabify the example, groff's PS output is slightly misaligned
   otherwise (within the literal display itself).
VersionDeltaFile
1.3+18-18share/man/man9/curlwp_bind.9
+18-181 files

NetBSD/src DXorsE8sys/modules/if_urndis if_urndis.ioconf

   urndis(4): Attach at usbifif, not usbdevif, in the if_urndis module.

   We really ought to have a static type system for config(5) interface
   attributes to catch mistakes like this!

   Came up while trying to test a fix for:

   PR kern/59872: urndis(4): missing support for some devices
VersionDeltaFile
1.2+3-3sys/modules/if_urndis/if_urndis.ioconf
+3-31 files

NetBSD/src 5MANfbasys/dev/usb if_urndis.c

   urndis(4): Match more interface ids.

   There are some others we should consider too, based on what OpenBSD,
   FreeBSD, and Linux match, but I haven't tested with these devices:

      class           subclass                        protocol
   1. 0x02 (CDC)      0x02 (abstract control model)   0xff (? rndis?)
   2. 0xef (misc)     0x01 (sync)                     0x01 (active)
   3. 0xef (misc)     0x04 (rndis)                    0x03 (wimax)
   4. 0xef (misc)     0x04 (rndis)                    0x04 (wwan)

   Note: FreeBSD uses `UIPROTO_RNDIS' for (3) even though the USB-IF
   registry lists class 0xef, subclass 0x04, protocol 0x04 as `RNDIS
   over WiMAX'; likewise `UIPROTO_ACTIVESYNC' for (4) even though it's
   listed as `RNDIS over WWAN'.  My guess is that for class 0xef
   subclass 0x04, _any_ protocol will really be RNDIS, and it was a
   mistake for FreeBSD to use those protocol numbers (which context
   suggests were supposed to apply to different subclasses).

   PR kern/59872: urndis(4): missing support for some devices
VersionDeltaFile
1.50+36-5sys/dev/usb/if_urndis.c
+36-51 files

NetBSD/src NPoPdCWsys/dev/usb usb.h

   usb.h: Provide definitions for USB class 0xef: miscellaneous.

   Source: https://usb.org/defined-class-codes
   https://web.archive.org/web/20251216031858/https://usb.org/defined-class-codes

   PR kern/59872: urndis(4): missing support for some devices
VersionDeltaFile
1.125+33-1sys/dev/usb/usb.h
+33-11 files

NetBSD/src gxEfjFBexternal/gpl2/texinfo/dist/makeinfo cmds.h insertion.c

   Improve the rigor of function signatures and prototypes in gmake,
   texinfo, and gmp sources in order to meet the C23 requirements of
   gcc 15.2.1. (2nd try after the 1st try broke the build :( )

   With these changes -current now also builds with gcc 15.2.1 on
   Fedora 43 (using HOST_CFLAGS=-fpermissive).  No functional changes
   intended.

   Patches are from (primarily) mrg@ and myself.  Additional comments
   and guidance from riastradh@ .
VersionDeltaFile
1.4+122-122external/gpl2/texinfo/dist/makeinfo/cmds.h
1.4+75-75external/gpl2/texinfo/dist/makeinfo/insertion.c
1.5+74-74external/gpl2/texinfo/dist/makeinfo/cmds.c
1.5+23-23external/gpl2/texinfo/dist/makeinfo/sectioning.c
1.4+21-21external/gpl2/texinfo/dist/makeinfo/sectioning.h
1.6+12-12external/gpl2/texinfo/dist/makeinfo/index.c
+327-32722 files not shown
+406-40628 files

NetBSD/src NqmwGiHexternal/bsd/elftoolchain/lib/libelf Makefile

   elftoolchain/libelf: Simplify an M4 invocation.

   The M4 sources being expanded no longer use 'SRCDIR'.
VersionDeltaFile
1.8+1-2external/bsd/elftoolchain/lib/libelf/Makefile
+1-21 files

NetBSD/src y3nKz28tools/elftoolchain/libelf Makefile

   tools/elftoolchain/libelf: Simplify an M4 invocation.

   The source files being expanded no longer use 'SRCDIR'.
VersionDeltaFile
1.7+2-3tools/elftoolchain/libelf/Makefile
+2-31 files

NetBSD/src dDR5zupsys/dev/pci files.virtio

   dev/pci/files.virtio: Note not to add more virtio drivers here.

   virtio is not pci-specific and the drivers are not pci-specific so
   they shouldn't be in a pci-specific place.
VersionDeltaFile
1.4+5-1sys/dev/pci/files.virtio
+5-11 files

NetBSD/src Q4HlbNnshare/man/man9 curlwp_bind.9

   curlwp_bind: sort xrefs
VersionDeltaFile
1.2+3-3share/man/man9/curlwp_bind.9
+3-31 files

NetBSD/src Cz8ZlQlcommon/lib/libc/arch/m68k/string memcmp.S, sys/arch/amd64/amd64 locore.S

   fix various typos, mainly in comments.
VersionDeltaFile
1.11+4-4sys/arch/m68k/include/pmap_68k.h
1.235+4-4sys/arch/amd64/amd64/locore.S
1.13+3-3sys/arch/evbppc/virtex/dev/xlcom.c
1.6+3-3common/lib/libc/arch/m68k/string/memcmp.S
1.205+3-3sys/arch/i386/i386/locore.S
1.98+3-3sys/dev/ic/dwc_gmac.c
+20-205 files not shown
+30-3011 files

NetBSD/src eNZiRfMdistrib/sets/lists/comp mi, share/man/man9 curlwp_bind.9 Makefile

   curlwp_bind(9): Add a man page.
VersionDeltaFile
1.1+98-0share/man/man9/curlwp_bind.9
1.2512+7-1distrib/sets/lists/comp/mi
1.476+3-1share/man/man9/Makefile
+108-23 files