comparison src/glib-2-fixes.patch @ 5593:552fca54749c

add glib-2-fixes.patch * src/glib-2-fixes.patch: new file * dist-files.mk: add ref to glib-2-fixes.patch
author John Donoghue <john.donoghue@ieee.org>
date Tue, 01 Dec 2020 09:39:40 -0500
parents
children
comparison
equal deleted inserted replaced
5592:beb523b00504 5593:552fca54749c
1 See: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1428
2
3 --- a/glib/gtypes.h 2016-10-22 07:21:52.000000000 +0200
4 +++ b/glib/gtypes.h 2020-05-17 11:13:49.369639688 +0200
5 @@ -522,7 +522,7 @@
6 # else /* !GLIB_STATIC_COMPILATION */
7 # ifdef GLIB_COMPILATION
8 # ifdef DLL_EXPORT
9 -# define GLIB_VAR __declspec(dllexport)
10 +# define GLIB_VAR extern __declspec(dllexport)
11 # else /* !DLL_EXPORT */
12 # define GLIB_VAR extern
13 # endif /* !DLL_EXPORT */
14 --- a/gobject/gparamspecs.h 2016-10-22 07:22:21.000000000 +0200
15 +++ b/gobject/gparamspecs.h 2020-05-17 11:16:37.803281391 +0200
16 @@ -1144,7 +1144,7 @@
17 # else /* !GOBJECT_STATIC_COMPILATION */
18 # ifdef GOBJECT_COMPILATION
19 # ifdef DLL_EXPORT
20 -# define GOBJECT_VAR __declspec(dllexport)
21 +# define GOBJECT_VAR extern __declspec(dllexport)
22 # else /* !DLL_EXPORT */
23 # define GOBJECT_VAR extern
24 # endif /* !DLL_EXPORT */