From 572df5c5a060aa42d0080221391142d648265e90 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 8 Oct 2014 13:27:25 +0200 Subject: [PATCH] Fix erroneous upstream gnutls check --- ...utls-are-only-used-by-our-internal-e.patch | 30 +++++++++++++++++++ libreoffice.spec | 1 + 2 files changed, 31 insertions(+) create mode 100644 0001-libgcrypt-and-gnutls-are-only-used-by-our-internal-e.patch diff --git a/0001-libgcrypt-and-gnutls-are-only-used-by-our-internal-e.patch b/0001-libgcrypt-and-gnutls-are-only-used-by-our-internal-e.patch new file mode 100644 index 0000000..149e2b8 --- /dev/null +++ b/0001-libgcrypt-and-gnutls-are-only-used-by-our-internal-e.patch @@ -0,0 +1,30 @@ +From 3cfc0933c38a9f5383042347ef659c3d982090a3 Mon Sep 17 00:00:00 2001 +From: Stephan Bergmann +Date: Wed, 8 Oct 2014 13:22:44 +0200 +Subject: [PATCH] libgcrypt and gnutls are only used by our internal + external/neon + +...so must not be checked for if --without-system-neon + +Change-Id: If598108f98d6f94f32650feba7044224a78a4c12 +(cherry picked from commit c592e7dea2e5ac326041b78b9512600c984ccced) +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 363eb2f..ed3da6c 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -9463,7 +9463,7 @@ dnl =================================================================== + dnl Check for building gnutls + dnl =================================================================== + AC_MSG_CHECKING([whether to use gnutls]) +-if test "$WITH_WEBDAV" = "neon" && test "$enable_openssl" = "no"; then ++if test "$WITH_WEBDAV" = "neon" -a "$with_system_neon" = no -a "$enable_openssl" = "no"; then + AC_MSG_RESULT([yes]) + AM_PATH_LIBGCRYPT() + PKG_CHECK_MODULES(GNUTLS, [gnutls],, +-- +1.9.3 + diff --git a/libreoffice.spec b/libreoffice.spec index 3809b54..c542fd2 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -322,6 +322,7 @@ Patch30: 0001-default-n-up-printing-of-notes-to-sensible-2-x-1-not.patch Patch31: 0001-n-up-printing-done-by-vcl-brochures-by-draw-impress.patch Patch32: 0001-Resolves-fdo-68967-looping-layout.patch Patch33: 0001-Remove-smb-from-X-KDE-Protocols-lines.patch +Patch34: 0001-libgcrypt-and-gnutls-are-only-used-by-our-internal-e.patch %define instdir %{_libdir} %define baseinstdir %{instdir}/libreoffice