summaryrefslogtreecommitdiff
path: root/mdds
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-07-30 07:53:57 +0200
committerDavid Tardon <dtardon@redhat.com>2012-07-30 08:21:51 +0200
commit43a20bf6fc3213c38a77a2941a4999313bdfefbe (patch)
treefea93f36fb0f0c02d7f3381b8f3c56d653e4026e /mdds
parent7c4e057b14c1d7325890297730e6cf710c128bf0 (diff)
fix linking error with boost 1.50
Change-Id: Ib0892a4ff55fc8036feedad3b3fd093c86d0cb1a
Diffstat (limited to 'mdds')
-rw-r--r--mdds/0001-fix-linking-error-with-boost-1.50.patch27
-rw-r--r--mdds/makefile.mk4
2 files changed, 30 insertions, 1 deletions
diff --git a/mdds/0001-fix-linking-error-with-boost-1.50.patch b/mdds/0001-fix-linking-error-with-boost-1.50.patch
new file mode 100644
index 000000000000..59367b52bffc
--- /dev/null
+++ b/mdds/0001-fix-linking-error-with-boost-1.50.patch
@@ -0,0 +1,27 @@
+From 09937e5d6b4b82efbff40da2aa50fb02f2250bb2 Mon Sep 17 00:00:00 2001
+From: David Tardon <dtardon@redhat.com>
+Date: Sat, 28 Jul 2012 14:32:47 +0200
+Subject: [PATCH] fix linking error with boost 1.50
+
+---
+ include/mdds/mixed_type_matrix_storage.hpp | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/include/mdds/mixed_type_matrix_storage.hpp b/include/mdds/mixed_type_matrix_storage.hpp
+index fa0bf25..bb4e354 100644
+--- a/include/mdds/mixed_type_matrix_storage.hpp
++++ misc/build/mdds_0.6.0/include/mdds/mixed_type_matrix_storage.hpp
+@@ -32,6 +32,10 @@
+
+ #include <boost/ptr_container/ptr_vector.hpp>
+ #include <boost/ptr_container/ptr_map.hpp>
++// Boost.Pool indirectly pulls in Boost.System, causing linking error
++// with Boost 1.50, because some (deprecated) symbols from System are
++// not found.
++#define BOOST_SYSTEM_NO_DEPRECATED
+ #include <boost/pool/object_pool.hpp>
+
+ namespace mdds {
+--
+1.7.11.2
+
diff --git a/mdds/makefile.mk b/mdds/makefile.mk
index e922b92b3099..7fcd326bccb3 100644
--- a/mdds/makefile.mk
+++ b/mdds/makefile.mk
@@ -33,7 +33,9 @@ PATCH_FILES=\
mdds_0.6.0.patch \
0001-help-compiler-select-the-right-overload-of-vector-in.patch \
mdds_0.6.0-unused-parameter.patch \
- mdds_0.6.0-unreachable-code.patch
+ mdds_0.6.0-unreachable-code.patch \
+ 0001-fix-linking-error-with-boost-1.50.patch \
+
CONFIGURE_DIR=
CONFIGURE_ACTION=