New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-add NetBSD support. #257
Conversation
Fixes linking on Unix when SDL is disabled. Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
bkaradzic/bgfx@e1a564c#diff-d51370988baf340d4de0bc2861591415 Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
Will try sending this upstream as well. Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
Even the Linux man page recommends avoiding ftime(). gettimeofday is in POSIX.1-2001 and more portable. Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
Can you pull-request the BGFX fixes to https://github.com/bkaradzic/bgfx ? |
return FILERR_FAILURE; | ||
|
||
result = ftruncate(fileno((FILE *)file), offset); | ||
if (!result) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ftruncate returns 0 on success. See recent change 2fe1b16
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, fixed and another patch added to pull request.
There is no change necessary for BGFX; the patch for that is pulled from upstream. |
Noted by startaq in mamedev#257. Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
…-0.235 Revert "libretro/mame 0.235"
Due to the change in the build system and additional bx/bgfx libraries, mame didn't build on NetBSD any longer.
The patches in this pull request fix this. Please take as much as possible, though I would understand that you want to avoid changing 3rdparty code.
In that case, let me know how to prepare the changes so you can take what you want as easily as possible.
Thanks.