Bump version to 24.04.3.4
[LibreOffice.git] / external / curl / curl-msvc-disable-protocols.patch.1
blob905a2d6a7ac3ac70e37f71a92b40e0070abb4a4e
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 @@ -654,4 +654,20 @@
6  #  define ENABLE_IPV6 1
7  #endif
8  
9 +#define CURL_DISABLE_DICT 1
10 +#define CURL_DISABLE_FILE 1
11 +#define CURL_DISABLE_FTP 1
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 @@ -562,7 +562,7 @@
30  EXE_OBJS = $(CURL_OBJS) $(CURL_DIROBJ)\curl.res
32 -all : $(TARGET) $(PROGRAM_NAME)
33 +all : $(TARGET)
35  package: $(TARGET)
36         @cd $(DIRDIST)