[evolution-mapi/f14/master] Fix GetHierarchyTable call (remove TableFlags_UseUnicode flag)

Milan Crha mcrha at fedoraproject.org
Mon May 2 05:46:30 UTC 2011


commit 8f21452cc4265b9fc01ca4bdf998f6ac9e499c8c
Author: Milan Crha <mcrha at redhat.com>
Date:   Mon May 2 07:46:00 2011 +0200

    Fix GetHierarchyTable call (remove TableFlags_UseUnicode flag)

 evolution-mapi-0.32.2-gethierarchytable-fix.patch |   12 ++++++++++++
 evolution-mapi.spec                               |    9 ++++++---
 2 files changed, 18 insertions(+), 3 deletions(-)
---
diff --git a/evolution-mapi-0.32.2-gethierarchytable-fix.patch b/evolution-mapi-0.32.2-gethierarchytable-fix.patch
new file mode 100644
index 0000000..6b1c07d
--- /dev/null
+++ b/evolution-mapi-0.32.2-gethierarchytable-fix.patch
@@ -0,0 +1,12 @@
+diff -up evolution-mapi-0.32.2/src/libexchangemapi/exchange-mapi-connection.c.gethierarchytable-fix evolution-mapi-0.32.2/src/libexchangemapi/exchange-mapi-connection.c
+--- evolution-mapi-0.32.2/src/libexchangemapi/exchange-mapi-connection.c.gethierarchytable-fix	2011-05-02 07:42:39.126436054 +0200
++++ evolution-mapi-0.32.2/src/libexchangemapi/exchange-mapi-connection.c	2011-05-02 07:42:54.658418011 +0200
+@@ -2961,7 +2961,7 @@ get_child_folders (TALLOC_CTX *mem_ctx, 
+ 	}
+ 
+ 	/* Get the hierarchy table */
+-	ms = GetHierarchyTable (&obj_folder, &obj_table, TableFlags_Depth | TableFlags_NoNotifications | TableFlags_UseUnicode, &row_count);
++	ms = GetHierarchyTable (&obj_folder, &obj_table, TableFlags_Depth | TableFlags_NoNotifications, &row_count);
+ 	if (ms != MAPI_E_SUCCESS) {
+ 		make_mapi_error (perror, "GetHierarchyTable", ms);
+ 		result = FALSE;
diff --git a/evolution-mapi.spec b/evolution-mapi.spec
index d15eca2..eaa5d12 100644
--- a/evolution-mapi.spec
+++ b/evolution-mapi.spec
@@ -12,7 +12,7 @@
 
 Name: evolution-mapi
 Version: 0.32.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 Group: Applications/Productivity
 Summary: Evolution extension for MS Exchange 2007 servers
 License: LGPLv2+
@@ -22,7 +22,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 ### Patches ###
 
-#Patch1: evolution-mapi-0.31.91-gn627999.patch
+Patch1: evolution-mapi-0.32.2-gethierarchytable-fix.patch
 
 ### Dependencies ###
 
@@ -55,7 +55,7 @@ Development files needed for building things which link against %{name}.
 
 %prep
 %setup -q
-#%patch1 -p1 -b .gn627999
+%patch1 -p1 -b .gethierarchytable-fix
 
 %build
 
@@ -112,6 +112,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/pkgconfig/libexchangemapi-1.0.pc
 
 %changelog
+* Mon May 02 2011 Milan Crha <mcrha at redhat.com> - 0.32.2-2
+- Fix GetHierarchyTable call (remove TableFlags_UseUnicode flag)
+
 * Mon Feb 07 2011 Milan Crha <mcrha at redhat.com> - 0.32.2-1
 - Update to 0.32.2
 


More information about the scm-commits mailing list