summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorminoura <minoura>2001-04-02 11:08:15 +0000
committerminoura <minoura>2001-04-02 11:08:15 +0000
commitbec39afe8513ccb34b9e66c80bd6b7c1e9c21fa6 (patch)
tree3b2e0a1c69139667d7c742c090500830fe858414 /x11
parent753fa634f771c74134af687e10f7f3a20cb82279 (diff)
downloadpkgsrc-bec39afe8513ccb34b9e66c80bd6b7c1e9c21fa6.tar.gz
Correct the bug that it tests errno is non-zero to determine an error
occurred or not. This bug is found in the original source; already reported to gnome.org.
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-core/patches/patch-aj12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11/gnome-core/patches/patch-aj b/x11/gnome-core/patches/patch-aj
new file mode 100644
index 00000000000..5b463064ef7
--- /dev/null
+++ b/x11/gnome-core/patches/patch-aj
@@ -0,0 +1,12 @@
+$NetBSD: patch-aj,v 1.1 2001/04/02 11:08:15 minoura Exp $
+--- gsm/manager.c.orig Fri Nov 3 02:20:50 2000
++++ gsm/manager.c Mon Apr 2 19:53:40 2001
+@@ -307,7 +307,7 @@
+ if (restart_info)
+ free (restart_info);
+
+- if (errno)
++ if (pid < 0)
+ {
+ if (strcmp (command, SmRestartCommand) || client->connection)
+ {