LanguageTool: don't crash if REST protocol isn't set
[LibreOffice.git] / external / curl / curl-nss.patch.1
blob5ef25748d7ebea4472903a14c2499b3d5002051c
1 diff -ur curl.org/configure curl/configure
2 --- curl.org/configure  2016-03-13 15:14:07.177000076 +0100
3 +++ curl/configure      2016-03-13 15:16:44.132000076 +0100
4 @@ -27985,7 +27985,12 @@
5        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Using hard-wired libraries and compilation flags for NSS." >&5
6  printf "%s\n" "$as_me: WARNING: Using hard-wired libraries and compilation flags for NSS." >&2;}
7        addld="-L$OPT_NSS/lib"
8 -      addlib="-lssl3 -lsmime3 -lnss3 -lplds4 -lplc4 -lnspr4"
9 +      addlib="-lssl3 -lsmime3 -lnss3 -lplds4 -lplc4 -lnspr4 -lnssutil3"
10 +      case $host_os in
11 +        *android*)
12 +          addlib="${addlib} -llog"
13 +          ;;
14 +      esac
15        addcflags="-I$OPT_NSS/include"
16        version="unknown"
17        nssprefix=$OPT_NSS