https://bz.apache.org/ooo/show_bug.cgi?id=126765

          Issue ID: 126765
        Issue Type: PATCH
           Summary: update mdds to version 1.0.0
           Product: Calc
           Version: 4.2.0-dev
          Hardware: All
               URL: https://gitlab.com/mdds/mdds
                OS: All
            Status: CONFIRMED
          Severity: Normal
          Priority: P3
         Component: code
          Assignee: issues@openoffice.apache.org
          Reporter: j.nitsc...@ok.de
        Depends on: 126469

Created attachment 85235
  --> https://bz.apache.org/ooo/attachment.cgi?id=85235&action=edit
update mdds package

patch to update the Multi-Dimensional Data Structure package 0.3.1 (Oct 2010)
to 1.0.0 (Oct 2015)
mdds is a source library like boost and only used in sc (Calc)
we use flat segment tree class for numeric cell properties

there were 2 build breaking changes:
* a return type changed from bool to pair<const_iterator,bool>, which lead to
some simple changes in segmenttree.cxx
* uses of c++11 nullptr and unique_ptr, added a patch file for mdds to replace
nullptr with NULL and comment out stuff with unique_ptr because it's not used
by flat segmented tree

builds fine on Ubuntu 15.10
without the patch from issue 126469 you'll get a MD5 mismatch on bootstrap, but
this shouldn't stop build process

https://gitlab.com/mdds/mdds/blob/master/CHANGELOG

I did this patch to learn more about the build process and external packages.
This package has unlike others like boost or libxml2 only few changes and a
very limited impact on AOO. Hope it works for you and gets committed.

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to