Mercurial > mxe-octave
annotate src/libgsf-1-fixes.patch @ 4451:f81858aaddc8
of-mapping: re-allow checking of rad2deg, deg2rad in configure when cross compiling (Bug #47494)
* src/of-mapping-1-cross-fixes.patch: remove cross compile patch
author | John D |
---|---|
date | Tue, 15 Aug 2017 08:04:34 -0400 |
parents | 8147e6f8659a |
children |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1888
diff
changeset
|
1 This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2333
diff
changeset
|
2 See index.html for further information. |
1220 | 3 |
4 Contains ad hoc patches for cross building. | |
5 | |
6 From f2970c9c697dd6a6104495ea91ed2488ead297b7 Mon Sep 17 00:00:00 2001 | |
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1888
diff
changeset
|
7 From: MXE |
1220 | 8 Date: Fri, 24 Sep 2010 23:34:26 +0200 |
1888
b2d6ef366242
package libgsf: gettext/intltool configure patch no longer required
Tony Theodore <tonyt@logyst.com>
parents:
1220
diff
changeset
|
9 Subject: [PATCH 1/1] s,DllMain,static _disabled_DllMain, |
1220 | 10 |
11 | |
12 diff --git a/gsf/gsf-utils.c b/gsf/gsf-utils.c | |
13 index d7a7247..cc52d99 100644 | |
14 --- a/gsf/gsf-utils.c | |
15 +++ b/gsf/gsf-utils.c | |
3135
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
2626
diff
changeset
|
16 @@ -76,9 +76,17 @@ static GTypeModule *static_type_module = NULL; |
1220 | 17 #include <windows.h> |
18 static HMODULE gsf_dll_hmodule; | |
19 BOOL WINAPI | |
3135
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
2626
diff
changeset
|
20 +#ifdef DLL_EXPORT |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
2626
diff
changeset
|
21 DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved); |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
2626
diff
changeset
|
22 +#else |
1220 | 23 +static _disabled_DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved); |
3135
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
2626
diff
changeset
|
24 +#endif |
1220 | 25 BOOL WINAPI |
3135
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
2626
diff
changeset
|
26 +#ifdef DLL_EXPORT |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
2626
diff
changeset
|
27 DllMain (HINSTANCE hinstDLL, DWORD fdwReason, G_GNUC_UNUSED LPVOID lpvReserved) |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
2626
diff
changeset
|
28 +#else |
1220 | 29 +static _disabled_DllMain (HINSTANCE hinstDLL, DWORD fdwReason, G_GNUC_UNUSED LPVOID lpvReserved) |
3135
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
2626
diff
changeset
|
30 +#endif |
1220 | 31 { |
32 if (fdwReason == DLL_PROCESS_ATTACH) gsf_dll_hmodule = hinstDLL; | |
33 return TRUE; | |
34 -- | |
35 1.7.1 | |
36 |