]> git.pld-linux.org Git - packages/crossmingw32-glib2.git/blob - glib2-win32.patch
- allow build win32 code with -Werror=format-security
[packages/crossmingw32-glib2.git] / glib2-win32.patch
1 --- glib-2.32.4/gio/gcontenttype.c.orig 2012-07-14 22:33:18.000000000 +0200
2 +++ glib-2.32.4/gio/gcontenttype.c      2012-07-24 16:48:52.400116342 +0200
3 @@ -332,7 +332,7 @@
4  
5    /* our test suite and potentially other code used -1 in the past, which is
6     * not documented and not allowed; guard against that */
7 -  g_return_val_if_fail (data_size != (gsize) -1, g_strdup (XDG_MIME_TYPE_UNKNOWN));
8 +  g_return_val_if_fail (data_size != (gsize) -1, g_strdup ("*"));
9  
10    if (filename)
11      {
12 --- glib-2.34.0/gio/gregistrysettingsbackend.c.orig     2012-08-19 16:39:53.000000000 +0200
13 +++ glib-2.34.0/gio/gregistrysettingsbackend.c  2012-09-26 17:54:44.204962755 +0200
14 @@ -233,7 +233,7 @@
15    if (result_code == ERROR_KEY_DELETED)
16      trace ("(%s)", win32_message);
17    else
18 -    g_message (win32_message);
19 +    g_message ("%s", win32_message);
20  };
21  
22  
This page took 0.039103 seconds and 4 git commands to generate.