From 4cc991094c56027f5659037d27772e2a247928b4 Mon Sep 17 00:00:00 2001 From: Peter Wagner Date: Sun, 8 Apr 2018 19:13:18 +0200 Subject: [PATCH] glib2: update to 2.56.1 Signed-off-by: Peter Wagner --- libs/glib2/Makefile | 4 ++-- libs/glib2/patches/002-fix-gthreadedresolver.patch | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libs/glib2/Makefile b/libs/glib2/Makefile index 9ec8c9d3c4..3f1d014482 100644 --- a/libs/glib2/Makefile +++ b/libs/glib2/Makefile @@ -8,13 +8,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=glib2 -PKG_VERSION:=2.56.0 +PKG_VERSION:=2.56.1 PKG_RELEASE:=1 PKG_SOURCE:=glib-$(PKG_VERSION).tar.xz PKG_BUILD_DIR:=$(BUILD_DIR)/glib-$(PKG_VERSION) PKG_SOURCE_URL:=@GNOME/glib/2.56 -PKG_HASH:=ecef6e17e97b8d9150d0e8a4b3edee1ac37331213b8a2a87a083deea408a0fc7 +PKG_HASH:=40ef3f44f2c651c7a31aedee44259809b6f03d3d20be44545cd7d177221c0b8d PKG_BUILD_PARALLEL:=1 HOST_BUILD_PARALLEL:=1 diff --git a/libs/glib2/patches/002-fix-gthreadedresolver.patch b/libs/glib2/patches/002-fix-gthreadedresolver.patch index cbe39281d0..62c526d514 100644 --- a/libs/glib2/patches/002-fix-gthreadedresolver.patch +++ b/libs/glib2/patches/002-fix-gthreadedresolver.patch @@ -1,17 +1,17 @@ --- a/gio/gthreadedresolver.c +++ b/gio/gthreadedresolver.c -@@ -869,6 +869,8 @@ do_lookup_records (GTask *task, - records = g_resolver_records_from_res_query (lrd->rrname, rrtype, answer->data, len, herr, &error); - g_byte_array_free (answer, TRUE); +@@ -871,6 +871,8 @@ do_lookup_records (GTask *task, + + #ifdef HAVE_RES_NQUERY +#ifdef HAVE_RES_NQUERY + #if defined(HAVE_RES_NDESTROY) res_ndestroy (&res); #elif defined(HAVE_RES_NCLOSE) -@@ -877,6 +879,8 @@ do_lookup_records (GTask *task, - #error "Your platform has res_ninit() but not res_nclose() or res_ndestroy(). Please file a bug at https://bugzilla.gnome.org/enter_bug.cgi?product=glib" - #endif +@@ -881,6 +883,8 @@ do_lookup_records (GTask *task, + + #endif /* HAVE_RES_NQUERY */ +#endif + -- 2.30.2