Files
libreoffice/external/curl/curl-nss.patch.1
Christian Lohmaier 98d48dad9e tdf#98416 fix curl's configure check for nss (missing -lnssutil3)
without -lnssutil3, the configure check for nss fails when using
internal nss:
configure:24028: checking for SSL_VersionRangeSet in -lnss3
[…]
…/UnpackedTarball/nss/dist/out/lib/libnss3.so: undefined reference to
`NSSUTIL_ArgParseModuleSpecEx@NSSUTIL_3.21'

causing curl to build without ssl support:
SSL support:  no (--with-{ssl,gnutls,nss,polarssl,cyassl,axtls,winssl,darwinssl} )

This makes gdrive and other remote file methods fail

Change-Id: I098feb10a760c2f80a474d9205d6f1e403477efd
2016-03-13 15:38:13 +01:00

13 lines
648 B
Groff

diff -ur curl.org/configure curl/configure
--- curl.org/configure 2016-03-13 15:14:07.177000076 +0100
+++ curl/configure 2016-03-13 15:16:44.132000076 +0100
@@ -24009,7 +24009,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Using hard-wired libraries and compilation flags for NSS." >&5
$as_echo "$as_me: WARNING: Using hard-wired libraries and compilation flags for NSS." >&2;}
addld="-L$OPT_NSS/lib"
- addlib="-lssl3 -lsmime3 -lnss3 -lplds4 -lplc4 -lnspr4"
+ addlib="-lssl3 -lsmime3 -lnss3 -lplds4 -lplc4 -lnspr4 -lnssutil3"
addcflags="-I$OPT_NSS/include"
version="unknown"
nssprefix=$OPT_NSS