aboutsummaryrefslogtreecommitdiff
path: root/www/galeon/files
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-04-27 17:32:31 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-04-27 17:32:31 +0000
commitca6aaac61d9a32c10358cd1ce063b54b50e9fe27 (patch)
treeeb55c306d5097f0ef07c1d1f387a5c814d8f60dd /www/galeon/files
parent2a1338628772f9173b532ca3ae1baa0642baa48c (diff)
downloadports-ca6aaac61d9a32c10358cd1ce063b54b50e9fe27.tar.gz
ports-ca6aaac61d9a32c10358cd1ce063b54b50e9fe27.zip
Notes
Diffstat (limited to 'www/galeon/files')
-rw-r--r--www/galeon/files/patch-src_main.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/www/galeon/files/patch-src_main.c b/www/galeon/files/patch-src_main.c
new file mode 100644
index 000000000000..584e80953a4e
--- /dev/null
+++ b/www/galeon/files/patch-src_main.c
@@ -0,0 +1,16 @@
+--- src/main.c.orig Fri Apr 26 14:29:08 2002
++++ src/main.c Fri Apr 26 14:52:43 2002
+@@ -394,7 +394,12 @@
+ for (i = 0; i < n; i++)
+ {
+ /* try to expand as files */
+- if (realpath (args[i], buffer) != NULL)
++ if (!strnstr(args[i], "ghelp:", strlen("ghelp:")) &&
++ !strnstr(args[i], "toc:", strlen("toc:")) &&
++ !strnstr(args[i], "info:", strlen("info:")) &&
++ !strnstr(args[i], "main:", strlen("man:")) &&
++ !strnstr(args[i], "gnome-help:", strlen("gnome-help")) &&
++ realpath (args[i], buffer) != NULL)
+ {
+ (*urls)[i] = g_strconcat ("file://", buffer, NULL);
+ }