From: Jan Rękorajski Date: Mon, 8 Jul 2013 22:45:16 +0000 (+0200) Subject: - adopt to API change in mdds 0.8.0 X-Git-Tag: auto/th/liborcus-0.5.1-2 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=f5eb7ad93a776423f6113596d06e046159f22c3d;p=packages%2Fliborcus.git - adopt to API change in mdds 0.8.0 - rel 2 --- diff --git a/liborcus.spec b/liborcus.spec index 1c1ae3b..fe6748c 100644 --- a/liborcus.spec +++ b/liborcus.spec @@ -8,7 +8,7 @@ Summary: Standalone file import filter library for spreadsheet documents Summary(pl.UTF-8): Biblioteka samodzielnego filtra importującego pliki dla arkuszy kalkulacyjnych Name: liborcus Version: 0.5.1 -Release: 1 +Release: 2 License: MIT Group: Libraries #Source0Download: http://gitorious.org/orcus/pages/Download @@ -16,6 +16,7 @@ Source0: http://kohei.us/files/orcus/src/%{name}-%{version}.tar.bz2 # Source0-md5: ea2acaf140ae40a87a952caa75184f4d Patch0: %{name}-link.patch Patch1: %{name}-am.patch +Patch2: mdds-0.8.0.patch URL: http://gitorious.org/orcus BuildRequires: autoconf >= 2.65 BuildRequires: automake >= 1:1.11 @@ -110,6 +111,7 @@ Biblioteka statyczna liborcus spreadsheet model. %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build %{__libtoolize} diff --git a/mdds-0.8.0.patch b/mdds-0.8.0.patch new file mode 100644 index 0000000..0e20f5d --- /dev/null +++ b/mdds-0.8.0.patch @@ -0,0 +1,11 @@ +--- liborcus-0.5.1/src/spreadsheet/sheet.cpp~ 2013-04-10 21:43:07.000000000 +0200 ++++ liborcus-0.5.1/src/spreadsheet/sheet.cpp 2013-07-09 00:43:52.783524094 +0200 +@@ -734,7 +734,7 @@ + con.build_tree(); + + size_t index; +- if (!con.search_tree(col, index)) ++ if (!con.search_tree(col, index).second) + return 0; + + return index;