aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-01-13 17:22:21 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-01-13 17:22:21 +0800
commite891339b9a58e54a839fc25bf33bab12b9d568e2 (patch)
treea10e94b90b4d6ed27a2bfd02ade3a3080eb14a9a /astro
parentda244a56b3ebc55f9b17aec1cc97592603850cd8 (diff)
downloadfreebsd-ports-gnome-e891339b9a58e54a839fc25bf33bab12b9d568e2.tar.gz
freebsd-ports-gnome-e891339b9a58e54a839fc25bf33bab12b9d568e2.tar.zst
freebsd-ports-gnome-e891339b9a58e54a839fc25bf33bab12b9d568e2.zip
- Try to fix build on DragonFly
Diffstat (limited to 'astro')
-rw-r--r--astro/libosmium/files/patch-include_osmium_util_endian.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/astro/libosmium/files/patch-include_osmium_util_endian.hpp b/astro/libosmium/files/patch-include_osmium_util_endian.hpp
index 52e8a08a7f14..6608d29bcbf1 100644
--- a/astro/libosmium/files/patch-include_osmium_util_endian.hpp
+++ b/astro/libosmium/files/patch-include_osmium_util_endian.hpp
@@ -5,7 +5,7 @@
// Windows is only available for little endian architectures
// http://stackoverflow.com/questions/6449468/can-i-safely-assume-that-windows-installations-will-always-be-little-endian
-#if !defined(_WIN32) && !defined(__APPLE__)
-+#if defined(__FreeBSD__)
++#if defined(__FreeBSD__) || defined(__DragonFly__)
+# include <sys/endian.h>
+#elif !defined(_WIN32) && !defined(__APPLE__)
# include <endian.h>