add boost with gcc 44 hack

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1447 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2009-08-07 06:30:18 +00:00
parent fd8500daf0
commit 790209955e
11 changed files with 1224 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
--- Jamroot.orig 2009-04-03 19:23:02.876426258 +0200
+++ Jamroot 2009-04-03 19:37:05.899697787 +0200
@@ -444,14 +444,10 @@
}
return $(result) ;
}
-
- generate stage-unversioned : stage-proper :
- <generating-rule>@make-unversioned-links ;
- explicit stage-unversioned ;
-
- generate install-unversioned : install-proper :
- <generating-rule>@make-unversioned-links ;
- explicit install-unversioned ;
+
+
+ alias stage-unversioned ;
+ alias install-unversioned ;
}
else
{

View File

@@ -0,0 +1,10 @@
--- boost/bind.hpp.orig 2006-10-05 21:09:32.000000000 +0200
+++ boost/bind.hpp 2006-10-05 21:10:10.000000000 +0200
@@ -27,6 +27,7 @@
#include <boost/type.hpp>
#include <boost/bind/arg.hpp>
#include <boost/detail/workaround.hpp>
+#include <boost/visit_each.hpp>
// Borland-specific bug, visit_each() silently fails to produce code

View File

@@ -0,0 +1,14 @@
Numerous sources suggest just to do this, boost devs only seem to "know"
it is "bad". Without this, boost simply dies compiling (joy).
--- boost/math/tools/config.hpp
+++ boost/math/tools/config.hpp
@@ -43,7 +43,7 @@
// Darwin's rather strange "double double" is rather hard to
// support, it should be possible given enough effort though...
//
-# define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+// fsck it! # define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
#endif
#if defined(unix) && defined(__INTEL_COMPILER) && (__INTEL_COMPILER <= 1000)
//

View File

@@ -0,0 +1,24 @@
diff -urN boost_1_33_0-pristine/tools/build/v1/gcc-tools.jam boost_1_33_0/tools/build/v1/gcc-tools.jam
--- boost_1_33_0-pristine/tools/build/v1/gcc-tools.jam 2005-09-12 00:31:23.000000000 -0400
+++ boost_1_33_0/tools/build/v1/gcc-tools.jam 2005-09-12 00:32:45.000000000 -0400
@@ -146,7 +146,7 @@
}
case * :
{
- flags gcc CFLAGS <threading>multi : -pthread ;
+ flags gcc CFLAGS <threading>multi : -D_REENTRANT -pthread ;
flags gcc LINKFLAGS <threading>multi : -pthread ;
flags gcc FINDLIBS <threading>multi : rt ;
}
diff -urN boost_1_33_0-pristine/tools/build/v2/tools/gcc.jam boost_1_33_0/tools/build/v2/tools/gcc.jam
--- boost_1_33_0-pristine/tools/build/v2/tools/gcc.jam 2005-09-12 00:31:23.000000000 -0400
+++ boost_1_33_0/tools/build/v2/tools/gcc.jam 2005-09-12 00:33:04.000000000 -0400
@@ -368,7 +368,7 @@
}
case * :
{
- flags gcc OPTIONS <threading>multi : -pthread ;
+ flags gcc OPTIONS <threading>multi : -D_REENTRANT -pthread ;
flags gcc FINDLIBS-SA <threading>multi : rt ;
}
}

View File

@@ -0,0 +1,23 @@
--- Jamroot.orig 2009-02-10 17:36:25.000000000 +0100
+++ Jamroot 2009-02-10 17:37:09.000000000 +0100
@@ -442,15 +442,15 @@
local noversion-file ;
if $(nt)
{
- noversion-file = [ MATCH "(.*)-[0-9_]+([.]lib)" : $(name) ] ;
+ noversion-file = [ MATCH "(.*)-[0-9_]+(.*[.]lib)" : $(name) ] ;
}
else
{
noversion-file =
- [ MATCH "(.*)-[0-9_]+([.]so)[.0-9]*" : $(name) ]
- [ MATCH "(.*)-[0-9_]+([.]dylib)" : $(name) ]
- [ MATCH "(.*)-[0-9_]+([.]a)" : $(name) ]
- [ MATCH "(.*)-[0-9_]+([.]dll[.]a)" : $(name) ] ;
+ [ MATCH "(.*)-[0-9_]+(.*[.]so)[.0-9]*" : $(name) ]
+ [ MATCH "(.*)-[0-9_]+(.*[.]dylib)" : $(name) ]
+ [ MATCH "(.*)-[0-9_]+(.*[.]a)" : $(name) ]
+ [ MATCH "(.*)-[0-9_]+(.*[.]dll[.]a)" : $(name) ] ;
}
local new-name =

View File

@@ -0,0 +1,15 @@
# Copyright (c) 2006 Tiziano Mueller
#
# Use, modification and distribution of the file is subject to the
# Boost Software License, Version 1.0.
# (See at http://www.boost.org/LICENSE_1_0.txt)
project boost/random
: source-location ../ ;
SOURCES = random_device ;
lib boost_random
: $(SOURCES).cpp
: <link>shared:<define>BOOST_RANDOM_DYN_LINK=1 ;

View File

@@ -0,0 +1,11 @@
--- boost_1_36_0/Jamroot.orig 2008-11-14 16:36:10.000000000 +0100
+++ boost_1_36_0/Jamroot 2008-11-14 16:36:54.000000000 +0100
@@ -311,7 +311,7 @@
if $(layout) = versioned
{
local result = [ common.format-name
- <base> <toolset> <threading> <runtime> -$(BOOST_VERSION_TAG)
+ <base> <threading> <runtime> -$(BOOST_VERSION_TAG)
-$(BUILD_ID)
: $(name) : $(type) : $(property-set) ] ;