aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gnome-control-center1
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2000-12-01 02:13:34 +0800
committerade <ade@FreeBSD.org>2000-12-01 02:13:34 +0800
commit795a8110e3d03e7b3d4a550ba839c9302cac8a56 (patch)
tree748f2bb9ee09f46ad3613df13a2d0f2aa776eadd /sysutils/gnome-control-center1
parentfcda7de786e3d1ee1b5bc662ed70ea564576c306 (diff)
downloadfreebsd-ports-gnome-795a8110e3d03e7b3d4a550ba839c9302cac8a56.tar.gz
freebsd-ports-gnome-795a8110e3d03e7b3d4a550ba839c9302cac8a56.tar.zst
freebsd-ports-gnome-795a8110e3d03e7b3d4a550ba839c9302cac8a56.zip
Fix gtk theme switcher applet - http://bugs.gnome.org/db/26/26809.html
PR: 23139 Submitted by: Anand Ranganathan <anand@desktop.com>
Diffstat (limited to 'sysutils/gnome-control-center1')
-rw-r--r--sysutils/gnome-control-center1/Makefile1
-rw-r--r--sysutils/gnome-control-center1/files/patch-cf12
2 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/gnome-control-center1/Makefile b/sysutils/gnome-control-center1/Makefile
index ba6ab1c4d6b6..0dbeaa460f2d 100644
--- a/sysutils/gnome-control-center1/Makefile
+++ b/sysutils/gnome-control-center1/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnomecontrolcenter
PORTVERSION= 1.2.2
+PORTREVISION= 1
CATEGORIES= sysutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/control-center
diff --git a/sysutils/gnome-control-center1/files/patch-cf b/sysutils/gnome-control-center1/files/patch-cf
new file mode 100644
index 000000000000..7235390496ef
--- /dev/null
+++ b/sysutils/gnome-control-center1/files/patch-cf
@@ -0,0 +1,12 @@
+--- capplets/theme-switcher/lister.c.orig Mon Nov 27 11:39:55 2000
++++ capplets/theme-switcher/lister.c Mon Nov 27 11:18:25 2000
+@@ -160,6 +160,8 @@
+ while (!feof (fin))
+ {
+ getline (&lineptr, &linecount, fin);
++ if (feof(fin))
++ break;
+ if (ferror(fin))
+ {
+ errstring = g_strdup_printf ("Error reading from RC file %s: %s",
+