[MacPorts] #72022: dosbox-x @2025.01.01: Patches to build on macOS 10.11.6
MacPorts
noreply at macports.org
Sat Feb 8 02:36:48 UTC 2025
#72022: dosbox-x @2025.01.01: Patches to build on macOS 10.11.6
-------------------------+--------------------
Reporter: kogule | Owner: (none)
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: | Port:
-------------------------+--------------------
Attached patches make dosbox-x succeed to build on macOS 10.11.6.
== `patch-src_gui_sdlmain.cpp.diff`
dosbox-x misuses BSD macro to tell apart BSDs from macOS. It uses BSD
macro for BSD variants except macOS and MACOSX macro for macOS but macOS
even defines BSD in sys/param.h. Because legacy-support indirectly
includes sys/param.h, src/gui/sdlmain.cpp fails to identify the building
system on old macOS. This patch let it properly identify the system.
== `patch-src_gui_sdl__mapper.cpp.diff`
macOS's AssertMacros.h defines check() macro and it conflicts with
DOSBoxMenu::item.check().
== `patch-include_enet.h.diff`
dosbox-x defines its own clock_gettime() for old macOS.
--
Ticket URL: <https://trac.macports.org/ticket/72022>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list