summaryrefslogtreecommitdiff
path: root/graphics/gnuplot
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-03-13 01:26:45 +0000
committertv <tv@pkgsrc.org>2005-03-13 01:26:45 +0000
commite7816f22b33eeec3221dcf14b04631e79e1abed6 (patch)
treebd59fad798cd4babfe18b00b3ff40f5d9b2f57d2 /graphics/gnuplot
parent9e132470569b3ccc172e5fbb83627917c35fe043 (diff)
downloadpkgsrc-e7816f22b33eeec3221dcf14b04631e79e1abed6.tar.gz
Do the Interix fix a different way: put it in stdfn.h.
This should resolve the build problems on NetBSD-current.
Diffstat (limited to 'graphics/gnuplot')
-rw-r--r--graphics/gnuplot/distinfo4
-rw-r--r--graphics/gnuplot/patches/patch-aa24
2 files changed, 16 insertions, 12 deletions
diff --git a/graphics/gnuplot/distinfo b/graphics/gnuplot/distinfo
index 58cae9cddd9..833a53671ef 100644
--- a/graphics/gnuplot/distinfo
+++ b/graphics/gnuplot/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2005/03/10 17:26:18 tv Exp $
+$NetBSD: distinfo,v 1.7 2005/03/13 01:26:45 tv Exp $
SHA1 (gnuplot-4.0.0.tar.gz) = a862bc311724c263aa1ef1c646291d73dc37c978
RMD160 (gnuplot-4.0.0.tar.gz) = 7b1fc84c161c132c776269b6e9a49abd29251a18
Size (gnuplot-4.0.0.tar.gz) = 2160918 bytes
-SHA1 (patch-aa) = cbb6d3aa3761c12579d75e512a1078aea674d8fc
+SHA1 (patch-aa) = ff4f1ca9d64d9d946948e736ea69411dc729e9b0
diff --git a/graphics/gnuplot/patches/patch-aa b/graphics/gnuplot/patches/patch-aa
index 56976ff8bc7..5673d48ab61 100644
--- a/graphics/gnuplot/patches/patch-aa
+++ b/graphics/gnuplot/patches/patch-aa
@@ -1,12 +1,16 @@
-$NetBSD: patch-aa,v 1.6 2005/03/10 17:26:18 tv Exp $
+$NetBSD: patch-aa,v 1.7 2005/03/13 01:26:45 tv Exp $
---- term/x11.trm.orig Wed Apr 14 08:18:24 2004
-+++ term/x11.trm
-@@ -55,6 +55,7 @@
- */
+--- src/stdfn.h.orig Tue Apr 13 13:24:01 2004
++++ src/stdfn.h
+@@ -258,6 +258,11 @@ extern char *sys_errlist[];
+ # include <time.h>
+ #endif
- #include "driver.h"
-+#include <sys/time.h>
-
- #ifdef TERM_REGISTER
- register_term(x11)
++/* <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
++
+ #ifndef HAVE_TIME_T_IN_TIME_H
+ # define time_t long
+ #endif