[packages/liborcus] - adopt to API change in mdds 0.8.0 - rel 2

baggins baggins at pld-linux.org
Tue Jul 9 00:45:33 CEST 2013


commit f5eb7ad93a776423f6113596d06e046159f22c3d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Jul 9 00:45:16 2013 +0200

    - adopt to API change in mdds 0.8.0
    - rel 2

 liborcus.spec    |  4 +++-
 mdds-0.8.0.patch | 11 +++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)
---
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;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/liborcus.git/commitdiff/f5eb7ad93a776423f6113596d06e046159f22c3d



More information about the pld-cvs-commit mailing list