Bug 235965

Summary: devel/glib20: gthreadedresolver broken on FreeBSD 12 (at least) which breaks Gajim
Product: Ports & Packages Reporter: Ashish SHUKLA <ashish>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me CC: ashish, kwm
Priority: --- Flags: kwm: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://gitlab.gnome.org/GNOME/glib/issues/1697
Attachments:
Description Flags
Fix
none
Updated diff with Upstream bug URL none

Description Ashish SHUKLA freebsd_committer freebsd_triage 2019-02-23 17:51:26 UTC
Created attachment 202294 [details]
Fix

Gajim segfaults on FreeBSD 12, which I have traced to devel/glib20 port invoking res_ninit() with an uninitialized state pointer. I've submitted a bug with upstream: https://gitlab.gnome.org/GNOME/glib/issues/1697.
Comment 1 Ashish SHUKLA freebsd_committer freebsd_triage 2019-02-23 17:53:56 UTC
Sorry for some reason, I toggled maintainer-feedback flag :(
Comment 2 Koop Mast freebsd_committer freebsd_triage 2019-02-23 18:44:07 UTC
Could you add the upstream bug url on top of the patch? So it is easier to keep track of upstream progress?
Comment 3 Ashish SHUKLA freebsd_committer freebsd_triage 2019-02-23 18:48:29 UTC
Created attachment 202295 [details]
Updated diff with Upstream bug URL

Added now.
Comment 4 commit-hook freebsd_committer freebsd_triage 2019-02-23 18:57:32 UTC
A commit references this bug:

Author: ashish
Date: Sat Feb 23 18:56:36 UTC 2019
New revision: 493725
URL: https://svnweb.freebsd.org/changeset/ports/493725

Log:
  - 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)

Changes:
  head/devel/glib20/Makefile
  head/devel/glib20/files/patch-gio_gthreadedresolver.c
Comment 5 Ashish SHUKLA freebsd_committer freebsd_triage 2019-02-23 18:59:04 UTC
Thanks for approval. Committed.