summaryrefslogtreecommitdiff
path: root/print/cjk-lyx/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'print/cjk-lyx/patches/patch-ae')
-rw-r--r--print/cjk-lyx/patches/patch-ae26
1 files changed, 26 insertions, 0 deletions
diff --git a/print/cjk-lyx/patches/patch-ae b/print/cjk-lyx/patches/patch-ae
new file mode 100644
index 00000000000..c70b5a99945
--- /dev/null
+++ b/print/cjk-lyx/patches/patch-ae
@@ -0,0 +1,26 @@
+$NetBSD: patch-ae,v 1.1 2002/08/16 10:36:26 dmcmahill Exp $
+
+--- boost/boost/detail/limits.hpp.orig Wed Aug 29 18:33:34 2001
++++ boost/boost/detail/limits.hpp
+@@ -38,12 +38,21 @@
+ #include <cwchar> // for WCHAR_MIN and WCHAR_MAX
+ #include <boost/config.hpp>
+
++#ifdef __NetBSD__
++#include <machine/endian.h>
++#if BYTE_ORDER == BIG_ENDIAN
++#define BOOST_BIG_ENDIAN
++#else
++#define BOOST_LITTLE_ENDIAN
++#endif
++#else
+ #if defined(__sparc) || defined(__sparc__) || defined(__powerpc__) || defined(__ppc__) || defined(__hppa) || defined(_MIPSEB)
+ #define BOOST_BIG_ENDIAN
+ #elif defined(__i386__)
+ #define BOOST_LITTLE_ENDIAN
+ #else
+ #error The file boost/detail/limits.hpp needs to be set up for your CPU type.
++#endif
+ #endif
+
+ namespace std {