/contrib/src/gnutls/gnutls-win32.patch
https://bitbucket.org/romen/vlc · Patch · 31 lines · 29 code · 2 blank · 0 comment · 0 complexity · f7e104ce00c0da83990f9e37bdddbff8 MD5 · raw file
- --- gnutls-2.2.5/gl/gai_strerror.c 2008-02-21 08:58:18.000000000 +0100
- +++ gnutls/gl/gai_strerror.c 2008-05-22 08:20:56.000000000 +0200
- @@ -62,7 +62,7 @@
- { EAI_IDN_ENCODE, N_("Parameter string not correctly encoded") }
- #endif
- };
- -
- +#ifndef _WIN32
- const char *
- gai_strerror (int code)
- {
- @@ -73,6 +73,7 @@
-
- return _("Unknown error");
- }
- +#endif
- #ifdef _LIBC
- libc_hidden_def (gai_strerror)
- #endif
- --- gnutls/lib/gnutls.pc.in.orig 2011-11-26 14:40:52.343740836 -0500
- +++ gnutls/lib/gnutls.pc.in 2011-11-26 14:41:49.456024042 -0500
- @@ -19,7 +19,7 @@
- Description: Transport Security Layer implementation for the GNU system
- URL: http://www.gnu.org/software/gnutls/
- Version: @VERSION@
- -Libs: -L${libdir} -lgnutls
- +Libs: -L${libdir} -lgnutls -lws2_32 -lcrypt32 @LTLIBINTL@
- Libs.private: @LTLIBGCRYPT@ @NETTLE_LIBS@
- @GNUTLS_REQUIRES_PRIVATE@
- Cflags: -I${includedir}