2654e0
From ceac69bff953ebd9b54a1f3a032079523c4414d0 Mon Sep 17 00:00:00 2001
2654e0
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
2654e0
Date: Sun, 25 Oct 2020 20:23:39 +0000
2654e0
Subject: [PATCH] 0.5.1 is sufficient
2654e0
2654e0
Change-Id: I710a83de8f261d6164eb760d3290c963a5bbe5e1
2654e0
---
2654e0
 configure.ac | 15 +--------------
2654e0
 1 file changed, 1 insertion(+), 14 deletions(-)
2654e0
2654e0
diff --git a/configure.ac b/configure.ac
2654e0
index a6696df15f06..c17fdf5b0d22 100644
2654e0
--- a/configure.ac
2654e0
+++ b/configure.ac
2654e0
@@ -7050,7 +7050,7 @@ dnl Check for system libcmis
2654e0
 dnl ===================================================================
2654e0
 # libcmis requires curl and we can't build curl for iOS
2654e0
 if test $_os != iOS; then
2654e0
-    libo_CHECK_SYSTEM_MODULE([libcmis],[LIBCMIS],[libcmis-0.5 >= 0.5.2])
2654e0
+    libo_CHECK_SYSTEM_MODULE([libcmis],[LIBCMIS],[libcmis-0.5 >= 0.5.0])
2654e0
     ENABLE_LIBCMIS=TRUE
2654e0
 else
2654e0
     ENABLE_LIBCMIS=
2654e0
@@ -7090,19 +7090,6 @@ elif test "$GCC" = "yes" -o "$COM_IS_CLANG" = TRUE; then
2654e0
             #include <functional>
2654e0
             #include <vector>
2654e0
 
2654e0
-            #if defined SYSTEM_LIBCMIS
2654e0
-            // See ucb/source/ucp/cmis/auth_provider.hxx:
2654e0
-            #if !defined __clang__
2654e0
-            #pragma GCC diagnostic push
2654e0
-            #pragma GCC diagnostic ignored "-Wdeprecated"
2654e0
-            #pragma GCC diagnostic ignored "-Wunused-but-set-parameter"
2654e0
-            #endif
2654e0
-            #include <libcmis/libcmis.hxx>
2654e0
-            #if !defined __clang__
2654e0
-            #pragma GCC diagnostic pop
2654e0
-            #endif
2654e0
-            #endif
2654e0
-
2654e0
             void f(std::vector<int> & v, std::function<bool(int, int)> fn) {
2654e0
                 std::sort(v.begin(), v.end(), fn);
2654e0
             }
2654e0
-- 
2654e0
2.26.2
2654e0