summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authormycroft <mycroft>2000-11-30 05:53:50 +0000
committermycroft <mycroft>2000-11-30 05:53:50 +0000
commitb3d1a99e5ae65e5fbf61126e32ef8d3c1ac83b06 (patch)
treec2deaa5d60315a48c535b248e94b9018f1328ccb /misc
parentdeb72b933d4ec98ce9f5c8f3c0f4aebbd95b2961 (diff)
downloadpkgsrc-b3d1a99e5ae65e5fbf61126e32ef8d3c1ac83b06.tar.gz
Fix gcolorsel crash when lowering the tolerance the list becomes empty.
Diffstat (limited to 'misc')
-rw-r--r--misc/gnome-utils/files/patch-sum3
-rw-r--r--misc/gnome-utils/patches/patch-ag14
2 files changed, 16 insertions, 1 deletions
diff --git a/misc/gnome-utils/files/patch-sum b/misc/gnome-utils/files/patch-sum
index d01c87bd98f..531917d0870 100644
--- a/misc/gnome-utils/files/patch-sum
+++ b/misc/gnome-utils/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.6 2000/11/30 05:16:56 mycroft Exp $
+$NetBSD: patch-sum,v 1.7 2000/11/30 05:53:50 mycroft Exp $
MD5 (patch-aa) = bfa1d85780d82c9cd7bc756fbc5c061d
MD5 (patch-ab) = 98f0a2dd5b3b9a773c324cadcce64b8b
@@ -6,3 +6,4 @@ MD5 (patch-ac) = 9b70bff4f0db954965deb7804e86076c
MD5 (patch-ad) = c86d8550effe1b66182f0793443bfe4b
MD5 (patch-ae) = 91bd72e2f686a2dda5c0d2c7de4b4b3b
MD5 (patch-af) = f143c4c8bc7b0aefdcb84b49c22278f5
+MD5 (patch-ag) = cd0cc5eaae30fb9061f4a6ff858e2f97
diff --git a/misc/gnome-utils/patches/patch-ag b/misc/gnome-utils/patches/patch-ag
new file mode 100644
index 00000000000..8a7459561cf
--- /dev/null
+++ b/misc/gnome-utils/patches/patch-ag
@@ -0,0 +1,14 @@
+$NetBSD: patch-ag,v 1.1 2000/11/30 05:53:50 mycroft Exp $
+
+--- mini-utils/gcolorsel/mdi-color-generic.c.orig Thu May 11 01:12:48 2000
++++ mini-utils/gcolorsel/mdi-color-generic.c Thu Nov 30 05:51:12 2000
+@@ -565,6 +565,9 @@
+ next = g_list_next (next);
+ }
+
++ if (mcg->last == 0)
++ mdi_color_generic_post_change (mcg, col, CHANGE_CLEAR);
++
+ gtk_object_unref (GTK_OBJECT (col));
+
+ mcg->last--;