mxe/src/gnutls-1-fixes.patch

76 lines
1.9 KiB
Diff
Raw Normal View History

2011-07-07 20:39:38 +01:00
This file is part of mingw-cross-env.
See doc/index.html for further information.
Contains ad hoc patches for cross building.
From 19d2c3dbe60872e57b6e897f8a6f66c8b11ca103 Mon Sep 17 00:00:00 2001
2011-07-07 20:39:38 +01:00
From: mingw-cross-env
2011-10-29 00:54:39 +01:00
Date: Fri, 28 Oct 2011 09:23:41 +0200
Subject: [PATCH 1/3] add missing static library linking
2011-07-07 20:39:38 +01:00
diff --git a/lib/gnutls.pc.in b/lib/gnutls.pc.in
2012-02-18 21:51:54 +00:00
index c45f8f3..57d0dbb 100644
2011-07-07 20:39:38 +01:00
--- a/lib/gnutls.pc.in
+++ b/lib/gnutls.pc.in
2012-02-18 21:51:54 +00:00
@@ -19,6 +19,6 @@ Description: Transport Security Layer implementation for the GNU system
2011-07-07 20:39:38 +01:00
URL: http://www.gnu.org/software/gnutls/
Version: @VERSION@
Libs: -L${libdir} -lgnutls
2011-10-29 00:54:39 +01:00
-Libs.private: @LTLIBNETTLE@
+Libs.private: @LTLIBNETTLE@ @LIBS@
2011-07-07 20:39:38 +01:00
@GNUTLS_REQUIRES_PRIVATE@
Cflags: -I${includedir}
--
1.7.9.2
From 02fe82f7e712f6be7dd7305501551ac2661ca540 Mon Sep 17 00:00:00 2001
From: mingw-cross-env
Date: Thu, 24 Nov 2011 15:06:06 +0100
Subject: [PATCH 2/3] disable doc and test (mingw-cross-env specific)
diff --git a/Makefile.am b/Makefile.am
index 0afe4bd..da7436a 100644
--- a/Makefile.am
+++ b/Makefile.am
2012-02-18 21:51:54 +00:00
@@ -23,7 +23,7 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --disable-valgrind-tests
2012-02-18 21:51:54 +00:00
SUBDIRS = gl lib extra po
2012-02-18 21:51:54 +00:00
-SUBDIRS += src doc tests
+SUBDIRS += src
if HAVE_GUILE
SUBDIRS += guile
--
1.7.9.2
From 5f28dc1975988edd7a9527a9e587341cd4cc3101 Mon Sep 17 00:00:00 2001
From: mingw-cross-env
Date: Fri, 2 Mar 2012 21:39:39 +0100
Subject: [PATCH 3/3] no fchmod() for MinGW32
taken from
http://lists.gnu.org/archive/html/gnutls-devel/2012-03/msg00005.html
diff --git a/src/libopts/makeshell.c b/src/libopts/makeshell.c
index 1730c81..45d170b 100644
--- a/src/libopts/makeshell.c
+++ b/src/libopts/makeshell.c
@@ -164,7 +164,9 @@ optionParseShell(tOptions * pOpts)
printf(SHOW_PROG_ENV, pOpts->pzPROGNAME);
fflush(stdout);
+#ifndef __MINGW32__
fchmod(STDOUT_FILENO, 0755);
+#endif
fclose(stdout);
if (ferror(stdout)) {
fputs(zOutputFail, stderr);
--
1.7.9.2