summaryrefslogtreecommitdiff
path: root/graphics/osgearth/files/patch-src_osgEarth_Endian
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/osgearth/files/patch-src_osgEarth_Endian')
-rw-r--r--graphics/osgearth/files/patch-src_osgEarth_Endian16
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/osgearth/files/patch-src_osgEarth_Endian b/graphics/osgearth/files/patch-src_osgEarth_Endian
new file mode 100644
index 000000000000..995db50fae76
--- /dev/null
+++ b/graphics/osgearth/files/patch-src_osgEarth_Endian
@@ -0,0 +1,16 @@
+--- src/osgEarth/Endian.orig 2018-02-08 18:33:50 UTC
++++ src/osgEarth/Endian
+@@ -62,11 +62,11 @@
+ # define __LITTLE_ENDIAN LITTLE_ENDIAN
+ # define __PDP_ENDIAN PDP_ENDIAN
+
+-#elif defined(__OpenBSD__)
++#elif defined(__OpenBSD__) || defined(__FreeBSD__)
+
+ # include <sys/endian.h>
+
+-#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
++#elif defined(__NetBSD__) || defined(__DragonFly__)
+
+ # include <sys/endian.h>
+