diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-03-28 06:24:17 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-03-28 06:24:17 +0000 |
commit | 68bd69e702802b7891941b804cb410e70f33c183 (patch) | |
tree | 9a30d366f359972225819c178b9f374e41c1d187 /x11/gcursor | |
parent | BROKEN: Unfetchable (looks like a SIZE mismatch) (diff) |
Update to 0.04.
PR: 64824
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=105480
Diffstat (limited to 'x11/gcursor')
-rw-r--r-- | x11/gcursor/Makefile | 2 | ||||
-rw-r--r-- | x11/gcursor/distinfo | 4 | ||||
-rw-r--r-- | x11/gcursor/files/patch-src::gcursor.c | 34 |
3 files changed, 8 insertions, 32 deletions
diff --git a/x11/gcursor/Makefile b/x11/gcursor/Makefile index 34362ad2c677..6b5f76e50ddf 100644 --- a/x11/gcursor/Makefile +++ b/x11/gcursor/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gcursor -PORTVERSION= 0.03 +PORTVERSION= 0.04 CATEGORIES= x11 gnome MASTER_SITES= http://download.qballcow.nl/programs/gcursor/ diff --git a/x11/gcursor/distinfo b/x11/gcursor/distinfo index a567c00d374f..2eb56ddbb451 100644 --- a/x11/gcursor/distinfo +++ b/x11/gcursor/distinfo @@ -1,2 +1,2 @@ -MD5 (gcursor-0.03.tar.gz) = 7dc17e9c3e4389c5065db8903f8d0710 -SIZE (gcursor-0.03.tar.gz) = 40334 +MD5 (gcursor-0.04.tar.gz) = b0e92fb0f1f910d0a130ed9d02be0d12 +SIZE (gcursor-0.04.tar.gz) = 78100 diff --git a/x11/gcursor/files/patch-src::gcursor.c b/x11/gcursor/files/patch-src::gcursor.c index 2151097401fb..39d9e8cfe601 100644 --- a/x11/gcursor/files/patch-src::gcursor.c +++ b/x11/gcursor/files/patch-src::gcursor.c @@ -1,6 +1,6 @@ ---- src/gcursor.c.orig Tue Feb 24 04:49:10 2004 -+++ src/gcursor.c Tue Mar 23 23:30:06 2004 -@@ -15,7 +15,7 @@ +--- src/gcursor.c.orig Fri Mar 26 17:51:58 2004 ++++ src/gcursor.c Fri Mar 26 17:55:16 2004 +@@ -16,7 +16,7 @@ GConfClient *client; XcursorImage * cursor = NULL; char*current_theme = NULL; @@ -9,38 +9,14 @@ typedef struct { XcursorImages *image; -@@ -25,9 +25,7 @@ +@@ -26,9 +26,7 @@ animation_struct animations[4]; char *paths[4] = { - "/usr/share/cursors/xfree/", - "/usr/local/share/icons/", - "/usr/share/icons/", -+ "/usr/X11R6/lib/X11/icons/", ++ "%%X11BASE%%/lib/X11/icons/", "%s/.icons/" }; -@@ -177,8 +175,9 @@ - /* where gnome 2.5(.5) uses a gconf key */ - #ifdef GNOME_VERSION_2_4 - char *filepath; -+ FILE *fp; - filepath = g_strdup_printf("%s/.icons/default/index.theme", g_getenv("HOME")); -- FILE *fp = fopen(filepath, "w"); -+ fp = fopen(filepath, "w"); - if(fp != NULL) - { - fprintf(fp, "[Icon Theme]\nInherits=%s\n", name); -@@ -251,9 +250,10 @@ - int i = path_index; - while(i > 0) - { -- dirname = g_strdup_printf(paths[i-1], g_getenv("HOME")); -- GDir *directory = g_dir_open(dirname, 0, NULL); -+ GDir *directory; - const gchar *name = NULL; -+ dirname = g_strdup_printf(paths[i-1], g_getenv("HOME")); -+ directory = g_dir_open(dirname, 0, NULL); - while(directory != NULL && (name = g_dir_read_name(directory)) != NULL) - { - GdkPixbuf *pixbuf; |