diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2013-10-18 22:47:47 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-10-19 08:05:55 +0000 |
commit | 97d1923b6ccdef86f3d794b12e625ef0a7d88095 (patch) | |
tree | 9994e9174559f00d6650e89363bb25a273a132f9 /mdds | |
parent | e13af24d2b985261afa80e36edd3021a70887253 (diff) |
fdo#70393: move mdds to a subdir of external
Change-Id: Idfb327f7217e459ab0328f8692e1f73aef248d32
Reviewed-on: https://gerrit.libreoffice.org/6343
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'mdds')
-rw-r--r-- | mdds/0001-Workaround-for-an-old-gcc-bug.patch | 27 | ||||
-rw-r--r-- | mdds/Makefile | 7 | ||||
-rw-r--r-- | mdds/Module_mdds.mk | 20 | ||||
-rw-r--r-- | mdds/README | 4 | ||||
-rw-r--r-- | mdds/UnpackedTarball_mdds.mk | 21 | ||||
-rw-r--r-- | mdds/mdds_0.6.0.patch | 54 |
6 files changed, 0 insertions, 133 deletions
diff --git a/mdds/0001-Workaround-for-an-old-gcc-bug.patch b/mdds/0001-Workaround-for-an-old-gcc-bug.patch deleted file mode 100644 index 8529fbfc2adf..000000000000 --- a/mdds/0001-Workaround-for-an-old-gcc-bug.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 3e3a5c483217fe05b5bd556bf1b2c6f3ec297cb1 Mon Sep 17 00:00:00 2001 -From: Kohei Yoshida <kohei.yoshida@gmail.com> -Date: Sat, 22 Jun 2013 21:30:13 -0400 -Subject: [PATCH] Workaround for an old gcc bug. - -c.f. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44963 ---- - include/mdds/multi_type_vector_types.hpp | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/include/mdds/multi_type_vector_types.hpp b/include/mdds/multi_type_vector_types.hpp -index c4b2772..44af655 100644 ---- a/include/mdds/multi_type_vector_types.hpp -+++ b/c/d/include/mdds/multi_type_vector_types.hpp -@@ -278,7 +278,8 @@ public: - #ifndef MDDS_MULTI_TYPE_VECTOR_USE_DEQUE - d.reserve(d.size() + len); - #endif -- std::copy(its.first, its.second, std::back_inserter(d)); -+ for (; its.first != its.second; ++its.first) -+ d.push_back(*its.first); - } - - static void assign_values_from_block( --- -1.8.1.4 - diff --git a/mdds/Makefile b/mdds/Makefile deleted file mode 100644 index ccb1c85a04da..000000000000 --- a/mdds/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- - -module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST)))) - -include $(module_directory)/../solenv/gbuild/partial_build.mk - -# vim: set noet sw=4 ts=4: diff --git a/mdds/Module_mdds.mk b/mdds/Module_mdds.mk deleted file mode 100644 index ac0f8a649d7e..000000000000 --- a/mdds/Module_mdds.mk +++ /dev/null @@ -1,20 +0,0 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- -# -# This file is part of the LibreOffice project. -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# - -$(eval $(call gb_Module_Module,mdds)) - -ifeq ($(SYSTEM_MDDS),NO) - -$(eval $(call gb_Module_add_targets,mdds,\ - UnpackedTarball_mdds \ -)) - -endif - -# vim: set noet sw=4 ts=4: diff --git a/mdds/README b/mdds/README deleted file mode 100644 index bd635eee39f3..000000000000 --- a/mdds/README +++ /dev/null @@ -1,4 +0,0 @@ -Multi-dimensional data structure (mdds) library, available from [http://code.google.com/p/multidimalgorithm/]. - -mdds primarily provides data structures that are used by the calc -core.
\ No newline at end of file diff --git a/mdds/UnpackedTarball_mdds.mk b/mdds/UnpackedTarball_mdds.mk deleted file mode 100644 index 69fbf189cb46..000000000000 --- a/mdds/UnpackedTarball_mdds.mk +++ /dev/null @@ -1,21 +0,0 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- -# -# This file is part of the LibreOffice project. -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# - -$(eval $(call gb_UnpackedTarball_UnpackedTarball,mdds)) - -$(eval $(call gb_UnpackedTarball_set_tarball,mdds,$(MDDS_TARBALL))) - -$(eval $(call gb_UnpackedTarball_set_patchlevel,mdds,3)) - -$(eval $(call gb_UnpackedTarball_add_patches,mdds,\ - mdds/mdds_0.6.0.patch \ - mdds/0001-Workaround-for-an-old-gcc-bug.patch \ -)) - -# vim: set noet sw=4 ts=4: diff --git a/mdds/mdds_0.6.0.patch b/mdds/mdds_0.6.0.patch deleted file mode 100644 index fba150267329..000000000000 --- a/mdds/mdds_0.6.0.patch +++ /dev/null @@ -1,54 +0,0 @@ ---- misc/mdds_0.6.0/include/mdds/mixed_type_matrix_def.inl 2011-07-13 13:26:27.000000000 -0600 -+++ misc/build/mdds_0.6.0/include/mdds/mixed_type_matrix_def.inl 2011-07-20 02:02:21.164198900 -0600 -@@ -216,8 +216,8 @@ - // assignment to self. - return; - -- size_t row_count = ::std::min(mp_storage->rows(), r.mp_storage->rows()); -- size_t col_count = ::std::min(mp_storage->cols(), r.mp_storage->cols()); -+ size_t row_count = (::std::min)(mp_storage->rows(), r.mp_storage->rows()); -+ size_t col_count = (::std::min)(mp_storage->cols(), r.mp_storage->cols()); - for (size_t i = 0; i < row_count; ++i) - for (size_t j = 0; j < col_count; ++j) - mp_storage->get_element(i, j) = r.mp_storage->get_element(i, j); ---- misc/mdds_0.6.0/include/mdds/mixed_type_matrix_storage_filled_linear.inl 2011-07-13 13:26:27.000000000 -0600 -+++ misc/build/mdds_0.6.0/include/mdds/mixed_type_matrix_storage_filled_linear.inl 2011-07-20 02:02:21.179798900 -0600 -@@ -354,8 +354,8 @@ - } - - array_type new_array(new_size, &m_init_elem); -- size_t min_rows = ::std::min(row, m_rows); -- size_t min_cols = ::std::min(col, m_cols); -+ size_t min_rows = (::std::min)(row, m_rows); -+ size_t min_cols = (::std::min)(col, m_cols); - for (size_t i = 0; i < min_rows; ++i) - { - for (size_t j = 0; j < min_cols; ++j) -@@ -612,8 +612,8 @@ - } - - array_type new_array(new_size, element(0.0)); -- size_t min_rows = ::std::min(row, m_rows); -- size_t min_cols = ::std::min(col, m_cols); -+ size_t min_rows = (::std::min)(row, m_rows); -+ size_t min_cols = (::std::min)(col, m_cols); - for (size_t i = 0; i < min_rows; ++i) - { - for (size_t j = 0; j < min_cols; ++j) ---- misc/mdds_0.6.0/include/mdds/point_quad_tree.hpp 2011-07-13 13:26:27.000000000 -0600 -+++ misc/build/mdds_0.6.0/include/mdds/point_quad_tree.hpp 2011-07-20 02:04:36.088835900 -0600 -@@ -623,10 +623,10 @@ - template<typename _Key, typename _Data> - void point_quad_tree<_Key,_Data>::insert(key_type x, key_type y, data_type data) - { -- m_xrange.first = ::std::min(m_xrange.first, x); -- m_xrange.second = ::std::max(m_xrange.second, x); -- m_yrange.first = ::std::min(m_yrange.first, y); -- m_yrange.second = ::std::max(m_yrange.second, y); -+ m_xrange.first = (::std::min)(m_xrange.first, x); -+ m_xrange.second = (::std::max)(m_xrange.second, x); -+ m_yrange.first = (::std::min)(m_yrange.first, y); -+ m_yrange.second = (::std::max)(m_yrange.second, y); - - if (!m_root) - { |