summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-11-18 06:23:09 +0000
committerreed <reed@pkgsrc.org>2005-11-18 06:23:09 +0000
commit48b6bc2a69ed02b9d8b3e111e4200b9acdec99da (patch)
tree7c95942e641a89cee81eaf75ac7b93186835048b /editors
parentf9d239f4dbcbdaf1bd2e12c75ca6340cdcc7f530 (diff)
downloadpkgsrc-48b6bc2a69ed02b9d8b3e111e4200b9acdec99da.tar.gz
Add support for DragonFly. This is in the "boost" libraries.
This was fixed upstream for "boost" also.
Diffstat (limited to 'editors')
-rw-r--r--editors/lyx-qt/distinfo5
-rw-r--r--editors/lyx-qt/patches/patch-ac13
-rw-r--r--editors/lyx-qt/patches/patch-ad13
-rw-r--r--editors/lyx-qt/patches/patch-ae30
4 files changed, 60 insertions, 1 deletions
diff --git a/editors/lyx-qt/distinfo b/editors/lyx-qt/distinfo
index 5f9801ce5b7..9258f7e4078 100644
--- a/editors/lyx-qt/distinfo
+++ b/editors/lyx-qt/distinfo
@@ -1,10 +1,13 @@
-$NetBSD: distinfo,v 1.10 2005/11/16 18:06:13 reed Exp $
+$NetBSD: distinfo,v 1.11 2005/11/18 06:23:09 reed Exp $
SHA1 (lyx-1.3.6.tar.gz) = 9a0045bf007e4ebc4ca024536e03b3d95acb5ace
RMD160 (lyx-1.3.6.tar.gz) = c05c106fdf4159fbde70747eced9b3685121ac5f
Size (lyx-1.3.6.tar.gz) = 7782849 bytes
SHA1 (patch-aa) = 90a09a1adbb899cbaf063d4d7f46dc77f78a62da
SHA1 (patch-ab) = e46def6f52b4c1c3c5197795454867c6bc2dbed6
+SHA1 (patch-ac) = 12a986d76f16bb2a12a723337cc37d3cd268a68b
+SHA1 (patch-ad) = c8d30b0929d38f1723f92b64af2f81f8cb97a6f4
+SHA1 (patch-ae) = fa71cf0fdc5a98a13285858b54f890cef1078a81
SHA1 (patch-ah) = 278f5deaf94c1082b755af3cb9511bc2f68231ba
SHA1 (patch-ai) = ddd905f335293fa510745c5fe4f8011a5b3a1d9e
SHA1 (patch-aj) = bfbd7b6f0a512a5034009c221b4851309ca6fb56
diff --git a/editors/lyx-qt/patches/patch-ac b/editors/lyx-qt/patches/patch-ac
new file mode 100644
index 00000000000..d512ead5c76
--- /dev/null
+++ b/editors/lyx-qt/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.3 2005/11/18 06:23:09 reed Exp $
+
+--- boost/boost/integer_traits.hpp.orig 2005-08-23 23:30:03.000000000 -0700
++++ boost/boost/integer_traits.hpp 2005-08-23 22:27:02.000000000 -0700
+@@ -93,7 +93,7 @@
+ #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(__NetBSD__) && 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(__DragonFly__) && defined(__GNUC__)) || (defined(__OpenBSD__) && defined(__GNUC__)) || (defined(__NetBSD__) && defined(__GNUC__)) || (defined(__hpux) && defined(__GNUC__) && (__GNUC__ == 3) && !defined(__SGI_STL_PORT))
+ // 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
diff --git a/editors/lyx-qt/patches/patch-ad b/editors/lyx-qt/patches/patch-ad
new file mode 100644
index 00000000000..6d1a5b82037
--- /dev/null
+++ b/editors/lyx-qt/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.3 2005/11/18 06:23:09 reed Exp $
+
+--- boost/boost/config/select_platform_config.hpp.orig 2005-08-23 23:29:40.000000000 -0700
++++ boost/boost/config/select_platform_config.hpp 2005-08-23 22:29:53.000000000 -0700
+@@ -16,7 +16,7 @@
+ // linux:
+ # define BOOST_PLATFORM_CONFIG "boost/config/platform/linux.hpp"
+
+-#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
++#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
+ // BSD:
+ # define BOOST_PLATFORM_CONFIG "boost/config/platform/bsd.hpp"
+
diff --git a/editors/lyx-qt/patches/patch-ae b/editors/lyx-qt/patches/patch-ae
new file mode 100644
index 00000000000..716c97a95df
--- /dev/null
+++ b/editors/lyx-qt/patches/patch-ae
@@ -0,0 +1,30 @@
+$NetBSD: patch-ae,v 1.3 2005/11/18 06:23:09 reed Exp $
+
+--- boost/boost/config/platform/bsd.hpp.orig 2005-08-23 22:25:05.000000000 -0700
++++ boost/boost/config/platform/bsd.hpp 2005-08-23 22:29:21.000000000 -0700
+@@ -7,7 +7,7 @@
+
+ // generic BSD config options:
+
+-#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
++#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__)
+ #error "This platform is not BSD"
+ #endif
+
+@@ -17,6 +17,8 @@
+ #define BOOST_PLATFORM "NetBSD " BOOST_STRINGIZE(__NetBSD__)
+ #elif defined(__OpenBSD__)
+ #define BOOST_PLATFORM "OpenBSD " BOOST_STRINGIZE(__OpenBSD__)
++#elif defined(__DragonFly__)
++#define BOOST_PLATFORM "DragonFly " BOOST_STRINGIZE(__DragonFly__)
+ #endif
+
+ //
+@@ -24,7 +26,7 @@
+ // FreeBSD has <nl_types.h> but does not
+ // advertise the fact in <unistd.h>:
+ //
+-#if defined(__FreeBSD__) && (__FreeBSD__ >= 3)
++#if (defined(__FreeBSD__) && (__FreeBSD__ >= 3)) || defined(__DragonFly__)
+ # define BOOST_HAS_NL_TYPES_H
+ #endif