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

doesn't build on OpenBSD #111

Closed
fpsiorz opened this issue Apr 20, 2017 · 3 comments
Closed

doesn't build on OpenBSD #111

fpsiorz opened this issue Apr 20, 2017 · 3 comments

Comments

@fpsiorz
Copy link

fpsiorz commented Apr 20, 2017

There's a build error in src/display.rs:93 on OpenBSD, because ::libc::EPROTO isn't defined.

@elinorbgr
Copy link
Member

Can wayland-client.so (the C lib) be built on OpenBSD?

It uses the EPROTO error value, and does not appear to have any special case for the *BSD regarding this, so if the platform does not define EPROTO, I don't see how this could work...

@elinorbgr
Copy link
Member

I see there exists some patches for wayland-client to make it work on OpenBSD (see https://github.com/jasperla/openbsd-wip/blob/master/x11/wayland/patches/patch-src_wayland-client_h for example).

Do you know if/where there is an official one, that I could use to adapt my crate?

@elinorbgr
Copy link
Member

Given Smithay/client-toolkit#58 I believe this is no longer an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants