[Midnightbsd-cvs] [MidnightBSD/src] 06cc0f: mDNSResponder: fix remaining build glue for 1790.8...

Lucas Holt noreply at github.com
Wed Sep 23 09:50:32 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 06cc0f87e5c88d523eef5718f5b27587cc35a180
      https://github.com/MidnightBSD/src/commit/06cc0f87e5c88d523eef5718f5b27587cc35a180
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M lib/libdns_sd/Makefile
    M lib/libnss_mdns/Makefile
    M usr.bin/mDNSNetMonitor/Makefile
    M usr.bin/mDNSProxyResponderPosix/Makefile
    M usr.bin/mDNSResponderPosix/Makefile

  Log Message:
  -----------
  mDNSResponder: fix remaining build glue for 1790.80.10

b34bc394d0 updated mdnsd and dnsextd for mDNSResponder 1790.80.10 but
not the other consumers, and buildworld has failed since in
lib/libdns_sd ("'mdns_strict.h' file not found").

libdns_sd: add mDNSCore, where mdns_strict.h now lives, to the include
path, and fix the mDNShared typo in the mDNSShared include (also in
libnss_mdns).

mDNSResponderPosix, mDNSProxyResponderPosix, mDNSNetMonitor: drop
CryptoAlg.c, which upstream removed, and build the DSO client shim and
misc_utilities.c as upstream's SPECIALOBJ list does, with the
utilities and ServiceRegistration include directories that mdnsd
already uses.  mdns_addr_tailq.c from that list is left out as it is
for mdnsd: it needs Apple's AssertMacros.h and nothing in these
programs calls it.

libdns_sd keeps all 43 previously exported symbols and adds 29 from the
new API, so SHLIB_MAJOR stays at 1.  A clean -j14 buildworld of master
completes with this and the flock fix.

AI-Assisted-by: Claude Opus 5.5
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply at anthropic.com>


  Commit: 05dee3e096d39762cc3c0f6529830120ec66b083
      https://github.com/MidnightBSD/src/commit/05dee3e096d39762cc3c0f6529830120ec66b083
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M usr.bin/flock/Makefile
    M usr.bin/flock/flock.c

  Log Message:
  -----------
  flock: fix the build

flock.c initialised a char *[] with string literals, which fails with
-Werror,-Wincompatible-pointer-types-discards-qualifiers; use
__DECONST as diff3 does.  It also calls isfinite() without linking
libm, so the link failed on __isfinite; add LIBADD= m.

Checked that flock runs a command, runs one via -c, and times out a
second locker with -w.

AI-Assisted-by: Claude Opus 5.5
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply at anthropic.com>


Compare: https://github.com/MidnightBSD/src/compare/7cb9b59f7650...05dee3e096d3

To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list