[patch] devel/glib20: fix crash in multimedia/vlc
Tijl Coosemans
tijl at FreeBSD.org
Sun Jun 1 16:28:27 UTC 2014
Hi,
The attached patch fixes these PRs for multimedia/vlc (all duplicates):
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/172185
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/183683
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/186629
The vlc-cache-gen program dlopens each plugin, looks for some symbols
(like a description string), stores that into a cache file and then
dlcloses the plugin. For some combinations of options this causes
libgobject to be loaded, unloaded and then loaded again (as a dependency
of some plugins). This is not supported. See:
https://bugzilla.gnome.org/show_bug.cgi?id=707298
https://git.gnome.org/browse/glib/commit/?h=glib-2-40&id=3662eb9759fe225d1c214db6927c667a1b733e8a
The attached patch has been derived from that commit. It adds
-Wl,-z,nodelete to the libgobject linker flags.
Ok to commit?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glib20.patch
Type: text/x-patch
Size: 1520 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20140601/5640114d/attachment.bin>
More information about the freebsd-gnome
mailing list