[packages/crossmingw32-glib2] - updated to 2.52.3 - updated win32 patch (part obsolete)

qboosh qboosh at pld-linux.org
Fri Jun 23 17:54:21 CEST 2017


commit e5287acabc6a104b7fc69fc634c1703479fa88ac
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Jun 23 17:55:44 2017 +0200

    - updated to 2.52.3
    - updated win32 patch (part obsolete)

 crossmingw32-glib2.spec |  4 ++--
 glib2-win32.patch       | 24 ------------------------
 2 files changed, 2 insertions(+), 26 deletions(-)
---
diff --git a/crossmingw32-glib2.spec b/crossmingw32-glib2.spec
index 09d492e..845e288 100644
--- a/crossmingw32-glib2.spec
+++ b/crossmingw32-glib2.spec
@@ -12,12 +12,12 @@ Summary(tr.UTF-8):	Yararlı ufak yordamlar kitaplığı
 Summary(zh_CN.UTF-8):	实用工具函数库
 %define		realname   glib
 Name:		crossmingw32-glib2
-Version:	2.52.1
+Version:	2.52.3
 Release:	1
 License:	LGPL v2+
 Group:		Development/Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/glib/2.52/glib-%{version}.tar.xz
-# Source0-md5:	36b4c7bf4f2b398ac8ad90578d05c950
+# Source0-md5:	89265d0289a436e99cad54491eb21ef4
 Patch0:		glib2-win32.patch
 URL:		http://www.gtk.org/
 BuildRequires:	autoconf >= 2.62
diff --git a/glib2-win32.patch b/glib2-win32.patch
index dea9ef9..5472d5b 100644
--- a/glib2-win32.patch
+++ b/glib2-win32.patch
@@ -87,27 +87,3 @@
  
  #include "glib.h"
  #include "gthreadprivate.h"
---- glib-2.52.1/glib/gfileutils.c.orig	2017-04-08 07:47:34.000000000 +0200
-+++ glib-2.52.1/glib/gfileutils.c	2017-04-10 21:52:01.204735832 +0200
-@@ -317,6 +317,11 @@
- g_file_test (const gchar *filename,
-              GFileTest    test)
- {
-+#ifdef G_OS_WIN32
-+  int attributes;
-+  wchar_t *wfilename;
-+#endif
-+
-   g_return_val_if_fail (filename != NULL, FALSE);
- 
- #ifdef G_OS_WIN32
-@@ -327,8 +332,7 @@
- #  ifndef FILE_ATTRIBUTE_DEVICE
- #    define FILE_ATTRIBUTE_DEVICE 64
- #  endif
--  int attributes;
--  wchar_t *wfilename = g_utf8_to_utf16 (filename, -1, NULL, NULL, NULL);
-+  wfilename = g_utf8_to_utf16 (filename, -1, NULL, NULL, NULL);
- 
-   if (wfilename == NULL)
-     return FALSE;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-glib2.git/commitdiff/e5287acabc6a104b7fc69fc634c1703479fa88ac



More information about the pld-cvs-commit mailing list