aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-02-21 13:29:04 +0800
committermarcus <marcus@FreeBSD.org>2003-02-21 13:29:04 +0800
commitf5f73ed4a367fa05410a782552026d4550c60eff (patch)
tree8ed1dadef0af33de5a185a807b2f8634c94d2e96
parent17cc246a4447d0c192fdc9cd18e1bf58e75fce08 (diff)
downloadfreebsd-ports-gnome-f5f73ed4a367fa05410a782552026d4550c60eff.tar.gz
freebsd-ports-gnome-f5f73ed4a367fa05410a782552026d4550c60eff.tar.zst
freebsd-ports-gnome-f5f73ed4a367fa05410a782552026d4550c60eff.zip
Fix a bug where Galeon would not launch helper apps after files were
downloaded.
-rw-r--r--www/galeon2/Makefile1
-rw-r--r--www/galeon2/files/patch-mozilla_ContentHandler.cpp27
2 files changed, 28 insertions, 0 deletions
diff --git a/www/galeon2/Makefile b/www/galeon2/Makefile
index aa04675b5066..ad357712ed3b 100644
--- a/www/galeon2/Makefile
+++ b/www/galeon2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= galeon2
PORTVERSION= 1.3.2
+PORTREVISION= 1
CATEGORIES= www gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:S/2$//}
diff --git a/www/galeon2/files/patch-mozilla_ContentHandler.cpp b/www/galeon2/files/patch-mozilla_ContentHandler.cpp
new file mode 100644
index 000000000000..f392add3efb6
--- /dev/null
+++ b/www/galeon2/files/patch-mozilla_ContentHandler.cpp
@@ -0,0 +1,27 @@
+--- mozilla/ContentHandler.cpp.orig Fri Feb 21 00:06:59 2003
++++ mozilla/ContentHandler.cpp Fri Feb 21 00:04:32 2003
+@@ -427,11 +427,11 @@
+
+ NS_METHOD GContentHandler::FindHelperApp (void)
+ {
+- if (mUrlHelper)
+- {
++// if (mUrlHelper)
++// {
+ return LaunchHelperApp ();
+- }
+- else
++// }
++/* else
+ {
+ if (NS_SUCCEEDED(SynchroniseMIMEInfo()))
+ {
+@@ -441,7 +441,7 @@
+ {
+ return NS_ERROR_FAILURE;
+ }
+- }
++ }*/
+ }
+
+ NS_METHOD GContentHandler::LaunchHelperApp (void)