summaryrefslogtreecommitdiffstats
path: root/x11/libgnome/files/patch-help-converters::gnome-vfs-module::help-method.c
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-08-12 03:43:13 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-08-12 03:43:13 +0800
commitc8bdd2af4ec39357078b8728f49fbf2d366877e1 (patch)
tree2672623fc400c64c156505ec6a5cc6f3fc335598 /x11/libgnome/files/patch-help-converters::gnome-vfs-module::help-method.c
parent9170adca9345a4df74020888dc229c76eeb50860 (diff)
downloadmarcuscom-ports-c8bdd2af4ec39357078b8728f49fbf2d366877e1.tar
marcuscom-ports-c8bdd2af4ec39357078b8728f49fbf2d366877e1.tar.gz
marcuscom-ports-c8bdd2af4ec39357078b8728f49fbf2d366877e1.tar.bz2
marcuscom-ports-c8bdd2af4ec39357078b8728f49fbf2d366877e1.tar.lz
marcuscom-ports-c8bdd2af4ec39357078b8728f49fbf2d366877e1.tar.xz
marcuscom-ports-c8bdd2af4ec39357078b8728f49fbf2d366877e1.tar.zst
marcuscom-ports-c8bdd2af4ec39357078b8728f49fbf2d366877e1.zip
Update to 2.3.6.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1046 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/libgnome/files/patch-help-converters::gnome-vfs-module::help-method.c')
-rw-r--r--x11/libgnome/files/patch-help-converters::gnome-vfs-module::help-method.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/x11/libgnome/files/patch-help-converters::gnome-vfs-module::help-method.c b/x11/libgnome/files/patch-help-converters::gnome-vfs-module::help-method.c
deleted file mode 100644
index 6e3565d74..000000000
--- a/x11/libgnome/files/patch-help-converters::gnome-vfs-module::help-method.c
+++ /dev/null
@@ -1,38 +0,0 @@
-
-$FreeBSD: ports/x11/libgnome/files/patch-help-converters::gnome-vfs-module::help-method.c,v 1.2 2003/02/07 18:42:17 marcus Exp $
-
---- help-converters/gnome-vfs-module/help-method.c.orig Sat Jan 26 17:43:22 2002
-+++ help-converters/gnome-vfs-module/help-method.c Wed Feb 20 20:01:17 2002
-@@ -371,7 +371,7 @@
- else
- buf = g_strdup_printf ("gnome/help/%s/%s/%s", base_name, lang, old_uri);
-
-- new_uri = g_strdup_printf ("/usr/share/%s", buf);
-+ new_uri = g_strdup_printf (PREFIX "/share/%s", buf);
- /* gnome_unconditional_datadir_file (buf); */
- g_free (buf);
-
-@@ -394,7 +394,7 @@
-
- old_help = g_strdup_printf ("gnome/help/%s/%s/index.html", base_name, lang);
- new_uri_with_extension =
-- g_strdup_printf ("/usr/share/%s",
-+ g_strdup_printf (PREFIX "/share/%s",
- old_help);
-
- /* gnome_unconditional_datadir_file (old_help); */
-@@ -530,10 +530,10 @@
- int i;
-
- /* Check some hardcoded locations. */
-- if (strncmp (file, "/usr/info/", strlen ("/usr/info/")) == 0 ||
-- strncmp (file, "/usr/local/info/", strlen ("/usr/local/info/")) ||
-- strncmp (file, "/usr/gnome/info/", strlen ("/usr/gnome/info/")) ||
-- strncmp (file, "/usr/share/info/", strlen ("/usr/share/info/"))) {
-+ if (strncmp (file, "/usr/share/info/", strlen ("/usr/share/info/")) == 0 ||
-+ strncmp (file, LOCALBASE "/info/", strlen (LOCALBASE "/info/")) ||
-+ strncmp (file, X11BASE "/info/", strlen (X11BASE "/info/")) ||
-+ strncmp (file, PREFIX "/info/", strlen (PREFIX "/info/"))) {
- return TRUE;
- }
-