pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ArX2 Fix build on DragonFly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0673e95829a3
branches:  trunk
changeset: 530444:0673e95829a3
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jun 30 17:17:33 2007 +0000

description:
Fix build on DragonFly.

diffstat:

 devel/ArX2/distinfo         |   4 +++-
 devel/ArX2/patches/patch-ac |  39 +++++++++++++++++++++++++++++++++++++++
 devel/ArX2/patches/patch-ad |  13 +++++++++++++
 3 files changed, 55 insertions(+), 1 deletions(-)

diffs (75 lines):

diff -r aa8337173d8b -r 0673e95829a3 devel/ArX2/distinfo
--- a/devel/ArX2/distinfo       Sat Jun 30 16:12:03 2007 +0000
+++ b/devel/ArX2/distinfo       Sat Jun 30 17:17:33 2007 +0000
@@ -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 -r aa8337173d8b -r 0673e95829a3 devel/ArX2/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ArX2/patches/patch-ac       Sat Jun 30 17:17:33 2007 +0000
@@ -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 -r aa8337173d8b -r 0673e95829a3 devel/ArX2/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ArX2/patches/patch-ad       Sat Jun 30 17:17:33 2007 +0000
@@ -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"
+ 



Home | Main Index | Thread Index | Old Index