1923
|
1 This file is part of mingw-cross-env. |
|
2 See doc/index.html for further information. |
|
3 |
|
4 Contains ad hoc patches for cross building. |
|
5 |
2264
|
6 From 19d2c3dbe60872e57b6e897f8a6f66c8b11ca103 Mon Sep 17 00:00:00 2001 |
1923
|
7 From: mingw-cross-env |
2057
|
8 Date: Fri, 28 Oct 2011 09:23:41 +0200 |
2264
|
9 Subject: [PATCH 1/3] add missing static library linking |
1923
|
10 |
|
11 |
|
12 diff --git a/lib/gnutls.pc.in b/lib/gnutls.pc.in |
2246
|
13 index c45f8f3..57d0dbb 100644 |
1923
|
14 --- a/lib/gnutls.pc.in |
|
15 +++ b/lib/gnutls.pc.in |
2246
|
16 @@ -19,6 +19,6 @@ Description: Transport Security Layer implementation for the GNU system |
1923
|
17 URL: http://www.gnu.org/software/gnutls/ |
|
18 Version: @VERSION@ |
|
19 Libs: -L${libdir} -lgnutls |
2057
|
20 -Libs.private: @LTLIBNETTLE@ |
2128
|
21 +Libs.private: @LTLIBNETTLE@ @LIBS@ |
1923
|
22 @GNUTLS_REQUIRES_PRIVATE@ |
|
23 Cflags: -I${includedir} |
|
24 -- |
2264
|
25 1.7.9.2 |
2128
|
26 |
1923
|
27 |
2264
|
28 From 02fe82f7e712f6be7dd7305501551ac2661ca540 Mon Sep 17 00:00:00 2001 |
2128
|
29 From: mingw-cross-env |
|
30 Date: Thu, 24 Nov 2011 15:06:06 +0100 |
2264
|
31 Subject: [PATCH 2/3] disable doc and test (mingw-cross-env specific) |
2128
|
32 |
|
33 |
|
34 diff --git a/Makefile.am b/Makefile.am |
2264
|
35 index 0afe4bd..da7436a 100644 |
2128
|
36 --- a/Makefile.am |
|
37 +++ b/Makefile.am |
2246
|
38 @@ -23,7 +23,7 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --disable-valgrind-tests |
2128
|
39 |
2246
|
40 SUBDIRS = gl lib extra po |
2128
|
41 |
2246
|
42 -SUBDIRS += src doc tests |
|
43 +SUBDIRS += src |
2128
|
44 |
|
45 if HAVE_GUILE |
|
46 SUBDIRS += guile |
|
47 -- |
2264
|
48 1.7.9.2 |
|
49 |
|
50 |
|
51 From 5f28dc1975988edd7a9527a9e587341cd4cc3101 Mon Sep 17 00:00:00 2001 |
|
52 From: mingw-cross-env |
|
53 Date: Fri, 2 Mar 2012 21:39:39 +0100 |
|
54 Subject: [PATCH 3/3] no fchmod() for MinGW32 |
|
55 |
|
56 taken from |
|
57 http://lists.gnu.org/archive/html/gnutls-devel/2012-03/msg00005.html |
2128
|
58 |
2264
|
59 diff --git a/src/libopts/makeshell.c b/src/libopts/makeshell.c |
|
60 index 1730c81..45d170b 100644 |
|
61 --- a/src/libopts/makeshell.c |
|
62 +++ b/src/libopts/makeshell.c |
|
63 @@ -164,7 +164,9 @@ optionParseShell(tOptions * pOpts) |
|
64 printf(SHOW_PROG_ENV, pOpts->pzPROGNAME); |
|
65 |
|
66 fflush(stdout); |
|
67 +#ifndef __MINGW32__ |
|
68 fchmod(STDOUT_FILENO, 0755); |
|
69 +#endif |
|
70 fclose(stdout); |
|
71 if (ferror(stdout)) { |
|
72 fputs(zOutputFail, stderr); |
|
73 -- |
|
74 1.7.9.2 |
|
75 |