vlc | branch: master | Steve Lhomme <[email protected]> | Tue Mar 5 12:06:09 2019 +0100| [886920538b85cc19474289c122aba0f3883d5eb6] | committer: Steve Lhomme
contrib: shout: fix winstore build addrinfo is available in ws2tcpip.h > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=886920538b85cc19474289c122aba0f3883d5eb6 --- contrib/src/shout/rules.mak | 1 + contrib/src/shout/should-win32-ws2tcpip.patch | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/contrib/src/shout/rules.mak b/contrib/src/shout/rules.mak index d364762c97..76d73c5b42 100644 --- a/contrib/src/shout/rules.mak +++ b/contrib/src/shout/rules.mak @@ -27,6 +27,7 @@ libshout: libshout-$(SHOUT_VERSION).tar.gz .sum-shout $(APPLY) $(SRC)/shout/shout-win32-socklen.patch $(APPLY) $(SRC)/shout/no-examples.patch $(APPLY) $(SRC)/shout/no-force-libwsock.patch + $(APPLY) $(SRC)/shout/should-win32-ws2tcpip.patch $(call pkg_static,"shout.pc.in") $(UPDATE_AUTOCONFIG) $(MOVE) diff --git a/contrib/src/shout/should-win32-ws2tcpip.patch b/contrib/src/shout/should-win32-ws2tcpip.patch new file mode 100644 index 0000000000..f45a869753 --- /dev/null +++ b/contrib/src/shout/should-win32-ws2tcpip.patch @@ -0,0 +1,10 @@ +--- libshout/src/common/net/resolver.c.ws2tcpip 2015-01-27 19:08:54.000000000 +0100 ++++ libshout/src/common/net/resolver.c 2019-03-05 12:02:46.595628700 +0100 +@@ -39,6 +39,7 @@ + #include <arpa/inet.h> + #else + #include <winsock2.h> ++#include <ws2tcpip.h> + #endif + + #ifndef NO_THREAD _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
