summaryrefslogtreecommitdiffstats
path: root/editors/gphpedit/files/patch-src::tab.c
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-24 12:51:50 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-24 12:51:50 +0800
commit03ad249fa1d9294261092e4152db4975b6ddcd9d (patch)
tree35b46083ed1e063b989b8a559485cbb419eb6f76 /editors/gphpedit/files/patch-src::tab.c
parent02f6f5857ebefb11898bf4ba6d8afef1c8d78bb0 (diff)
downloadmarcuscom-ports-03ad249fa1d9294261092e4152db4975b6ddcd9d.tar
marcuscom-ports-03ad249fa1d9294261092e4152db4975b6ddcd9d.tar.gz
marcuscom-ports-03ad249fa1d9294261092e4152db4975b6ddcd9d.tar.bz2
marcuscom-ports-03ad249fa1d9294261092e4152db4975b6ddcd9d.tar.lz
marcuscom-ports-03ad249fa1d9294261092e4152db4975b6ddcd9d.tar.xz
marcuscom-ports-03ad249fa1d9294261092e4152db4975b6ddcd9d.tar.zst
marcuscom-ports-03ad249fa1d9294261092e4152db4975b6ddcd9d.zip
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9245 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'editors/gphpedit/files/patch-src::tab.c')
-rw-r--r--editors/gphpedit/files/patch-src::tab.c84
1 files changed, 84 insertions, 0 deletions
diff --git a/editors/gphpedit/files/patch-src::tab.c b/editors/gphpedit/files/patch-src::tab.c
new file mode 100644
index 000000000..bffe25878
--- /dev/null
+++ b/editors/gphpedit/files/patch-src::tab.c
@@ -0,0 +1,84 @@
+--- src/tab.c.orig Sun Oct 16 13:24:52 2005
++++ src/tab.c Sun Dec 25 09:48:30 2005
+@@ -520,56 +520,66 @@
+ {
+ GString *long_filename = NULL;
+
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-en/function.", command, ".html");
++ if (long_filename)
++ return long_filename;
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-en/ref.", command, ".html");
++ if (long_filename)
++ return long_filename;
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-en/", command, NULL);
++ if (long_filename)
++ return long_filename;
++
+ // For Redhat/Fedora Core and other sensible distrubutions...
+- long_filename = tab_help_try_filename("/usr/share/doc/phpmanual/function.", command, ".html");
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/phpmanual/function.", command, ".html");
+ if (long_filename)
+ return long_filename;
+- long_filename = tab_help_try_filename("/usr/share/doc/phpmanual/ref.", command, ".html");
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/phpmanual/ref.", command, ".html");
+ if (long_filename)
+ return long_filename;
+- long_filename = tab_help_try_filename("/usr/share/doc/phpmanual/", command, NULL);
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/phpmanual/", command, NULL);
+ if (long_filename)
+ return long_filename;
+
+ // For Debian, Ubuntu and sensible distrubutions...
+- long_filename = tab_help_try_filename("/usr/share/doc/phpdoc/html/function.", command, ".html");
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/phpdoc/html/function.", command, ".html");
+ if (long_filename)
+ return long_filename;
+- long_filename = tab_help_try_filename("/usr/share/doc/phpdoc/html/ref.", command, ".html");
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/phpdoc/html/ref.", command, ".html");
+ if (long_filename)
+ return long_filename;
+- long_filename = tab_help_try_filename("/usr/share/doc/phpdoc/html/", command, NULL);
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/phpdoc/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");
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/doc/php-docs-200403/html/function.", command, ".html");
+ if (long_filename)
+ return long_filename;
+- long_filename = tab_help_try_filename("/usr/doc/php-docs-200403/html/ref.", command, ".html");
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/doc/php-docs-200403/html/ref.", command, ".html");
+ if (long_filename)
+ return long_filename;
+- long_filename = tab_help_try_filename("/usr/doc/php-docs-200403/html/", command, NULL);
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/doc/php-docs-200403/html/", command, NULL);
+ if (long_filename)
+ return long_filename;
+
+- long_filename = tab_help_try_filename("/usr/share/doc/php-docs-20050822/html/function.", command, ".html");
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-docs-20050822/html/function.", command, ".html");
+ if (long_filename)
+ return long_filename;
+- long_filename = tab_help_try_filename("/usr/share/doc/php-docs-20050822/html/ref.", command, ".html");
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-docs-20050822/html/ref.", command, ".html");
+ if (long_filename)
+ return long_filename;
+- long_filename = tab_help_try_filename("/usr/share/doc/php-docs-20050822/html/", command, NULL);
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-docs-20050822/html/", command, NULL);
+ if (long_filename)
+ return long_filename;
+
+- long_filename = tab_help_try_filename("/usr/doc/php-docs-4.2.3/html/function.", command, ".html");
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/doc/php-docs-4.2.3/html/function.", command, ".html");
+ if (long_filename)
+ return long_filename;
+- long_filename = tab_help_try_filename("/usr/doc/php-docs-4.2.3/html/ref.", command, ".html");
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/doc/php-docs-4.2.3/html/ref.", command, ".html");
+ if (long_filename)
+ return long_filename;
+- long_filename = tab_help_try_filename("/usr/doc/php-docs-4.2.3/html/", command, NULL);
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/doc/php-docs-4.2.3/html/", command, NULL);
+ if (long_filename)
+ return long_filename;
+