summaryrefslogtreecommitdiff
path: root/editors/lyx-qt
diff options
context:
space:
mode:
Diffstat (limited to 'editors/lyx-qt')
-rw-r--r--editors/lyx-qt/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/lyx-qt/patches/patch-ab b/editors/lyx-qt/patches/patch-ab
new file mode 100644
index 00000000000..fed63f135ea
--- /dev/null
+++ b/editors/lyx-qt/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/03/22 14:53:54 jmmv Exp $
+
+--- boost/boost/integer_traits.hpp.orig 2003-02-20 17:08:39.000000000 +0100
++++ boost/boost/integer_traits.hpp
+@@ -93,7 +93,7 @@ class integer_traits<wchar_t>
+ #elif defined(__BORLANDC__) || defined(__CYGWIN__) || defined(__MINGW32__) || (defined(__BEOS__) && defined(__GNUC__))
+ // No WCHAR_MIN and WCHAR_MAX, whar_t is short and unsigned:
+ public detail::integer_traits_base<wchar_t, 0, 0xffff>
+-#elif (defined(__sgi) && (!defined(__SGI_STL_PORT) || __SGI_STL_PORT < 0x400)) || (defined __APPLE__) || (defined(__FreeBSD__) && defined(__GNUC__)) || (defined(__OpenBSD__) && defined(__GNUC__)) || (defined(__hpux) && defined(__GNUC__) && (__GNUC__ == 3) && !defined(__SGI_STL_PORT))
++#elif (defined(__sgi) && (!defined(__SGI_STL_PORT) || __SGI_STL_PORT < 0x400)) || (defined __APPLE__) || (defined(__FreeBSD__) && defined(__GNUC__)) || (defined(__OpenBSD__) && defined(__GNUC__)) || (defined(__hpux) && defined(__GNUC__) && (__GNUC__ == 3) && !defined(__SGI_STL_PORT)) || (defined(__NetBSD__) && defined(__GNUC__))
+ // No WCHAR_MIN and WCHAR_MAX, wchar_t has the same range as int.
+ // - SGI MIPSpro with native library
+ // - gcc 3.x on HP-UX