]> git.pld-linux.org Git - packages/crossmingw32-glib2.git/commitdiff
- one more mingw32 compat fix; release 2 auto/th/crossmingw32-glib2-2.58.3-2
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 31 Jan 2019 17:06:22 +0000 (18:06 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 31 Jan 2019 17:06:22 +0000 (18:06 +0100)
crossmingw32-glib2.spec
glib2-win32.patch

index ba69c342acf6dca8453608bc1b8cb8c35ed20b76..b438181aace312b98a2d3b4e9d5d60a55e12e3c6 100644 (file)
@@ -13,7 +13,7 @@ Summary(zh_CN.UTF-8): 实用工具函数库
 %define                realname   glib
 Name:          crossmingw32-glib2
 Version:       2.58.3
-Release:       1
+Release:       2
 License:       LGPL v2+
 Group:         Development/Libraries
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/glib/2.58/glib-%{version}.tar.xz
index 6912d5fb58ecdf7c94f2b100d396d63d9b8932b8..09d277931554b5ace4689e62cd1332b73b5073b7 100644 (file)
  #include <iphlpapi.h>
  #include <stdio.h>
  
+--- glib-2.58.3/glib/gutils.h.orig     2019-01-21 14:38:50.000000000 +0100
++++ glib-2.58.3/glib/gutils.h  2019-01-31 18:01:41.630885345 +0100
+@@ -214,7 +214,7 @@
+  * wants the function to be called when it *itself* exits (or is
+  * detached, in case the caller, too, is a DLL).
+  */
+-#if (defined(__MINGW_H) && !defined(_STDLIB_H_)) || (defined(_MSC_VER) && !defined(_INC_STDLIB))
++#if (defined(__MINGW_H) && !defined(_STDLIB_H_) && !defined(_STDLIB_H)) || (defined(_MSC_VER) && !defined(_INC_STDLIB))
+ int atexit (void (*)(void));
+ #endif
+ #define g_atexit(func) atexit(func)
This page took 0.118118 seconds and 4 git commands to generate.