summaryrefslogtreecommitdiff
path: root/community/gphpedit/doc-fix.patch
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/gphpedit/doc-fix.patch
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/gphpedit/doc-fix.patch')
-rw-r--r--community/gphpedit/doc-fix.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/community/gphpedit/doc-fix.patch b/community/gphpedit/doc-fix.patch
new file mode 100644
index 000000000..42dae5f72
--- /dev/null
+++ b/community/gphpedit/doc-fix.patch
@@ -0,0 +1,20 @@
+--- gphpedit-0.9.91/src/tab.c.orig 2008-07-08 00:21:04.000000000 +0200
++++ gphpedit-0.9.91/src/tab.c 2008-07-08 00:20:50.000000000 +0200
+@@ -562,6 +562,17 @@
+ if (long_filename)
+ return long_filename;
+
++ // For ArchLinux - KISS ;)
++ long_filename = tab_help_try_filename("/usr/share/doc/php/html/function.", command, ".html");
++ if (long_filename)
++ return long_filename;
++ long_filename = tab_help_try_filename("/usr/share/doc/php/html/ref.", command, ".html");
++ if (long_filename)
++ return long_filename;
++ long_filename = tab_help_try_filename("/usr/share/doc/php/html/", command, NULL);
++ if (long_filename)
++ return long_filename;
++
+ // For Gentoo, as much as I love it - it's twatty to put docs in a version specific folder like this!
+ long_filename = tab_help_try_filename("/usr/doc/php-docs-200403/html/function.", command, ".html");
+ if (long_filename)