DragonFlyBSD/src 7ab6148lib/libefivar uefi-dplib.h

libefivar: Clean up #ifdef logic and add some comments.
DeltaFile
+4-3lib/libefivar/uefi-dplib.h
+4-31 files

DragonFlyBSD/src 4470b57sys/cpu/x86_64/misc x86_64-gdbstub.c

kernel: Fix an off-by-one overflow in the gdb stub.

Fix identical to GDB upstream.
DeltaFile
+1-1sys/cpu/x86_64/misc/x86_64-gdbstub.c
+1-11 files

DragonFlyBSD/src d253612sys/bus/pci pci.c, sys/conf files

kernel/pci: Use ACPI's ACPI_PWR_FOR_SLEEP().

__HAVE_ACPI was never defined in DragonFly because the PCI upgrade
that brought in this check (4d28e78f7e70287ae03930ce9e16ba027ca69477)
missed actually defining it.

It only affects _suspend() and _resume() functions so in practice it
shouldn't cause any functional change.
DeltaFile
+3-7sys/bus/pci/pci.c
+1-1sys/conf/files
+4-82 files

DragonFlyBSD/src 88e1b0busr.sbin/mtree stat_flags.c mtree.h

mtree(8): Teach about the 'xlink' flag.

This fixes, for now, a confusing warning message during installworld
to be more meaningful:

empty:  flags ("schg" is not "schg", modified to "schg")

becomes

empty:  flags ("schg" is not "xlink,schg", modified to "schg")
DeltaFile
+5-0usr.sbin/mtree/stat_flags.c
+2-1usr.sbin/mtree/mtree.h
+7-12 files

DragonFlyBSD/src 2555c0esys/platform/pc64/x86_64 pmap.c

pc64: Move 4 file-scope static variables into create_pagetables()

The KPTbase/KPTphys/KPDbase/KPDphys file-scope static variables are now
only used by create_pagetables(), so just move them into the function.

After this change, the BSS size of the compiled object becomes the same
for GCC 8.3 and GCC 12.5.  Otherwise, GCC 12.5 would always place these
4 static variables in BSS, resulting in 32 bytes bigger BSS than the
object compiled by GCC 8.3.

While there, auto trim the trailing whitespaces.
DeltaFile
+27-27sys/platform/pc64/x86_64/pmap.c
+27-271 files

DragonFlyBSD/src 8739a19gnu/lib/gcc80/libstdcxx/headers Makefile.headers

gcc80: Install the newly added headers for libstdc++

While there, clean up the Makefile.headers a bit according to the same
file in gcc120.
DeltaFile
+6-3gnu/lib/gcc80/libstdcxx/headers/Makefile.headers
+6-31 files

DragonFlyBSD/src 16494b1contrib/gcc-8.0 README.DELETED

contrib/gcc-8.0: Update README.DELETED
DeltaFile
+0-2contrib/gcc-8.0/README.DELETED
+0-21 files

DragonFlyBSD/src 0a92862contrib/gcc-8.0/libstdc++-v3/include/c_compatibility math.h stdlib.h

Merge branch 'vendor/GCC80'
DeltaFile
+181-0contrib/gcc-8.0/libstdc++-v3/include/c_compatibility/math.h
+86-0contrib/gcc-8.0/libstdc++-v3/include/c_compatibility/stdlib.h
+267-02 files

DragonFlyBSD/src 58e84d9contrib/gcc-8.0/libstdc++-v3/include/c_compatibility math.h stdlib.h

vendor/GCC80: Add back math.h/stdlib.h for libstdc++-v3

The two headers were the additional headers installed by GCC 8.x over
GCC 5.x, so add them back.
DeltaFile
+181-0contrib/gcc-8.0/libstdc++-v3/include/c_compatibility/math.h
+86-0contrib/gcc-8.0/libstdc++-v3/include/c_compatibility/stdlib.h
+267-02 files

DragonFlyBSD/src cadc009lib/libz Makefile.stand

libz: Override z_off_t to 'long' to fix bootloader linking

zlib v1.3.2 changed 'z_off_t' from 'long' to 'long long', which is
always 64bit even on i386.  As a result, the built libstand32.a
depended on libgcc to provide 64-bit operations, e.g., '__moddi3', and
thus the bootloader failed to link with errors like:

```
/usr/obj/home/jenkins/workspace/DragonFlyBSD/ctools_x86_64_x86_64/usr/libexec/binutils234/elf/ld.bfd: /usr/obj/home/jenkins/workspace/DragonFlyBSD/world_x86_64/home/jenkins/workspace/DragonFlyBSD/stand/boot/pc32/loader/../../libstand32/libstand32.a(adler32.o): in function `adler32_combine_':
adler32.c:(.text+0x22): undefined reference to `__moddi3'
collect2: error: ld returned 1 exit status
```

Fix this problem by overriding 'z_off_t' to 'long' for libstand32.
DeltaFile
+7-0lib/libz/Makefile.stand
+7-01 files

DragonFlyBSD/src 72911c8contrib/zlib README.DRAGONFLY, lib/libz Makefile.stand zconf.h

libz: Define Z_SOLO to fix libstand <unistd.h> conflict

This avoids the local change to 'zconf.h'.  Update the README.DRAGONFLY
accordingly.
DeltaFile
+3-1lib/libz/Makefile.stand
+1-2contrib/zlib/README.DRAGONFLY
+0-2lib/libz/zconf.h
+4-53 files

DragonFlyBSD/src 4fb6c09lib/libz zconf.h Symbol.map

libz: Update zconf.h and symbols

* Merge updates from configure-generated zconf.h.
* Add new version tag 'ZLIB_1.3.2' and add new symbols.
DeltaFile
+27-19lib/libz/zconf.h
+10-0lib/libz/Symbol.map
+3-0lib/libz/Versions.def
+40-193 files

DragonFlyBSD/src 1e9430econtrib/zlib README.DELETED README.DRAGONFLY

contrib/zlib: Update README.DELETED and README.DRAGONFLY
DeltaFile
+5-3contrib/zlib/README.DELETED
+4-4contrib/zlib/README.DRAGONFLY
+9-72 files

DragonFlyBSD/src 4b0fcc0contrib/zlib gzread.c zlib.h

Merge branch 'vendor/ZLIB'

Upgrade zlib from v1.3.1 to v1.3.2.
DeltaFile
+190-124contrib/zlib/gzread.c
+213-94contrib/zlib/zlib.h
+168-99contrib/zlib/gzwrite.c
+38-151contrib/zlib/inflate.c
+91-91contrib/zlib/inffixed.h
+111-65contrib/zlib/deflate.c
+811-62419 files not shown
+1,433-1,01325 files

DragonFlyBSD/src 5dfc04dcontrib/zlib gzread.c zlib.h

vendor/ZLIB: Upgrade from 1.3.1 to 1.3.2

Version 1.3.2 (released on 2026-02-17) has these key updates from 1.3.1:

* Address findings of the 7ASecurity audit of zlib.
  - Check for negative lengths in crc32_combine functions.
  - Copy only the initialized window contents in inflateCopy.
  - Prevent the use of insecure functions without an explicit request.
  - Add compressBound_z and deflateBound_z functions for large values.
  - Use atomics to build inflate fixed tables once.
  - Add --undefined option to ./configure for UBSan checker.
  - Copy only the initialized deflate state in deflateCopy.
  - Zero inflate state on allocation.
  - Add compress_z and uncompress_z functions.
* Complete rewrite of cmake support.
* Remove untgz from contrib.
* Vectorize the CRC-32 calculation on the s390x.
* Remove vstudio projects in lieu of cmake-generated projects.
* Add zipAlreadyThere() to minizip zip.c to help avoid duplicates.

    [5 lines not shown]
DeltaFile
+190-124contrib/zlib/gzread.c
+213-94contrib/zlib/zlib.h
+168-99contrib/zlib/gzwrite.c
+38-151contrib/zlib/inflate.c
+91-91contrib/zlib/inffixed.h
+111-65contrib/zlib/deflate.c
+811-62419 files not shown
+1,433-1,01325 files

DragonFlyBSD/src 5025e76contrib/nvi2 README.DELETED

contrib/nvi2: Update README.DELETED
DeltaFile
+6-0contrib/nvi2/README.DELETED
+6-01 files

DragonFlyBSD/src 6b026c7contrib/nvi2/catalog README Makefile, contrib/nvi2/cl README.signal

Merge branch 'vendor/NVI2'
DeltaFile
+0-536contrib/nvi2/regex/regex.3
+0-267contrib/nvi2/regex/re_format.7
+0-172contrib/nvi2/cl/README.signal
+0-125contrib/nvi2/catalog/README
+0-94contrib/nvi2/regex/WHATSNEW
+0-77contrib/nvi2/catalog/Makefile
+0-1,2716 files

DragonFlyBSD/src 1d5c2e9contrib/nvi2/catalog README Makefile, contrib/nvi2/cl README.signal

vendor/NVI2: Trim unused files
DeltaFile
+0-536contrib/nvi2/regex/regex.3
+0-267contrib/nvi2/regex/re_format.7
+0-172contrib/nvi2/cl/README.signal
+0-125contrib/nvi2/catalog/README
+0-94contrib/nvi2/regex/WHATSNEW
+0-77contrib/nvi2/catalog/Makefile
+0-1,2716 files

DragonFlyBSD/src d4f1fe2usr.bin/gencat gencat.c

gencat(1): Specially handle "/dev/stdin" to not require devfs

gencat(1) is a bootstrap tool, so dealing with "/dev/stdin" specially
makes it work within a chroot without devfs.

After this change, building and installing the source now work inside a
chroot that does not mount devfs.

While there, minor whitespace cleanups, and remove a legacy ex modeline.
DeltaFile
+20-8usr.bin/gencat/gencat.c
+20-81 files

DragonFlyBSD/src a2d5214usr.bin/vi/catalog Makefile

vi(1): Several improvements to catalog/Makefile

* Chain gencat command with '&&' to catch partial failure.
* Remove empty 'buildfiles'.
* Remove erroneous 'FILESFROUPS'.
* Use ${.TARGET} wherever possible.
* Use 'grep -q' instead of redirecting to /dev/null.
* Fix 'egrep' to 'grep -w'.
* Adjust ${CHK} to base on ${CAT} so all the catalogs are checked.
* Minor comment and style tweaks.
DeltaFile
+17-22usr.bin/vi/catalog/Makefile
+17-221 files

DragonFlyBSD/src 20f32b2usr.bin/vi/catalog Makefile

vi(1): Fix "make check" for catalog

* The "check" target was creating the wrong output files and that caused
  it to fail because the output files were read-only (chmod 444).  Fix
  the "check" target to use ${.TARGET} as the correct output files.
  Also remove the unnecessary chmod.

* Adjust the rules to use 'LC_ALL' instead of 'LANG', as the 'LC_ALL'
  can override all the locale settings.

* Fix "check" target to export 'LC_ALL' at the beginning, and thus
  fix the following 'sed' errors:

  ```
  ... french
  sed: RE error: Illegal byte sequence
  sed: RE error: Illegal byte sequence
  ... german
  sed: RE error: Illegal byte sequence

    [20 lines not shown]
DeltaFile
+6-6usr.bin/vi/catalog/Makefile
+6-61 files

DragonFlyBSD/src d3d82d2stand/boot/pc32/boot2 Makefile

stand: Generate boot2_{32,64}.ldr without using /dev/zero

Use 'awk' instead of 'dd' to generate the 512-byte zero-filled files.
This avoids the '/dev/zero' dependency and helps build the world in a
chroot environment without mounting '/dev'.
DeltaFile
+3-1stand/boot/pc32/boot2/Makefile
+3-11 files

DragonFlyBSD/src e774182sys/kern genassym.sh

sys: Sync genassym.sh from FreeBSD

Major changes:
- Allow one to specify the AWK used in the environment(commandline).
  commit 952539e39ab6995ecd6ed2f8addce38678c6793f
- refactor code so it can run in a chroot without having to have /dev
  mounted
  commit ce3b9e3aeabd54de855c32034e74a273dba23d1c
- genassym.sh: call nm(1) with NMFLAGS.
  commit aea3463e3460e556d41edddd7c3af2aa3be84970
- Don't prefix zero with 0x in assym.s
  commit 4e65501f13a7ab04b6f1fd693fc4c66e1e9cd41c
DeltaFile
+54-37sys/kern/genassym.sh
+54-371 files

DragonFlyBSD/src 196afc1sys/net if.c

net: Fix buildkernel by including "use_loop.h"

This fixes my previous commit.

Reported-by: servik
DeltaFile
+2-0sys/net/if.c
+2-01 files

DragonFlyBSD/src 1412d6fsys/net if.c

net: Fix build for custom kernel without loop interface

This is a follow-up fix to my previous commit
951ecd7f55e2edd33258ad6d9593c9f81c92b42e.

Tested with building the MINI64 kernel config.

Reported-by: swildner
DeltaFile
+5-0sys/net/if.c
+5-01 files

DragonFlyBSD/src c08e332. Makefile_upgrade.inc, etc/mtree BSD.include.dist

mtree: Remove empty vfs/mfs directory

The include/Makefile doesn't install any headers for vfs/mfs.
DeltaFile
+0-2etc/mtree/BSD.include.dist
+1-0Makefile_upgrade.inc
+1-22 files

DragonFlyBSD/src 0b153e8share/mk bsd.lib.mk

<bsd.lib.mk>: Add parentheses to make complex conditions clearer
DeltaFile
+4-4share/mk/bsd.lib.mk
+4-41 files

DragonFlyBSD/src 57f067cshare/mk Makefile bsd.sys.mk

share/mk: Minor style cleanups
DeltaFile
+4-2share/mk/Makefile
+3-2share/mk/bsd.sys.mk
+7-42 files

DragonFlyBSD/src 0ad96ccgnu/usr.bin/cc120/libbackend Makefile, gnu/usr.bin/cc120/support-libs/libcommon Makefile

cc80,cc120: Adjust -Wno-narrowing for GCC >= 8.0

Add the necessary check for cc80 libraries so that GCC 12 succeeds in
building GCC 8.

Meanwhile, improve the GCC check to check for any GCC version >= 8.0.
DeltaFile
+1-1gnu/usr.bin/cc120/libbackend/Makefile
+1-1gnu/usr.bin/cc120/support-libs/libcommon-target/Makefile
+1-1gnu/usr.bin/cc120/support-libs/libcommon/Makefile
+1-1gnu/usr.bin/cc80/libbackend/Makefile
+1-1gnu/usr.bin/cc80/support-libs/libcommon-target/Makefile
+1-1gnu/usr.bin/cc80/support-libs/libcommon/Makefile
+6-66 files

DragonFlyBSD/src e2e4617sys/platform/pc64/conf kern.mk, sys/platform/vkernel64/conf kern.mk

sys: Adjust CFLAGS for gcc120
DeltaFile
+2-1sys/platform/pc64/conf/kern.mk
+1-2sys/platform/vkernel64/conf/kern.mk
+3-32 files