diff options
Diffstat (limited to 'mdds')
-rw-r--r-- | mdds/UnpackedTarball_mdds.mk | 1 | ||||
-rw-r--r-- | mdds/wundef.patch | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/mdds/UnpackedTarball_mdds.mk b/mdds/UnpackedTarball_mdds.mk index 702086da0b67..0f1de080c9df 100644 --- a/mdds/UnpackedTarball_mdds.mk +++ b/mdds/UnpackedTarball_mdds.mk @@ -17,6 +17,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,mdds,\ mdds/mdds_0.6.0.patch \ mdds/0001-Workaround-for-gcc-bug.patch \ mdds/mdds_0.7.0_unreachable_warning.patch.1 \ + mdds/wundef.patch \ )) $(eval $(call gb_UnpackedTarball_mark_output_files,mdds,\ diff --git a/mdds/wundef.patch b/mdds/wundef.patch new file mode 100644 index 000000000000..628f3ddf6731 --- /dev/null +++ b/mdds/wundef.patch @@ -0,0 +1,42 @@ +--- misc/mdds_0.6.0/include/mdds/segment_tree.hpp ++++ misc/build/mdds_0.6.0/include/mdds/segment_tree.hpp +@@ -285,7 +285,7 @@ public: + } + }; + +-#if UNIT_TEST ++#ifdef UNIT_TEST + struct node_printer : public ::std::unary_function<const node*, void> + { + void operator() (const node* p) const +--- misc/mdds_0.6.0/include/mdds/multi_type_vector_def.inl ++++ misc/build/mdds_0.6.0/include/mdds/multi_type_vector_def.inl +@@ -29,7 +29,7 @@ + + #include <stdexcept> + +-#if UNIT_TEST ++#ifdef UNIT_TEST + #include <iostream> + using std::cout; + using std::endl; +--- misc/mdds_0.6.0/include/mdds/mixed_type_matrix_flag_storage.hpp ++++ misc/build/mdds_0.6.0/include/mdds/mixed_type_matrix_flag_storage.hpp +@@ -25,7 +25,7 @@ + * + ************************************************************************/ + +-#if UNIT_TEST ++#ifdef UNIT_TEST + #include <iostream> + #endif + +@@ -74,7 +74,7 @@ public: + // Flag is stored at this position. Remove it. + m_flags.erase(itr); + } +-#if UNIT_TEST ++#ifdef UNIT_TEST + void dump() const + { + using namespace std; |