Contribs: forgotten file in previous commit (3.1.16)
[vlc/gmpfix.git] / contrib / src / gnutls / gnutls-win32.patch
blobc0c540ab4322d7c5e26a91b70bd3c09cf99bb9d2
1 --- gnutls-2.12.20/gl/gai_strerror.c.orig 2012-03-01 16:45:12.000000000 +0100
2 +++ gnutls-2.12.20/gl/gai_strerror.c 2012-09-27 14:39:30.273584236 +0200
3 @@ -75,7 +75,7 @@
4 { EAI_IDN_ENCODE, N_("Parameter string not correctly encoded") }
5 #endif
6 };
8 +#ifndef _WIN32
9 const char *
10 gai_strerror (int code)
12 @@ -89,4 +89,5 @@
13 # ifdef _LIBC
14 libc_hidden_def (gai_strerror)
15 # endif
16 +#endif
17 #endif /* !HAVE_DECL_GAI_STRERROR */
18 --- gnutls-3.1.14/lib/gnutls.pc.in.orig 2013-09-17 18:14:16.270374773 +0200
19 +++ gnutls-3.1.14/lib/gnutls.pc.in 2013-09-17 18:16:10.232464936 +0200
20 @@ -18,7 +18,7 @@
21 Description: Transport Security Layer implementation for the GNU system
22 URL: http://www.gnutls.org/
23 Version: @VERSION@
24 -Libs: -L${libdir} -lgnutls
25 +Libs: -L${libdir} -lgnutls -lws2_32 -lcrypt32 @LTLIBINTL@
26 Libs.private: @LTLIBNETTLE@ @LTLIBZ@ @LTLIBINTL@ @LIBSOCKET@ @LTLIBPTHREAD@ @LTLIBICONV@ @P11_KIT_LIBS@ @LIB_SELECT@ @TSS_LIBS@ @LIB_CLOCK_GETTIME@ @GMP_LIBS@
27 @GNUTLS_REQUIRES_PRIVATE@
28 Cflags: -I${includedir}