On Mon, 19 Oct 2026 11:43:54 +0100 Stuart Henderson <[email protected]> wrote:
> well that is quite a surprise! > > > # keep this in sync with MODCLANG_VERSION > > # source for updates/new releases: > > https://thfr.gothub.org/wine-clang-pe-headers > > I'm concerned about this. Really need some information about how to > generate these, ideally an automated method that can run from > llvm/clang source tarballs as part of the emulators/wine build so > that wine doesn't block every lang/clang update, but if not then at > least something that can run from a make target. I put those together, it's just a copy of those selected files from llvm port's clang/lib/Headers/ We had an earlier draft that pulled them from BUILD_DEPENDS=devel/llvm/${MODCLANG_VERSION}:patch, see https://github.com/jasperla/openbsd-wip/commit/981f94e839652f7d63349984b038cc19657b5bbf But this extracts about 2GB just for 8 header files and seemed wasteful. An ideal method would be if ports-llvm would put these headerfiles aside somewhere, either as another package or just in a separate directory like 'wine-headers/` or similar. > > Is there some hope to get some of the big set of patches merged > upstream? > > Some #ifdef __OpenBSD__ patches look like they could use a check for > the specific thing (at least xattrs, not sure if there are others) and > conditioning on that instead of OpenBSD/not.
