diff options
author | marcus <marcus@FreeBSD.org> | 2002-04-28 01:32:31 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-04-28 01:32:31 +0800 |
commit | 919cc62d05517c3222f92e64532d0c157c3306cb (patch) | |
tree | b3d3959f130ce0fbf1ea2692e4fc84a4bd99ec77 /www/galeon2/files | |
parent | 663f9db4511f885d2deb11811e35386f68f55c14 (diff) | |
download | freebsd-ports-gnome-919cc62d05517c3222f92e64532d0c157c3306cb.tar.gz freebsd-ports-gnome-919cc62d05517c3222f92e64532d0c157c3306cb.tar.zst freebsd-ports-gnome-919cc62d05517c3222f92e64532d0c157c3306cb.zip |
Allow Galeon to properly act as a viewer for GNOME help URLs. Bump
PORTREVISION.
Prompted by: User Witr <witr@rwwa.com>
Reviewed by: sobomax
Approved by: sobomax
Diffstat (limited to 'www/galeon2/files')
-rw-r--r-- | www/galeon2/files/patch-src_main.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/www/galeon2/files/patch-src_main.c b/www/galeon2/files/patch-src_main.c new file mode 100644 index 000000000000..584e80953a4e --- /dev/null +++ b/www/galeon2/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); + } |