liwmj / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Patching adding support for FreeBSD 10 #463

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please find attached a patch adding build support for FreeBSD 10. It basically 
turns on Linux build with clone disabled, with the addition of a few headers 
POSIX requires and Linux is sloppy about.

Original issue reported on code.google.com by niall.do...@maidsafe.net on 29 May 2014 at 4:14

Attachments:

GoogleCodeExporter commented 9 years ago
Defining GTEST_OS_LINUX for FreeBSD doesn't sound right.
It's more work, but can we define a GTEST_OS_FBSD ?

Original comment by billydon...@google.com on 29 May 2014 at 4:25

GoogleCodeExporter commented 9 years ago
There is a GTEST_OS_OPENBSD in HEAD, but it isn't patched in everywhere 
GTEST_OS_LINUX is used and that wasn't enough for my use case because lots of 
functionality remains disabled.

Someone ought to go through and fix up a GTEST_OS_POSIX really, but it won't be 
me.

Original comment by niall.do...@maidsafe.net on 29 May 2014 at 4:41

GoogleCodeExporter commented 9 years ago
Ed Maste has put a potential patch for FreeBSD support at 
https://codereview.appspot.com/178420043/

Original comment by drysd...@google.com on 1 Dec 2014 at 9:50