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

FreeBSD support #1

Open
nemysis opened this issue Apr 24, 2013 · 2 comments
Open

FreeBSD support #1

nemysis opened this issue Apr 24, 2013 · 2 comments

Comments

@nemysis
Copy link

nemysis commented Apr 24, 2013

Please remove all not FreeBSD Options in fbsd-bumblebee which are from GNU/Linux and use only proper FreeBSD code.

This is newest commit 48a1491 and version 3.0.2 not uploaded to

https://github.com/Bumblebee-Project/Bumblebee/downloads

Some examples, but i think there are more:

configure.ac

-AS_IF([test "x$with_pidfile" != xno], [
-               PKG_CHECK_MODULES([libbsd], [libbsd >= 0.2.0])
-               PKG_CHECK_EXISTS([libbsd = 0.2.0], [AC_DEFINE(HAVE_LIBBSD_020)])
-       ])

src/bbrun.c

-#include <linux/limits.h> /* for PATH_MAX */
+#include <sys/cdefs.h>
+#include <sys/syslimits.h> /* for PATH_MAX */

src/bbsocket.c

-  int sock = socket(PF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0);
+  int sock = socket(PF_UNIX, SOCK_STREAM, 0);
@nemysis
Copy link
Author

nemysis commented Apr 24, 2013

Sorry have downloaded from your link in README.markdown and this not works, could you update to newest commit and version 3.2.

Thanks.

@fdemian
Copy link

fdemian commented Aug 28, 2014

Hi, I have an Optimus laptop and it doesn't offer an option to disable the graphics card, so I could use this bumblebee port.

Does this work yet?

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

No branches or pull requests

2 participants