Skip to content

openbsd patches - #953

Merged
flyinghead merged 7 commits into
flyinghead:masterfrom
namtsui:openbsd
Feb 28, 2023
Merged

flyinghead merged 7 commits into
flyinghead:masterfrom
namtsui:openbsd

Conversation

@namtsui

@namtsui namtsui commented Feb 28, 2023

Copy link
Copy Markdown
Contributor

Before I submit a port for OpenBSD for flycast, I would like to submit some patches. On OpenBSD 7.2 -current, BSS is now immutable and mprotect can't work. Mark it as mutable to allow mprotect to work. This is the main change for OpenBSD as of 7.2 -current (I had it working in 7.1.)

I applied a similar fix for the desmume port:
https://marc.info/?l=openbsd-ports&m=167055339501257&w=2

More information on mimmutable:
https://marc.info/?l=openbsd-tech&m=166874067828564&w=2

Moreover, I've included other fixes. I'm able to run flycast on OpenBSD with this and some other cmakelists changes, which I have omitted for ease of review.

Original issue where you helped me: libretro/parallel-dc#624

Nam Nguyen added 5 commits February 28, 2023 07:07
<signal.h> provides `typedef struct sigcontext ucontext_t;'.
take register names from <machine/signal.h>, which provides struct
sigcontext.

see:
RPCS3/rpcs3@1a13d3a
Use sdl_open_joystick() to open controllers on startup instead of
SDL_JOYDEVICEADDED event, which never gets detected.
@namtsui

namtsui commented Feb 28, 2023

Copy link
Copy Markdown
Contributor Author

cc @scribam and @c64skin from #899 and #900

@flyinghead
flyinghead merged commit a1472fb into flyinghead:master Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants