
I tried to build boost-trunk on a NetBSD system. The following patch is required to get most of the way through (the math lib has additional errors). Because these changes are completely dependent on identifiers of NetBSD, I cannot see how they might negatively affect anything else. What is the procedure for getting this patch applied? Thanks for your help. Cheers, Brook =========================================================================== --- ./boost/config/platform/bsd.hpp.orig 2008-07-05 12:13:48.000000000 -0600 +++ ./boost/config/platform/bsd.hpp 2008-07-05 15:58:45.000000000 -0600 @@ -43,7 +43,7 @@ // // No wide character support in the BSD header files: // -#if !(defined(__FreeBSD__) && (__FreeBSD__ >= 5)) +#if !(defined(__FreeBSD__) && (__FreeBSD__ >= 5) || defined(__NetBSD__)) # define BOOST_NO_CWCHAR #endif // --- ./tools/build/v2/tools/python.jam.orig 2008-07-05 12:37:43.000000000 -0600 +++ ./tools/build/v2/tools/python.jam 2008-07-05 16:03:18.000000000 -0600 @@ -647,6 +647,8 @@ case darwin : return ; case windows : return ; + case netbsd : return <library>pthread <toolset>gcc:<library>util ; + case hpux : return <library>rt ; case aix : return <library>pthread <library>dl ;

Brook Milligan wrote:
I tried to build boost-trunk on a NetBSD system. The following patch is required to get most of the way through (the math lib has additional errors). Because these changes are completely dependent on identifiers of NetBSD, I cannot see how they might negatively affect anything else. What is the procedure for getting this patch applied?
Posting a patch to trac is the preferred way <http://svn.boost.org>.
+++ ./tools/build/v2/tools/python.jam 2008-07-05 16:03:18.000000000 -0600
That one seems to be already reported <https://svn.boost.org/trac/boost/ticket/2029>. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org (msn) - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

Rene Rivera writes:
Posting a patch to trac is the preferred way <http://svn.boost.org>.
Thanks.
+++ ./tools/build/v2/tools/python.jam 2008-07-05 16:03:18.000000000 -0600
That one seems to be already reported <https://svn.boost.org/trac/boost/ticket/2029>.
I can confirm that this will solve one half of what I mentioned before. I was being a bit more conservative in limiting the effect to NetBSD alone. However, the other half of the problem is not addressed by that ticket. Consequently, I created a new ticket so the information is not lost. https://svn.boost.org/trac/boost/ticket/2084 I would greatly appreciate someone taking the trouble to commit these patches. Thank you very much. Cheers, Brook
participants (2)
-
brook@biology.nmsu.edu
-
Rene Rivera