summaryrefslogtreecommitdiffstats
path: root/debian/patches/fixes/Properly-launch-applications-set-in-HOME-.mailcap.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:45:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:45:40 +0000
commitb9a2bf7b2ccc8190d38e44db120a92ca46c9fd1e (patch)
tree3cbe7aab712cf5a385e4aa0446b3766b7a17617f /debian/patches/fixes/Properly-launch-applications-set-in-HOME-.mailcap.patch
parentAdding upstream version 1:115.7.0. (diff)
downloadthunderbird-b9a2bf7b2ccc8190d38e44db120a92ca46c9fd1e.tar.xz
thunderbird-b9a2bf7b2ccc8190d38e44db120a92ca46c9fd1e.zip
Adding debian version 1:115.7.0-1.debian/1%115.7.0-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/fixes/Properly-launch-applications-set-in-HOME-.mailcap.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/fixes/Properly-launch-applications-set-in-HOME-.mailcap.patch b/debian/patches/fixes/Properly-launch-applications-set-in-HOME-.mailcap.patch
new file mode 100644
index 0000000000..0b05f7adc9
--- /dev/null
+++ b/debian/patches/fixes/Properly-launch-applications-set-in-HOME-.mailcap.patch
@@ -0,0 +1,24 @@
+From: Mike Hommey <glandium@debian.org>
+Date: Sat, 22 Nov 2008 09:35:23 +0100
+Subject: Properly launch applications set in $HOME/.mailcap
+
+https://bugzilla.mozilla.org/show_bug.cgi?id=444440
+---
+ uriloader/exthandler/unix/nsMIMEInfoUnix.cpp | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp b/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp
+index 330c441..ff9d78b 100644
+--- a/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp
++++ b/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp
+@@ -57,6 +57,10 @@ nsresult nsMIMEInfoUnix::LaunchDefaultWithFile(nsIFile* aFile) {
+ }
+
+ nsAutoCString nativePath;
++/* the name of the function has changed
++ * the old was the following:
++ nsCAutoString nativePath;
++ */
+ aFile->GetNativePath(nativePath);
+
+ nsCOMPtr<nsIGIOService> giovfs = do_GetService(NS_GIOSERVICE_CONTRACTID);