Opened 5 months ago
Last modified 3 months ago
#72022 new enhancement
dosbox-x @2025.01.01: Patches to build on macOS 10.11.6
Reported by: | kogule (Kogulé, Ryo) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.5 |
Keywords: | haspatch elcapitan | Cc: | aeiouaeiouaeiouaeiouaeiouaeiou |
Port: | dosbox-x |
Description
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.
Attachments (3)
Change History (6)
Changed 5 months ago by kogule (Kogulé, Ryo)
Attachment: | patch-src_gui_sdlmain.cpp.diff added |
---|
Changed 5 months ago by kogule (Kogulé, Ryo)
Attachment: | patch-src_gui_sdl__mapper.cpp.diff added |
---|
Changed 5 months ago by kogule (Kogulé, Ryo)
Attachment: | patch-include_enet.h.diff added |
---|
comment:1 Changed 5 months ago by jmroot (Joshua Root)
Port: | dosbox-x added |
---|
comment:2 Changed 3 months ago by aeiouaeiouaeiouaeiouaeiouaeiou
Cc: | aeiouaeiouaeiouaeiouaeiouaeiou added |
---|
comment:3 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch elcapitan added |
---|
Note: See
TracTickets for help on using
tickets.
Did you invent these patches or did they come from the developers of dosbox-x?
If the former, please submit them to the developers and provide the URL here.
If the latter, please provide the URL that you got the patches from.