Skip to content

Commit

Permalink
devel/glib20: sync with upstream
Browse files Browse the repository at this point in the history
Taken from: HardenedBSD
  • Loading branch information
fichtner committed Feb 24, 2019
1 parent b77fb72 commit 5a82569
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion devel/glib20/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

PORTNAME= glib
PORTVERSION= 2.56.3
PORTREVISION= 2
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= GNOME
Expand Down
12 changes: 12 additions & 0 deletions devel/glib20/files/patch-gio_gthreadedresolver.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
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,

0 comments on commit 5a82569

Please sign in to comment.