pkgsrc/misc/gnome-utils/patches/patch-aa
rh ff2deda9c5 Update gnome-utils to 1.4.1. Changes include:
gnome-utils 1.4.1 (2001-10-04)

general:
        Translation updates.  (Christian Rose, Stanislav Visnovsky,
        Kjartan Maraas, Linas Vepstas, Pablo Saratxaga)

gtt:
        * Many new things including: UI for custom reports, Uses guile
          internally for reports, can stop timer on idleness, add some
          more values, can edit properties without changing current
          project (Linas Vepstas)
        * Misc fixes (George)

gcalc:
        * Fix resizing (Glynn Foster)

logview:
        * Documentation (John Fleck)

gnome-utils 1.4.0.99 (2001-09-04)

general:
        * Update doc build stuff to use jw on RH 7.1 and any other dist
          which has moved to docbook-utils. (Dan Mueth)
        * We now require GConf (George)
        * Fix DESTDIR on installation. (George)
        * use xml-i18n-tools for .desktop/.keys files (Kjartan Maraas)
        * az docs removed, apparently they were quite broken (John Fleck)
        * Translation updates. (Abel Cheung, Valek Filippov, Kjartan
          Maraas, Stanislav Visnovsky, Zbigniew Chyla, Andras Timar,
          Takayuki KUSANO, Christian Rose, Ole Laursen, Carlos Perell
          Marn, Peteris Krisjanis, Christian Meyer, Almer S. Tigelaar,
          Fatih Demir, Marc Maurer, G<F6>rkem Cetin, Christophe Merlet,
          Stanislav Brabec, Faith Demir, Jesus Bravo Alvarez)

gcalc:
        * Warning fix. (Kjartan Maraas)
        * Documentation fix. (John Fleck)
        * Fix compilations on some systems. (George)

gdialog:
        * Fix compilations on some systems. (George)
        * Docs (Patanjali Somayaji, John Fleck)

gdiskfree:
        * Some internal reorganization for excluded filesystems (Gregory
          McLean)
        * New icon/splash pixmap. (Matthias Warkus, Timothy Musson)
        * Minor fixes. (George)

gcharmap:
        * Don't use the system colormap. (Kjartan Maraas)

gcolorsel:
        * Hook up help button in preferences to do something. (Kjartan
          Maraas)
        * Don't use the system colormap. (Kjartan Maraas)

gtt:
        * An ongoing rewrite to support many MANY cool new features.
          Still not 100% stable though.  (Linas Vepstas)

logview:
        * Fix FreeBSD compilation. (Peter A Jonsson)
        * Massage the scrolling to be more sane (it still doesn't work
          completely correctly). (George)
        * Fix compilations on some systems + various minor fixes. (George)

stripchart:
        * Fix 64bit issues with reading /proc (George)
2001-10-13 08:30:25 +00:00

28 lines
582 B
Text

$NetBSD: patch-aa,v 1.2 2001/10/13 08:30:25 rh Exp $
--- gtt/app.c.orig Wed Sep 26 05:12:19 2001
+++ gtt/app.c
@@ -19,7 +19,11 @@
#include <errno.h>
#include <gnome.h>
+#ifdef HAVE_SCHED_H
#include <sched.h>
+#else
+#include <unistd.h>
+#endif
#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
}