[Midnightbsd-cvs] [MidnightBSD/src] 6f1bdd: contrib/expat: correct MIDNIGHTBSD-Xlist

Lucas Holt noreply at github.com
Wed Aug 12 10:51:16 EDT 2026


  Branch: refs/heads/stable/4.1
  Home:   https://github.com/MidnightBSD/src
  Commit: 6f1bdd4dcb21b81dd1d290617a286ec7f532064e
      https://github.com/MidnightBSD/src/commit/6f1bdd4dcb21b81dd1d290617a286ec7f532064e
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-08-12 (Wed, 12 Aug 2026)

  Changed paths:
    M contrib/expat/MIDNIGHTBSD-Xlist

  Log Message:
  -----------
  contrib/expat: correct MIDNIGHTBSD-Xlist

The list carried a pattern that deleted a file we ship: "*.pc.in"
matches expat.pc.in, which is present in contrib/expat.  Anyone
trimming a new distribution by applying the list literally would have
dropped it.

Two more patterns were conditionally wrong.  "*.cmake" and "*config.h"
are harmless when the list is expanded by the shell at the top of the
extracted tree, but match lib/libexpat.def.cmake and lib/winconfig.h --
both of which we keep -- when it is fed to a matcher that descends into
subdirectories, such as tar -X.

The remainder (*.MPW, *.def, *.dsp, *.dsw, *.vcxproj*, amiga, bcb5, vms,
expat.sln, doc/valid-xhtml10.png) matched nothing as of 2.8.3; upstream
removed those files years ago.

Replace the globs with explicit entries and document the files that are
deliberately kept.  Verified against the 2.8.3 distribution: applying
the new list reproduces contrib/expat exactly, both under shell
expansion and under tar -X path matching.

AI-Assisted-by: Claude Opus 5
Signed-off-by: Lucas Holt <luke at foolishgames.com>
(cherry picked from commit 6a27a477ec743af0ed3afa920dfaaeeab7e5fb8d)



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