tdf#135033: Make undo of adding and editing animations possible
[LibreOffice.git] / external / curl / curl-msvc-disable-protocols.patch.1
bloba6d06c69b00436ecca8a0c222a874f3e4c466dda
1 disable protocols nobody needs in MSVC build
3 --- curl/lib/config-win32.h.orig        2017-08-09 16:43:29.464000000 +0200
4 +++ curl/lib/config-win32.h     2017-08-09 16:47:38.549200000 +0200
5 @@ -733,4 +733,20 @@
6  #  define ENABLE_IPV6 1
7  #endif
8  
9 +#define CURL_DISABLE_DICT 1
10 +#define CURL_DISABLE_FILE 1
11 +#undef CURL_DISABLE_FTP
12 +#define CURL_DISABLE_GOPHER 1
13 +#undef CURL_DISABLE_HTTP
14 +#define CURL_DISABLE_IMAP 1
15 +#define CURL_DISABLE_LDAP 1
16 +#define CURL_DISABLE_LDAPS 1
17 +#define CURL_DISABLE_MQTT 1
18 +#define CURL_DISABLE_POP3 1
19 +#define CURL_DISABLE_RTSP 1
20 +#define CURL_DISABLE_SMB 1
21 +#define CURL_DISABLE_SMTP 1
22 +#define CURL_DISABLE_TELNET 1
23 +#define CURL_DISABLE_TFTP 1
25  #endif /* HEADER_CURL_CONFIG_WIN32_H */
26 --- curl/winbuild/MakefileBuild.vc.orig 2017-10-23 23:41:21.393200000 +0200
27 +++ curl/winbuild/MakefileBuild.vc      2017-10-23 23:34:16.028000000 +0200
28 @@ -431,7 +431,7 @@
30  EXE_OBJS = $(CURL_OBJS) $(CURL_DIROBJ)\curl.res
32 -all : $(TARGET) $(PROGRAM_NAME)
33 +all : $(TARGET)
35  package: $(TARGET)
36         @cd $(DIRDIST)