summaryrefslogtreecommitdiff
path: root/graphics/osg/patches/patch-src_osgPlugins_osc_osc_OscHostEndianness.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/osg/patches/patch-src_osgPlugins_osc_osc_OscHostEndianness.h')
-rw-r--r--graphics/osg/patches/patch-src_osgPlugins_osc_osc_OscHostEndianness.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/osg/patches/patch-src_osgPlugins_osc_osc_OscHostEndianness.h b/graphics/osg/patches/patch-src_osgPlugins_osc_osc_OscHostEndianness.h
new file mode 100644
index 00000000000..ead00500265
--- /dev/null
+++ b/graphics/osg/patches/patch-src_osgPlugins_osc_osc_OscHostEndianness.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_osgPlugins_osc_osc_OscHostEndianness.h,v 1.1 2018/08/04 01:05:10 nia Exp $
+
+Configure endianness for osc plug-in.
+
+--- src/osgPlugins/osc/osc/OscHostEndianness.h.orig 2015-07-23 11:14:00.000000000 +0000
++++ src/osgPlugins/osc/osc/OscHostEndianness.h
+@@ -64,7 +64,7 @@
+ #else
+ #error Unknown machine endianness detected.
+ #endif
+- #elif defined(__FreeBSD__)
++ #elif defined(__FreeBSD__) || defined(__NetBSD__)
+ #include <sys/endian.h>
+ #if (_BYTE_ORDER == _LITTLE_ENDIAN)
+ #ifndef __LITTLE_ENDIAN__