diff --git a/external/curl/UnpackedTarball_curl.mk b/external/curl/UnpackedTarball_curl.mk index 8e236b4a9765..154263ce914f 100644 --- a/external/curl/UnpackedTarball_curl.mk +++ b/external/curl/UnpackedTarball_curl.mk @@ -23,6 +23,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,curl,\ external/curl/curl-msvc-schannel.patch.1 \ external/curl/curl-7.26.0_mingw.patch \ external/curl/curl-7.26.0_win-proxy.patch \ + external/curl/curl-xp.patch.1 \ )) ifeq ($(SYSTEM_NSS),) diff --git a/external/curl/curl-xp.patch.1 b/external/curl/curl-xp.patch.1 new file mode 100644 index 000000000000..9e4163e3eab1 --- /dev/null +++ b/external/curl/curl-xp.patch.1 @@ -0,0 +1,12 @@ +diff -ur curl.org/src/Makefile.vc10 curl/src/Makefile.vc10 +--- curl.org/src/Makefile.vc10 2016-07-04 03:45:24.102995951 +0200 ++++ curl/src/Makefile.vc10 2016-07-04 03:48:00.547835559 +0200 +@@ -127,7 +127,7 @@ + LINKD = link.exe /incremental:yes /debug /libpath:"../lib" + RCD = rc.exe /dDEBUGBUILD=1 + +-CFLAGS = /I../lib /I../include /nologo /W3 /EHsc /DWIN32 /FD /c /D_BIND_TO_CURRENT_VCLIBS_VERSION=1 ++CFLAGS = /I../lib /I../include /nologo /W3 /EHsc /DWIN32 /FD /c /D_BIND_TO_CURRENT_VCLIBS_VERSION=1 /D_WIN32_WINNT=0x0502 + LFLAGS = /nologo /out:$(PROGRAM_NAME) /subsystem:console /machine:$(MACHINE) + RESFLAGS = /i../include +