diff options
author | joerg <joerg> | 2007-06-30 17:17:33 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-06-30 17:17:33 +0000 |
commit | 71254aca7c554977a47c0b7add1e942f325efe71 (patch) | |
tree | 9c19cf81fe633b19c2d1dc6579deb05962dad97b /devel | |
parent | b2570da8e6fe5a8964ad9d5d4f4dcfa2e934db1a (diff) | |
download | pkgsrc-71254aca7c554977a47c0b7add1e942f325efe71.tar.gz |
Fix build on DragonFly.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ArX2/distinfo | 4 | ||||
-rw-r--r-- | devel/ArX2/patches/patch-ac | 39 | ||||
-rw-r--r-- | devel/ArX2/patches/patch-ad | 13 |
3 files changed, 55 insertions, 1 deletions
diff --git a/devel/ArX2/distinfo b/devel/ArX2/distinfo index 67758f5937c..deca16cc6aa 100644 --- a/devel/ArX2/distinfo +++ b/devel/ArX2/distinfo @@ -1,8 +1,10 @@ -$NetBSD: distinfo,v 1.8 2006/04/11 17:38:57 rillig Exp $ +$NetBSD: distinfo,v 1.9 2007/06/30 17:17:33 joerg Exp $ SHA1 (ArX-2.2.4.tar.gz) = a575e005cfa2d80a6faced52b0128e9b7ff208df RMD160 (ArX-2.2.4.tar.gz) = 28bcab15b42bd116e736df7b4552ed00c34659ae Size (ArX-2.2.4.tar.gz) = 13561129 bytes SHA1 (patch-aa) = dbd26f2c93ee76655a5f024dd5319e0b462bc797 SHA1 (patch-ab) = 42045fdfc5b731da1fb41271a2f39f980f898588 +SHA1 (patch-ac) = 315e7921421af2ed559c131e125a248568211e66 +SHA1 (patch-ad) = c4b3609cb2d3a9f8e21bb32b9825888387be041b SHA1 (patch-threewaymerge) = 854ef7137a066672616ceda234a3f99fba23eddd diff --git a/devel/ArX2/patches/patch-ac b/devel/ArX2/patches/patch-ac new file mode 100644 index 00000000000..1b909e78990 --- /dev/null +++ b/devel/ArX2/patches/patch-ac @@ -0,0 +1,39 @@ +$NetBSD: patch-ac,v 1.4 2007/06/30 17:17:33 joerg Exp $ + +--- src/boost/boost/config/platform/bsd.hpp.orig 2005-01-03 23:55:25.000000000 +0000 ++++ src/boost/boost/config/platform/bsd.hpp +@@ -9,7 +9,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 + +@@ -21,6 +21,10 @@ + #define BOOST_PLATFORM "OpenBSD " BOOST_STRINGIZE(__OpenBSD__) + #endif + ++#if defined(__DragonFly__) ++#define _REENTRANT 1 ++#endif ++ + // + // is this the correct version check? + // FreeBSD has <nl_types.h> but does not +@@ -41,7 +45,14 @@ + // + // No wide character support in the BSD header files: + // ++#if !((defined(__FreeBSD__) && (__FreeBSD__ >= 5))) && !defined(__DragonFly__) + #define BOOST_NO_CWCHAR ++#endif ++ ++#ifdef __DragonFly__ ++#define WCHAR_MIN INT_MIN ++#define WCHAR_MAX INT_MAX ++#endif + + // + // The BSD <ctype.h> has macros only, no functions: diff --git a/devel/ArX2/patches/patch-ad b/devel/ArX2/patches/patch-ad new file mode 100644 index 00000000000..d4dadd8f0b8 --- /dev/null +++ b/devel/ArX2/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2007/06/30 17:17:34 joerg Exp $ + +--- src/boost/boost/config/select_platform_config.hpp.orig 2007-06-30 15:50:08.000000000 +0000 ++++ src/boost/boost/config/select_platform_config.hpp +@@ -17,7 +17,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" + |