summaryrefslogtreecommitdiff
path: root/editors/abiword/patches/patch-src_af_util_xp_ut__endian.h
diff options
context:
space:
mode:
Diffstat (limited to 'editors/abiword/patches/patch-src_af_util_xp_ut__endian.h')
-rw-r--r--editors/abiword/patches/patch-src_af_util_xp_ut__endian.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/abiword/patches/patch-src_af_util_xp_ut__endian.h b/editors/abiword/patches/patch-src_af_util_xp_ut__endian.h
new file mode 100644
index 00000000000..954f30e8148
--- /dev/null
+++ b/editors/abiword/patches/patch-src_af_util_xp_ut__endian.h
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_af_util_xp_ut__endian.h,v 1.1 2015/09/13 21:32:13 nros Exp $
+
+--- src/af/util/xp/ut_endian.h.orig 2013-04-07 13:53:03.000000000 +0000
++++ src/af/util/xp/ut_endian.h
+@@ -49,6 +49,13 @@
+ #else
+ #define UT_BIG_ENDIAN
+ #endif
++#elif defined(__DragonFly__)
++ #include <sys/endian.h>
++ #if _BYTE_ORDER == _LITTLE_ENDIAN
++ #define UT_LITTLE_ENDIAN
++ #else
++ #define UT_BIG_ENDIAN
++ #endif
+ #elif defined(__FreeBSD__)
+ #include <machine/endian.h>
+ #if __BYTE_ORDER == __LITTLE_ENDIAN