Package: openscenegraph
Severity: important
Version: 2.4.0-1.1
Tags: patch
User: [EMAIL PROTECTED]
Usertags: kfreebsd
Hi,
the current version fails to build on GNU/kFreeBSD.
It is due to inconsistence between msg_maxiovlen/MSG_MAXIOVLEN
definition/usage in OpenSceneGraph/src/osgPlugins/net/sockstream.h
Please apply patch bellow.
It would also be nice if you can ask upstream
to include similar change.
Thanks in advance
Petr
--- OpenSceneGraph/src/osgPlugins/net/sockstream.h~
+++ OpenSceneGraph/src/osgPlugins/net/sockstream.h
@@ -58,9 +58,9 @@
using namespace std;
-#if defined(__linux__) || defined(__CYGWIN__)
+#if !defined(MSG_MAXIOVLEN) && !(defined(__FreeBSD__) || defined(__NetBSD__)
|| defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__))
# define MSG_MAXIOVLEN 16
-#endif // __linux__
+#endif
// socket exception classes
class sockerr
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]