summaryrefslogtreecommitdiff
path: root/graphics/osgearth/files/patch-src_osgEarth_Endian
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2018-02-12 06:19:14 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2018-02-12 06:19:14 +0000
commit05fe215bb9ff483131f59a712987ebf410570543 (patch)
tree61f1ae23c9c4db6ed67cc0ca2cfa0b18ffd099d6 /graphics/osgearth/files/patch-src_osgEarth_Endian
parentnet-im/py-telepot: Update to 12.0 (diff)
Update graphics/osgearth to 2.9
PR: 225790 Submitted by: lbartoletti <lbartoletti@tuxfamily.org> (maintainer)
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>
+