pkgsrc/graphics/gnuplot/patches/patch-aa
cjs d59367dfdd Upgrade to 4.2.2. New features:
* New plot styles
          o Histogram
          o Label plots
          o Image data
          o Filled curves
          o Vectors
    * Input from binary data files
    * New plot elements
          o RGB colors
          o Arbitrary rectangles
    * String handling
          o String and text data read from datafiles
          o User-defined string variables, operators, and functions
    * Macros
    * Auto-layout of multiple plots on a page
    * Internal variables
    * New or revised terminal drivers
          o wxt
          o emf
          o gif, jpeg, png
          o postscript
          o ai
          o epslatex, pslatex, pstex
          o windows
    * Canvas size
2007-11-30 07:13:18 +00:00

25 lines
790 B
Text

$NetBSD: patch-aa,v 1.9 2007/11/30 07:13:19 cjs Exp $
--- src/stdfn.h.orig 2006-05-13 18:22:17.000000000 +0900
+++ src/stdfn.h 2007-11-30 15:57:17.000000000 +0900
@@ -261,6 +261,11 @@
# define time_t long
#endif
+/* <sys/time.h> may be needed for fd_set and/or some of the above */
+#ifdef HAVE_SYS_TIME_H
+# include <sys/time.h>
+#endif
+
#if defined(PIPES) && (defined(VMS) || (defined(OSK) && defined(_ANSI_EXT))) || defined(PIPES) && defined(AMIGA_SC_6_1)
FILE *popen __PROTO((char *, char *));
int pclose __PROTO((FILE *));
@@ -337,7 +342,7 @@
#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