summaryrefslogtreecommitdiffstats
path: root/src/gnutls-1-fixes.patch
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2012-03-17 15:50:13 (GMT)
committerMark Brand <mabrand@mabrand.nl>2012-03-17 15:50:13 (GMT)
commitd484a7224cb205cefa9e0c24678759c926f134e2 (patch)
treeec9e99792406c4b7156d4eef75e4ad14a32688d5 /src/gnutls-1-fixes.patch
parent6e75b1e133c24dea840b87678f820da709398903 (diff)
downloadmxe-d484a7224cb205cefa9e0c24678759c926f134e2.zip
mxe-d484a7224cb205cefa9e0c24678759c926f134e2.tar.gz
mxe-d484a7224cb205cefa9e0c24678759c926f134e2.tar.bz2
Backed out changeset 0157d0da7b9a
because it accidentally included ffmpeg.mk
Diffstat (limited to 'src/gnutls-1-fixes.patch')
-rw-r--r--src/gnutls-1-fixes.patch34
1 files changed, 30 insertions, 4 deletions
diff --git a/src/gnutls-1-fixes.patch b/src/gnutls-1-fixes.patch
index ccff9b6..b8915a1 100644
--- a/src/gnutls-1-fixes.patch
+++ b/src/gnutls-1-fixes.patch
@@ -3,10 +3,10 @@ See doc/index.html for further information.
Contains ad hoc patches for cross building.
-From 6e89465f1e792f5d527708544cce1ef92ae4669b Mon Sep 17 00:00:00 2001
+From 19d2c3dbe60872e57b6e897f8a6f66c8b11ca103 Mon Sep 17 00:00:00 2001
From: mingw-cross-env
Date: Fri, 28 Oct 2011 09:23:41 +0200
-Subject: [PATCH 1/2] add missing static library linking
+Subject: [PATCH 1/3] add missing static library linking
diff --git a/lib/gnutls.pc.in b/lib/gnutls.pc.in
@@ -25,10 +25,10 @@ index c45f8f3..57d0dbb 100644
1.7.9.2
-From aa11a6f645ce93f80fbffd7e72c6964bdfd68542 Mon Sep 17 00:00:00 2001
+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/2] disable doc and test (mingw-cross-env specific)
+Subject: [PATCH 2/3] disable doc and test (mingw-cross-env specific)
diff --git a/Makefile.am b/Makefile.am
@@ -47,3 +47,29 @@ index 0afe4bd..da7436a 100644
--
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
+