summaryrefslogtreecommitdiff
path: root/misc/gnome-utils/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'misc/gnome-utils/patches/patch-aa')
-rw-r--r--misc/gnome-utils/patches/patch-aa37
1 files changed, 24 insertions, 13 deletions
diff --git a/misc/gnome-utils/patches/patch-aa b/misc/gnome-utils/patches/patch-aa
index c018cc25743..3d4abea9861 100644
--- a/misc/gnome-utils/patches/patch-aa
+++ b/misc/gnome-utils/patches/patch-aa
@@ -1,17 +1,28 @@
-$NetBSD: patch-aa,v 1.1.1.1 1999/05/03 16:48:57 rh Exp $
+$NetBSD: patch-aa,v 1.2 2001/10/13 08:30:25 rh Exp $
---- gdialog/dialog.h.orig Tue Feb 16 22:39:28 1999
-+++ gdialog/dialog.h Fri Apr 23 14:03:44 1999
-@@ -22,6 +22,12 @@
- #define WITH_GNOME /* Gnome support */
- #undef WITH_GPM /* Gpm mouse support */
+--- gtt/app.c.orig Wed Sep 26 05:12:19 2001
++++ gtt/app.c
+@@ -19,7 +19,11 @@
-+#include "config.h"
-+
-+#ifdef VERSION
-+#undef VERSION
+ #include <errno.h>
+ #include <gnome.h>
++#ifdef HAVE_SCHED_H
+ #include <sched.h>
++#else
++#include <unistd.h>
+#endif
-+
- #define VERSION "0.6gnome1"
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -181,7 +185,11 @@
+ * routine. So we try to ensure in-order execution by trying to let
+ * the child process at least start running. And we can do this by
+ * yielding our time-slice ... */
++#ifdef HAVE_SCHED_H
+ sched_yield();
++#else
++ sleep(1);
++#endif
+ }
+
- #include <sys/types.h>