PageRenderTime 52ms CodeModel.GetById 29ms RepoModel.GetById 0ms app.codeStats 0ms

/contrib/src/gnutls/gnutls-win32.patch

https://github.com/hiranotaka/vlc-arib
Patch | 28 lines | 28 code | 0 blank | 0 comment | 0 complexity | 662ac16ff618522fe17bb43a6ec12fd2 MD5 | raw file
Possible License(s): GPL-2.0, WTFPL
  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. };
  7. -
  8. +#ifndef _WIN32
  9. const char *
  10. gai_strerror (int code)
  11. {
  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}