summaryrefslogtreecommitdiff
path: root/devel/boost/patches
diff options
context:
space:
mode:
authortv <tv>2004-06-06 23:51:36 +0000
committertv <tv>2004-06-06 23:51:36 +0000
commit71a00a38e986de1fd039db2b3264b687feda6869 (patch)
treea7cd5640e780892a1cc931e96366f7a8261a7415 /devel/boost/patches
parent399d4c9da15f9ef21f4abcd1257175c3c9d2104e (diff)
downloadpkgsrc-71a00a38e986de1fd039db2b3264b687feda6869.tar.gz
Update devel/boost to 1.31.0. The most notable change here is a more robust
build system, which is actually being used now to build the backing binary libraries necessary to make date_time, regex, and a few other libraries work. While here, the thread and python libraries have been split out to their own subpackages, devel/boost-thread and devel/boost-python, so that the main boost package need not rely on the presence of either to provide basic functionality.
Diffstat (limited to 'devel/boost/patches')
-rw-r--r--devel/boost/patches/patch-aa26
-rw-r--r--devel/boost/patches/patch-ab13
2 files changed, 39 insertions, 0 deletions
diff --git a/devel/boost/patches/patch-aa b/devel/boost/patches/patch-aa
new file mode 100644
index 00000000000..2d2c581749a
--- /dev/null
+++ b/devel/boost/patches/patch-aa
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.3 2004/06/06 23:51:37 tv Exp $
+
+--- tools/build/v1/gcc-tools.jam.orig Fri Jun 4 16:08:55 2004
++++ tools/build/v1/gcc-tools.jam
+@@ -123,6 +123,12 @@ else if $(UNIX)
+ .GXX ?= c++ ;
+ flags gcc CFLAGS : -Wno-long-double ;
+ }
++ case NetBSD :
++ {
++ flags gcc CFLAGS <threading>multi : -pthread ;
++ flags gcc LINKFLAGS <threading>multi : -lpthread ;
++ # there is no -lrt on NetBSD
++ }
+ case *BSD :
+ {
+ flags gcc CFLAGS <threading>multi : -pthread ;
+@@ -166,7 +172,7 @@ if $(UNIX)
+ RPATH_LINK = -Wl,-rpath-link, ;
+ SONAME = -Wl,-soname, ;
+ }
+- case OpenBSD :
++ case *BSD :
+ {
+ SONAME = -Wl,-soname, ;
+ }
diff --git a/devel/boost/patches/patch-ab b/devel/boost/patches/patch-ab
new file mode 100644
index 00000000000..66705aa0119
--- /dev/null
+++ b/devel/boost/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2004/06/06 23:51:37 tv Exp $
+
+--- boost/config/requires_threads.hpp.orig Sun Jun 6 00:06:40 2004
++++ boost/config/requires_threads.hpp
+@@ -11,6 +11,8 @@
+ # include <boost/config.hpp>
+ #endif
+
++#include <boost/config/thread_user.hpp>
++
+ #if defined(BOOST_DISABLE_THREADS)
+
+ //