2016-08-22 20:52:34 +01:00
|
|
|
This file is part of MXE. See LICENSE.md for licensing information.
|
2011-07-07 20:39:38 +01:00
|
|
|
|
2017-04-30 14:51:29 +01:00
|
|
|
From 2a80acdcd9ef656b3f6c3cd4193eb66f77d0aa5f Mon Sep 17 00:00:00 2001
|
2015-12-13 09:05:13 +00:00
|
|
|
From: Mark Brand <mabrand@mabrand.nl>
|
2013-02-04 15:23:09 +00:00
|
|
|
Date: Mon, 4 Feb 2013 16:11:12 +0100
|
2017-01-14 09:35:17 +00:00
|
|
|
Subject: [PATCH 1/2] add missing private lib to pc file
|
2012-09-20 12:10:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
diff --git a/lib/gnutls.pc.in b/lib/gnutls.pc.in
|
2017-04-30 14:51:29 +01:00
|
|
|
index f656d12c4..03e8fd746 100644
|
2012-09-20 12:10:23 +01:00
|
|
|
--- a/lib/gnutls.pc.in
|
|
|
|
+++ b/lib/gnutls.pc.in
|
|
|
|
@@ -19,6 +19,6 @@ Description: Transport Security Layer implementation for the GNU system
|
2013-03-25 22:00:03 +00:00
|
|
|
URL: http://www.gnutls.org/
|
2012-09-20 12:10:23 +01:00
|
|
|
Version: @VERSION@
|
|
|
|
Libs: -L${libdir} -lgnutls
|
2017-04-30 14:51:29 +01:00
|
|
|
-Libs.private: @LIBZ_PC@ @LIBINTL@ @LIBSOCKET@ @LIBNSL@ @LIBPTHREAD@ @LIB_SELECT@ @TSS_LIBS@ @GMP_LIBS@ @LIBUNISTRING@ @LIBIDN2_LIBS@
|
|
|
|
+Libs.private: @LIBZ_PC@ @LIBINTL@ @LIBSOCKET@ @LIBNSL@ @LIBPTHREAD@ @LIB_SELECT@ @TSS_LIBS@ @GMP_LIBS@ @LIBUNISTRING@ @LIBIDN2_LIBS@ -lcrypt32
|
2012-09-20 12:10:23 +01:00
|
|
|
@GNUTLS_REQUIRES_PRIVATE@
|
|
|
|
Cflags: -I${includedir}
|
|
|
|
--
|
2017-04-30 14:51:29 +01:00
|
|
|
2.11.0
|
2014-11-24 08:13:51 +00:00
|
|
|
|
|
|
|
|
2017-04-30 14:51:29 +01:00
|
|
|
From d07dcbb72df78506d18fec9205d492b5bbd0399b Mon Sep 17 00:00:00 2001
|
2015-12-13 09:05:13 +00:00
|
|
|
From: Mark Brand <mabrand@mabrand.nl>
|
2014-11-24 08:13:51 +00:00
|
|
|
Date: Mon, 24 Nov 2014 08:56:48 +0100
|
2017-01-14 09:35:17 +00:00
|
|
|
Subject: [PATCH 2/2] windows build fix: ws2tcpip.h supplies inet_ntop
|
2014-11-24 08:13:51 +00:00
|
|
|
|
|
|
|
Follow-up to 492c2b937ab66134d0b37499a6f3a747e19bc31a
|
|
|
|
|
|
|
|
Signed-off-by: Mark Brand <mabrand@mabrand.nl>
|
|
|
|
|
|
|
|
taken from: http://lists.gnutls.org/pipermail/gnutls-devel/2014-November/007250.html
|
|
|
|
|
2017-01-14 09:35:17 +00:00
|
|
|
diff --git a/lib/x509/ip.c b/lib/x509/ip.c
|
2017-04-30 14:51:29 +01:00
|
|
|
index b4b31a4f9..85f130036 100644
|
2017-01-14 09:35:17 +00:00
|
|
|
--- a/lib/x509/ip.c
|
|
|
|
+++ b/lib/x509/ip.c
|
|
|
|
@@ -26,7 +26,11 @@
|
|
|
|
#include <gnutls/x509.h>
|
2014-11-24 08:13:51 +00:00
|
|
|
|
|
|
|
#ifdef HAVE_INET_NTOP
|
|
|
|
-# include <arpa/inet.h>
|
|
|
|
+# ifdef _WIN32
|
|
|
|
+# include <ws2tcpip.h>
|
|
|
|
+# else
|
|
|
|
+# include <arpa/inet.h>
|
|
|
|
+# endif
|
|
|
|
#endif
|
|
|
|
|
2017-01-14 09:35:17 +00:00
|
|
|
/*-
|
2014-11-24 08:13:51 +00:00
|
|
|
--
|
2017-04-30 14:51:29 +01:00
|
|
|
2.11.0
|
2015-12-13 09:05:13 +00:00
|
|
|
|