summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authormycroft <mycroft@pkgsrc.org>2000-11-11 02:23:51 +0000
committermycroft <mycroft@pkgsrc.org>2000-11-11 02:23:51 +0000
commited0b34754947891a8947f8442754f578f1fb0505 (patch)
tree621d11ac48b279a9844e651f63efec301d781264 /x11
parent208afaebf02d80fc762d90fdf6e616fa3e65cd32 (diff)
downloadpkgsrc-ed0b34754947891a8947f8442754f578f1fb0505.tar.gz
Don't core dump when trying to launch something with no Type attribute (e.g.
a window manager from wm-properties-capplet).
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-libs/files/patch-sum3
-rw-r--r--x11/gnome-libs/patches/patch-ar13
2 files changed, 15 insertions, 1 deletions
diff --git a/x11/gnome-libs/files/patch-sum b/x11/gnome-libs/files/patch-sum
index 7c02ef639e5..142d871ec33 100644
--- a/x11/gnome-libs/files/patch-sum
+++ b/x11/gnome-libs/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.17 2000/11/11 02:07:57 mycroft Exp $
+$NetBSD: patch-sum,v 1.18 2000/11/11 02:23:51 mycroft Exp $
MD5 (patch-aa) = 304237d9a4a0fbfadd79537c0f67926e
MD5 (patch-ac) = 503fba99ca4f3eb7273a438068694436
@@ -12,3 +12,4 @@ MD5 (patch-an) = f04a6f1ed6b81360a964c60152d8b0e4
MD5 (patch-ao) = 443ab84138c1d1c8c997a684101baff5
MD5 (patch-ap) = c37e3352b6848fb0a325298bc8b3be10
MD5 (patch-aq) = 415545b5019078778745266108d93ba1
+MD5 (patch-ar) = 91369a226d6313cf685cef4a1c960fa8
diff --git a/x11/gnome-libs/patches/patch-ar b/x11/gnome-libs/patches/patch-ar
new file mode 100644
index 00000000000..c6eb6c97b97
--- /dev/null
+++ b/x11/gnome-libs/patches/patch-ar
@@ -0,0 +1,13 @@
+$NetBSD: patch-ar,v 1.1 2000/11/11 02:23:52 mycroft Exp $
+
+--- libgnome/gnome-dentry.c.orig Sat Sep 16 19:24:51 2000
++++ libgnome/gnome-dentry.c Sat Nov 11 02:19:52 2000
+@@ -631,7 +631,7 @@
+ }
+
+ /* FIXME: do something if there's an error. */
+- if (strcmp (item->type, "URL") == 0) {
++ if (item->type && strcmp (item->type, "URL") == 0) {
+ gnome_url_show (exec_str);
+ } else {
+ gnome_execute_async_with_env (NULL, uargs, uargv, envc, envp);