summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorcjep <cjep>2004-01-11 16:55:49 +0000
committercjep <cjep>2004-01-11 16:55:49 +0000
commitac6b2451b3dcc4145c1c7d254c038e6f0c92d15d (patch)
tree0b70b9bd53323e1b38eac6d4716280d40bcabb0f /net
parent5dec18f2f1cf82d9951735bbaf30deb08b381118 (diff)
downloadpkgsrc-ac6b2451b3dcc4145c1c7d254c038e6f0c92d15d.tar.gz
Fix build by including stdlib.h. From Christoph Badura.
Diffstat (limited to 'net')
-rw-r--r--net/tn5250/distinfo4
-rw-r--r--net/tn5250/patches/patch-ac20
2 files changed, 16 insertions, 8 deletions
diff --git a/net/tn5250/distinfo b/net/tn5250/distinfo
index a07bbafc4db..3bb9b4523d7 100644
--- a/net/tn5250/distinfo
+++ b/net/tn5250/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2002/07/17 13:10:30 agc Exp $
+$NetBSD: distinfo,v 1.5 2004/01/11 16:55:49 cjep Exp $
SHA1 (tn5250-0.12.51.tar.gz) = c4394dd699afa3e38989015100f5837f266a80d9
Size (tn5250-0.12.51.tar.gz) = 101747 bytes
SHA1 (patch-aa) = eded51dff90cdab29069b281c991e5d53f393c88
SHA1 (patch-ab) = 32a611ae4ac1ad19a4063bebf17959bcfa5f5776
-SHA1 (patch-ac) = a4f31ce249da36b993e4ae203e9f72be61147edb
+SHA1 (patch-ac) = 308c2ba93e441c60e8d962219b1b64dea854e6ea
diff --git a/net/tn5250/patches/patch-ac b/net/tn5250/patches/patch-ac
index fdabfcfbe03..ef82cc7b6a6 100644
--- a/net/tn5250/patches/patch-ac
+++ b/net/tn5250/patches/patch-ac
@@ -1,14 +1,22 @@
-$NetBSD: patch-ac,v 1.1 2002/07/17 13:10:31 agc Exp $
+$NetBSD: patch-ac,v 1.2 2004/01/11 16:55:49 cjep Exp $
-Prototype select(2).
-
---- printsession.cc 2002/07/17 13:07:37 1.1
-+++ printsession.cc 2002/07/17 13:07:54
-@@ -4,6 +4,7 @@
+--- printsession.cc.orig 1999-04-05 17:25:46.000000000 +0100
++++ printsession.cc
+@@ -4,8 +4,10 @@
#include "record.h"
#include "stream5250.h"
#include <sys/time.h>
+#include <unistd.h>
#include "printsession.h"
#include "utility.h"
++#include <stdlib.h>
+ PrintSession::PrintSession()
+ {
+@@ -121,4 +123,4 @@ int PrintSession::waitevent() const
+ result = 1;
+
+ return result;
+-}
+\ No newline at end of file
++}