Hello community,

here is the log from the commit of package mdds for openSUSE:Factory checked in 
at 2013-08-01 15:39:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mdds (Old)
 and      /work/SRC/openSUSE:Factory/.mdds.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mdds"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mdds/mdds.changes        2013-04-26 
13:32:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.mdds.new/mdds.changes   2013-08-01 
15:39:10.000000000 +0200
@@ -1,0 +2,53 @@
+Fri May 31 16:21:43 UTC 2013 - [email protected]
+
+- Apply patch to build on SLE gcc, provided by kohei.
+ * Adds old-gcc-bug.patch
+
+-------------------------------------------------------------------
+Mon May 27 10:59:44 UTC 2013 - [email protected]
+
+- Version bump to 0.8.1
+
+* multi_type_vector
+
+  * fixed a bug in the erase() method where adjacent blocks of the
+    same type would fail to merge after the erase() call.
+
+  * add a variant of the position() method that takes an iterator as
+    positional hint.  Note that there is no variant of position() that
+    takes const_iterator.
+
+* all
+
+  * added .pc file for pkg-config.
+
+* flat_segment_tree
+
+  * changed the return type of search_tree from bool to
+    std::pair<const_iterator,bool>, to make it consistent with the
+    search() method.  Note that this is an API-incompatible change.
+
+* multi_type_vector
+
+  * added char and unsigned char types to the standard types supported
+    by default.
+
+  * added position() member method that takes a logical element
+    position and returns a pair of block iterator where the element
+    resides and its offset within that block.
+
+  * added at() static member method to the data block, which calls the
+    at() method of the underlying std::vector container.
+
+  * added release() member method to allow caller to release an object
+    stored inside a managed block.
+
+  * added two templates to ease creation of custom element block
+    functions when using one or two custom element types.
+
+  * added transfer() member method to allow elements in a specified
+    range to be transferred from one container to another.  When
+    transferring elements stored in a managed element block, the
+    ownership of those elements is also transferred.
+
+-------------------------------------------------------------------

Old:
----
  mdds_0.7.1.tar.bz2

New:
----
  mdds_0.8.1.tar.bz2
  old-gcc-bug.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mdds.spec ++++++
--- /var/tmp/diff_new_pack.sNY8jt/_old  2013-08-01 15:39:10.000000000 +0200
+++ /var/tmp/diff_new_pack.sNY8jt/_new  2013-08-01 15:39:10.000000000 +0200
@@ -17,10 +17,12 @@
 
 
 Name:           mdds
-Version:        0.7.1
+Version:        0.8.1
 Release:        0
 Url:            http://code.google.com/p/multidimalgorithm/
 Source:         
https://multidimalgorithm.googlecode.com/files/%{name}_%{version}.tar.bz2
+# not upstreamed as it is specifico only for SLE
+Patch0:         old-gcc-bug.patch
 Summary:        A collection of multi-dimensional data structure and indexing 
algorithm
 License:        MIT
 Group:          Development/Libraries/C and C++
@@ -49,13 +51,14 @@
 
 %prep
 %setup -q -n %{name}_%{version}
+%patch0 -p1
 
 %build
 %configure --docdir=%{_docdir}
 make %{?_smp_mflags}
 
 %check
-#make check
+make check
 
 %install
 make DESTDIR=%buildroot install
@@ -64,5 +67,6 @@
 %defattr(-,root,root)
 %doc %{_docdir}
 %{_includedir}/%{name}
+%{_datadir}/pkgconfig/*.pc
 
 %changelog

++++++ mdds_0.7.1.tar.bz2 -> mdds_0.8.1.tar.bz2 ++++++
++++ 5417 lines of diff (skipped)

++++++ old-gcc-bug.patch ++++++
From e1c795c8734119985ea09bf4d9f860d11e440b2a Mon Sep 17 00:00:00 2001
From: Kohei Yoshida <[email protected]>
Date: Mon, 30 Jul 2012 14:36:24 -0400
Subject: [PATCH] Workaround for gcc bug.

c.f. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44963
---
 include/mdds/multi_type_vector_types.hpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/mdds/multi_type_vector_types.hpp 
b/include/mdds/multi_type_vector_types.hpp
index 78f18cb..6189139 100644
--- a/include/mdds/multi_type_vector_types.hpp
+++ misc/build/mdds_0.6.0/include/mdds/multi_type_vector_types.hpp
@@ -218,7 +218,8 @@ public:
         typename store_type::const_iterator it_end = it;
         std::advance(it_end, len);
         d.reserve(d.size() + len);
-        std::copy(it, it_end, std::back_inserter(d));
+        for (; it != it_end; ++it)
+            d.push_back(*it);
     }

     static void assign_values_from_block(
--
1.7.7--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to