summaryrefslogtreecommitdiff
path: root/print/lyx/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'print/lyx/patches/patch-ad')
-rw-r--r--print/lyx/patches/patch-ad21
1 files changed, 11 insertions, 10 deletions
diff --git a/print/lyx/patches/patch-ad b/print/lyx/patches/patch-ad
index 024368e45b1..ec44bd69723 100644
--- a/print/lyx/patches/patch-ad
+++ b/print/lyx/patches/patch-ad
@@ -1,10 +1,10 @@
-$NetBSD: patch-ad,v 1.3 2002/12/31 09:19:02 martti Exp $
+$NetBSD: patch-ad,v 1.4 2003/03/02 14:57:37 kei Exp $
---- boost/boost/detail/limits.hpp.orig Fri Oct 18 10:07:55 2002
-+++ boost/boost/detail/limits.hpp Fri Dec 27 23:15:03 2002
-@@ -42,12 +42,21 @@
- //#include <cwchar> // for WCHAR_MIN and WCHAR_MAX
- #include <boost/config.hpp>
+--- boost/boost/detail/limits.hpp.orig 2003-02-18 13:12:14.000000000 +0100
++++ boost/boost/detail/limits.hpp 2003-02-18 13:13:50.000000000 +0100
+@@ -47,6 +47,14 @@
+ #include <cwchar> // for WCHAR_MIN and WCHAR_MAX
+ #endif
+#ifdef __NetBSD__
+#include <machine/endian.h>
@@ -14,13 +14,14 @@ $NetBSD: patch-ad,v 1.3 2002/12/31 09:19:02 martti Exp $
+#define BOOST_LITTLE_ENDIAN
+#endif
+#else
+ // The macros are not named appropriately. We don't care about integer
+ // bit layout, but about floating-point NaN (etc.) bit patterns.
#if defined(__sparc) || defined(__sparc__) || defined(__powerpc__) || defined(__ppc__) || defined(__hppa) || defined(_MIPSEB) || defined(_POWER)
- #define BOOST_BIG_ENDIAN
- #elif defined(__i386__) || defined(__alpha__)
- #define BOOST_LITTLE_ENDIAN
+@@ -56,6 +64,7 @@
#else
#error The file boost/detail/limits.hpp needs to be set up for your CPU type.
-+#endif
#endif
++#endif
namespace std {
+