summaryrefslogtreecommitdiff
path: root/x11/gnome-core
diff options
context:
space:
mode:
authorminoura <minoura>2001-04-02 11:08:15 +0000
committerminoura <minoura>2001-04-02 11:08:15 +0000
commita1f7c623438823c1ba73fefa722bb39e0aceae5a (patch)
tree3b2e0a1c69139667d7c742c090500830fe858414 /x11/gnome-core
parent49e7ac38af0713148a9733c2dd840242e4eabf9c (diff)
downloadpkgsrc-a1f7c623438823c1ba73fefa722bb39e0aceae5a.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/gnome-core')
-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)
+ {