- from curl-7.26.0.patch: * drop ADDCFLAGS stuff, must be some dmake relic * drop wspiapi.h, presumably for backward compat with NT 5.0/Win2000 which is unsupported (and ws2_32.lib is linked anyway...) * split out curl-freebsd.patch.1 - curl-7.26.0_win.patch: * drop the library renaming stuff - can be handled in Package and RepositoryExternal.mk without patch * rename the rest to curl-msvc.patch.1 - drop curl-aix.patch: presumably don't need special check for V7BETA since it's released now - drop curl-7.26.0_strlcat.patch (obsolete) Change-Id: Ie8c1d9e72f82ada95f42c49d22d90e43b1a6c3c0 Reviewed-on: https://gerrit.libreoffice.org/6642 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
25 lines
522 B
Diff
25 lines
522 B
Diff
--- a/lib/curl_setup.h 2009-10-29 05:21:58.000000000 +0900
|
|
+++ b/lib/curl_setup.h 2010-03-02 06:03:10.009500000 +0900
|
|
@@ -40,6 +40,21 @@
|
|
|
|
#include "curl_config.h"
|
|
|
|
+#ifdef __MINGW32__
|
|
+#undef HAVE_DLFCN_H
|
|
+#define HAVE_GETHOSTBYADDR 1
|
|
+#define HAVE_GETHOSTBYNAME 1
|
|
+#undef HAVE_LIBZ
|
|
+#undef HAVE_NETDB_H
|
|
+#undef HAVE_POLL_H
|
|
+#undef HAVE_SYS_IOCTL_H
|
|
+#undef HAVE_SYS_POLL_H
|
|
+#undef HAVE_SYS_UIO_H
|
|
+#undef HAVE_TERMIOS_H
|
|
+#undef HAVE_TERMIO_H
|
|
+#undef HAVE_ZLIB_H
|
|
+#endif
|
|
+
|
|
#else /* HAVE_CONFIG_H */
|
|
|
|
#ifdef _WIN32_WCE
|