summaryrefslogtreecommitdiff
path: root/graphics/gnuplot/patches
diff options
context:
space:
mode:
authordrochner <drochner>2007-02-01 12:15:38 +0000
committerdrochner <drochner>2007-02-01 12:15:38 +0000
commitdfbd759042e9f535507c9efbede205320e8ffb7b (patch)
tree3d9df64d0a553e86bc75bdf605726116c6b4beb9 /graphics/gnuplot/patches
parent93704039660d67482c211996a4db67319164ebfa (diff)
downloadpkgsrc-dfbd759042e9f535507c9efbede205320e8ffb7b.tar.gz
-don't use usleep() for the "pause" command, this does only work
for sleep times less than a second (see SUSv3) fixes PR pkg/35533 by Matyas Janos -share patches between gnuplot{,-nox11} -bump PKGREVISION
Diffstat (limited to 'graphics/gnuplot/patches')
-rw-r--r--graphics/gnuplot/patches/patch-aa13
1 files changed, 11 insertions, 2 deletions
diff --git a/graphics/gnuplot/patches/patch-aa b/graphics/gnuplot/patches/patch-aa
index 5673d48ab61..50c6e3cbd5e 100644
--- a/graphics/gnuplot/patches/patch-aa
+++ b/graphics/gnuplot/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.7 2005/03/13 01:26:45 tv Exp $
+$NetBSD: patch-aa,v 1.8 2007/02/01 12:15:39 drochner Exp $
---- src/stdfn.h.orig Tue Apr 13 13:24:01 2004
+--- src/stdfn.h.orig 2004-04-13 19:24:01.000000000 +0200
+++ src/stdfn.h
@@ -258,6 +258,11 @@ extern char *sys_errlist[];
# include <time.h>
@@ -14,3 +14,12 @@ $NetBSD: patch-aa,v 1.7 2005/03/13 01:26:45 tv Exp $
#ifndef HAVE_TIME_T_IN_TIME_H
# define time_t long
#endif
+@@ -324,7 +329,7 @@ int gp_strnicmp __PROTO((const char *, c
+ #endif
+
+ /* sleep delay time, where delay is a double value */
+-#if defined(HAVE_USLEEP)
++#if 0 /*defined(HAVE_USLEEP)*/
+ # define GP_SLEEP(delay) usleep((unsigned int) ((delay)*1e6))
+ # ifndef HAVE_SLEEP
+ # define HAVE_SLEEP