diff options
author | marcus <marcus@FreeBSD.org> | 2003-04-16 22:18:35 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-04-16 22:18:35 +0800 |
commit | 35f89daf8972b69c6985d092635529bd25bee161 (patch) | |
tree | 95b99666e92a980c80de9ec63ad91143ca807c7e | |
parent | 5e0af09756dbe7d71f8b1dada9f73d6fee14b12d (diff) | |
download | freebsd-ports-gnome-35f89daf8972b69c6985d092635529bd25bee161.tar.gz freebsd-ports-gnome-35f89daf8972b69c6985d092635529bd25bee161.tar.zst freebsd-ports-gnome-35f89daf8972b69c6985d092635529bd25bee161.zip |
Looks like there was a regression in libbonoboui such that it ignores
the invoking application's datadir in favor of a hacked datadir.
-rw-r--r-- | x11-toolkits/libbonoboui/Makefile | 1 | ||||
-rw-r--r-- | x11-toolkits/libbonoboui/files/patch-bonobo_bonobo-ui-util.c | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/x11-toolkits/libbonoboui/Makefile b/x11-toolkits/libbonoboui/Makefile index 6f796d479de6..944af652ecba 100644 --- a/x11-toolkits/libbonoboui/Makefile +++ b/x11-toolkits/libbonoboui/Makefile @@ -7,6 +7,7 @@ PORTNAME= libbonoboui PORTVERSION= 2.2.0.1 +PORTREVISION= 1 CATEGORIES= x11-toolkits gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.2 diff --git a/x11-toolkits/libbonoboui/files/patch-bonobo_bonobo-ui-util.c b/x11-toolkits/libbonoboui/files/patch-bonobo_bonobo-ui-util.c new file mode 100644 index 000000000000..9de4105683d6 --- /dev/null +++ b/x11-toolkits/libbonoboui/files/patch-bonobo_bonobo-ui-util.c @@ -0,0 +1,21 @@ +--- bonobo/bonobo-ui-util.c.orig Fri Feb 28 10:40:12 2003 ++++ bonobo/bonobo-ui-util.c Wed Apr 16 10:13:23 2003 +@@ -558,14 +558,11 @@ + else + prefix = NULL; + +- if (prefix) ++ datadir = NULL; ++ g_object_get (G_OBJECT (gnome_program_get ()), ++ GNOME_PARAM_APP_DATADIR, &datadir, NULL); ++ if (!datadir && prefix) + datadir = g_strdup_printf ("%s/share", prefix); +- +- else { +- datadir = NULL; +- g_object_get (G_OBJECT (gnome_program_get ()), +- GNOME_PARAM_APP_DATADIR, &datadir, NULL); +- } + + if (!datadir) /* desparate fallback */ + datadir = g_strdup (BONOBO_DATADIR); |