diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-09-21 00:17:11 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-09-21 00:17:11 +0800 |
commit | fa4d4bf8606d30516c07bd08e4bc494bfd7c2c9d (patch) | |
tree | 9d825de6918b2d46372e7928adb21fd3d6d4b41e /sysutils/gnome-control-center | |
parent | a2b49fab6c35874c47dadae1d3a2a68f4ef86b3d (diff) | |
download | marcuscom-ports-fa4d4bf8606d30516c07bd08e4bc494bfd7c2c9d.tar.gz marcuscom-ports-fa4d4bf8606d30516c07bd08e4bc494bfd7c2c9d.tar.zst marcuscom-ports-fa4d4bf8606d30516c07bd08e4bc494bfd7c2c9d.zip |
Fix detection of the built-in cursor themes.
Reported by: mezz
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9691 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/gnome-control-center')
-rw-r--r-- | sysutils/gnome-control-center/Makefile | 3 | ||||
-rw-r--r-- | sysutils/gnome-control-center/files/patch-capplets_common_gnome-theme-info.c | 11 |
2 files changed, 13 insertions, 1 deletions
diff --git a/sysutils/gnome-control-center/Makefile b/sysutils/gnome-control-center/Makefile index 4566bab84..6d41191a6 100644 --- a/sysutils/gnome-control-center/Makefile +++ b/sysutils/gnome-control-center/Makefile @@ -3,11 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/sysutils/gnome-control-center/Makefile,v 1.152 2007/09/04 21:54:52 mezz Exp $ +# $MCom: ports/sysutils/gnome-control-center/Makefile,v 1.153 2007/09/17 16:16:24 ahze Exp $ # PORTNAME= gnome-control-center PORTVERSION= 2.20.0 +PORTREVISION= 1 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/sysutils/gnome-control-center/files/patch-capplets_common_gnome-theme-info.c b/sysutils/gnome-control-center/files/patch-capplets_common_gnome-theme-info.c new file mode 100644 index 000000000..d278a7ea6 --- /dev/null +++ b/sysutils/gnome-control-center/files/patch-capplets_common_gnome-theme-info.c @@ -0,0 +1,11 @@ +--- capplets/common/gnome-theme-info.c.orig 2007-09-20 12:12:10.000000000 -0400 ++++ capplets/common/gnome-theme-info.c 2007-09-20 12:13:50.000000000 -0400 +@@ -1845,7 +1845,7 @@ read_cursor_fonts (void) + theme_info->thumbnail = gdk_pixbuf_new_from_file (filename, NULL); + g_free (filename); + +- theme_info->name = g_build_filename (GNOMECC_DATA_DIR, builtins[i][0], NULL); ++ theme_info->name = g_build_filename (INSTALL_PREFIX, "share", builtins[i][0], NULL); + theme_info->path = g_strdup (theme_info->name); + + if (!strcmp (theme_info->path, cursor_font)) |