freebsd-ports/devel/glib20/files/patch-gio_gthreadedresolver.c
Ashish SHUKLA 42b6030366 - Add fix for the GNOME glib upstream bug report 1697 which is breaking
net-im/gajim when starting up

PR:		235965
Approved by:	kwm (IRC)
2019-02-23 18:56:35 +00:00

12 lines
418 B
C

Upstream bug: https://gitlab.gnome.org/GNOME/glib/issues/1697
--- gio/gthreadedresolver.c.orig
+++ gio/gthreadedresolver.c
@@ -836,6 +836,7 @@
* worker thread. (Although the workers would get reused by the
* #GThreadPool.) */
struct __res_state res;
+ memset( &res, 0, sizeof( res ));
if (res_ninit (&res) != 0)
{
g_task_return_new_error (task, G_RESOLVER_ERROR, G_RESOLVER_ERROR_INTERNAL,