Skip to content
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

Build fails on OpenBSD due to lack of sysctlbyname() #5992

Closed
DorpsGek opened this issue Apr 25, 2014 · 5 comments
Closed

Build fails on OpenBSD due to lack of sysctlbyname() #5992

DorpsGek opened this issue Apr 25, 2014 · 5 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay

Comments

@DorpsGek
Copy link
Member

MagisterQuis opened the ticket and wrote:

OpenTTD (stable and nightly) fails to compile on OpenBSD due to the lack of sysctlbyname() on OpenBSD (5.4 and the latest snapshot). A patch which fixes this for OpenBSD is attached.

Reported version: 1.4.0
Operating system: *BSD


This issue was imported from FlySpray: https://bugs.openttd.org/task/5992
@DorpsGek
Copy link
Member Author

frosch wrote:

Please retry attaching the patch.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5992#comment13255

@DorpsGek
Copy link
Member Author

MagisterQuis wrote:

Oops.

And, just in case: http://sprunge.us/ALPO

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/5992#comment13256

@DorpsGek
Copy link
Member Author

frosch wrote:

The OpenBSD porting guide suggests OpenBSD (http://www.openbsd.org/faq/ports/guide.html# PortsGeneric). Is the define OpenBSD the same?


This comment was imported from FlySpray: https://bugs.openttd.org/task/5992#comment13257

@DorpsGek
Copy link
Member Author

MagisterQuis wrote:

Both seem to be set when compiling. I used OPENBSD since that's what was already used in the source,


This comment was imported from FlySpray: https://bugs.openttd.org/task/5992#comment13259

@DorpsGek
Copy link
Member Author

frosch closed the ticket.

Reason for closing: Implemented

in r26523. Thanks for the patch!


This comment was imported from FlySpray: https://bugs.openttd.org/task/5992

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay
Projects
None yet
Development

No branches or pull requests

1 participant