[Bug 280448] emulators/wine: Fix PE build

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 25 Jul 2024 19:50:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280448

            Bug ID: 280448
           Summary: emulators/wine: Fix PE build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gerald@FreeBSD.org
          Reporter: Alexander88207@protonmail.com
          Assignee: gerald@FreeBSD.org
             Flags: maintainer-feedback?(gerald@FreeBSD.org)

Created attachment 252285
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=252285&action=edit
0001-emulators-wine-Fix-build.patch

Hello,

this an patch to return to build PE binaries how its supposed to since wine7
and wine8 (last time).

The changes to the wine-proton port were used for this, thank you Alex S for
your work.

The only problem is that on i386 it fails to find/use the missing headers in
files/clang.

I currently have included that llvm17 gets used when on i386 but not in an
elegant way because llvm15 gets pulled in too.

In terms of runtime it works now as great as expected.

Regards.

-- 
You are receiving this mail because:
You are the assignee for the bug.