Date: Tue, 17 Jul 2007 22:36:37 GMT From: Mark Hobden <markhobden@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/114678: [patch] misc/kde-xdg-env causes Firefox / Thuderbird to dump core in Save As dialog Message-ID: <200707172236.l6HMabhA047947@www.freebsd.org> Resent-Message-ID: <200707172240.l6HMe19T027911@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 114678 >Category: ports >Synopsis: [patch] misc/kde-xdg-env causes Firefox / Thuderbird to dump core in Save As dialog >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 17 22:40:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Mark Hobden >Release: 7-CURRENT >Organization: >Environment: FreeBSD marklaptop.mclgm.net 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Tue Jul 17 11:27:09 BST 2007 mark@marklaptop.mclgm.net:/usr/obj/usr/src/sys/M3H i386 >Description: The last commit to this port fixed a bug where according to the commit message a duplicate a path element in XDG_DATA_DIRS triggered memory corruption in the xdgmime code used by GTK+ and gnome-vfs which led to strange crashes in GTK+ applications such as Firefox and Thunderbird. When /usr/X11R6 merged into /usr/local %%LOCALBASE%%/etc/xdg and %%X11BASE%%/etc/xdg started to point to the same place and causes the same problems as before. >How-To-Repeat: Start Firefox or Thunderbird from a KDE session and try to save/attach >1 files. >Fix: Apply the attached patch. Patch attached with submission follows: diff -ur kde-xdg-env.orig/Makefile kde-xdg-env/Makefile --- kde-xdg-env.orig/Makefile 2006-12-13 16:47:28.000000000 +0000 +++ kde-xdg-env/Makefile 2007-07-14 12:34:32.242102906 +0100 @@ -7,7 +7,7 @@ PORTNAME= xdg PORTVERSION= 1.0 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= misc kde MASTER_SITES= # none diff -ur kde-xdg-env.orig/files/xdg-env.sh.in kde-xdg-env/files/xdg-env.sh.in --- kde-xdg-env.orig/files/xdg-env.sh.in 2006-12-13 16:47:28.000000000 +0000 +++ kde-xdg-env/files/xdg-env.sh.in 2007-07-02 00:11:13.000000000 +0100 @@ -5,8 +5,7 @@ # Submit missing XDG-file locations to kde@freebsd.org! XDG_CONFIG_DIRS=\ -${XDG_CONFIG_DIRS}:/etc/xdg:%%LOCALBASE%%/etc/xdg:%%X11BASE%%/etc/xdg:\ -%%LOCALBASE%%/etc/xdg/xfce4 +${XDG_CONFIG_DIRS}:/etc/xdg:%%LOCALBASE%%/etc/xdg:%%LOCALBASE%%/etc/xdg/xfce4 if [ %%KDE_PREFIX%% != %%LOCALBASE%% ]; then XDG_CONFIG_DIRS=${XDG_CONFIG_DIRS}:%%KDE_PREFIX%%/etc/xdg @@ -15,8 +14,7 @@ export XDG_CONFIG_DIRS XDG_DATA_DIRS=\ -${XDG_DATA_DIRS}:/usr/share:%%LOCALBASE%%/share:%%LOCALBASE%%/share/gnome:\ -%%X11BASE%%/share:%%X11BASE%%/share/gnome +${XDG_DATA_DIRS}:/usr/share:%%LOCALBASE%%/share:%%LOCALBASE%%/share/gnome if [ %%KDE_PREFIX%% != %%LOCALBASE%% ]; then XDG_DATA_DIRS=${XDG_DATA_DIRS}:%%KDE_PREFIX%%/share >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707172236.l6HMabhA047947>