diff options
Diffstat (limited to 'x11/libgnome')
-rw-r--r-- | x11/libgnome/Makefile | 1 | ||||
-rw-r--r-- | x11/libgnome/files/patch-libgnome_gnome-program.c | 28 |
2 files changed, 27 insertions, 2 deletions
diff --git a/x11/libgnome/Makefile b/x11/libgnome/Makefile index c87cb41..cfd2b96 100644 --- a/x11/libgnome/Makefile +++ b/x11/libgnome/Makefile @@ -7,6 +7,7 @@ PORTNAME= libgnome PORTVERSION= 1.117.0 +PORTREVISION= 1 CATEGORIES?= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-beta5 diff --git a/x11/libgnome/files/patch-libgnome_gnome-program.c b/x11/libgnome/files/patch-libgnome_gnome-program.c index 4c3c6b3..eddd1f2 100644 --- a/x11/libgnome/files/patch-libgnome_gnome-program.c +++ b/x11/libgnome/files/patch-libgnome_gnome-program.c @@ -1,5 +1,5 @@ ---- libgnome/gnome-program.c.orig Fri May 17 20:18:53 2002 -+++ libgnome/gnome-program.c Fri May 17 20:19:50 2002 +--- libgnome/gnome-program.c.orig Fri Mar 22 11:02:45 2002 ++++ libgnome/gnome-program.c Mon May 20 18:28:24 2002 @@ -882,12 +882,12 @@ attr_rel = ""; break; @@ -15,6 +15,15 @@ attr_name = GNOME_PARAM_GNOME_DATADIR; attr_rel = "/pixmaps"; break; +@@ -899,7 +899,7 @@ + case GNOME_FILE_DOMAIN_HELP: + prefix_rel = "/share/gnome/help"; + attr_name = GNOME_PARAM_GNOME_DATADIR; +- attr_rel = "/gnome/help"; ++ attr_rel = "/help"; + break; + case GNOME_FILE_DOMAIN_APP_LIBDIR: + prefix_rel = "/lib"; @@ -914,13 +914,13 @@ search_path = FALSE; break; @@ -31,3 +40,18 @@ attr_name = GNOME_PARAM_APP_DATADIR; attr_rel = "/pixmaps"; search_path = FALSE; +@@ -941,12 +941,12 @@ + + attr_name = GNOME_PARAM_APP_DATADIR; + +- len = strlen ("/gnome/help/") + ++ len = strlen ("/help/") + + strlen (program->_priv->app_id) + 1; + attr_rel = g_alloca (len); + if (attr_rel == NULL /* bad things */) + return NULL; +- g_snprintf (attr_rel, len, "/gnome/help/%s", program->_priv->app_id); ++ g_snprintf (attr_rel, len, "/help/%s", program->_priv->app_id); + + search_path = FALSE; + break; |