summaryrefslogtreecommitdiff
path: root/net/tn5250
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-07-17 13:10:30 +0000
committeragc <agc@pkgsrc.org>2002-07-17 13:10:30 +0000
commitaf1cd66a9a11db868cad8a071b179d4f11afc8c6 (patch)
treec7a4f7054890e2c56158fb5ba1ee34b87a99df38 /net/tn5250
parenta94f67ce57c7713de99ac06e5a5785605d71a4c6 (diff)
downloadpkgsrc-af1cd66a9a11db868cad8a071b179d4f11afc8c6.tar.gz
Add a patch to ensure that select(2) is prototyped.
Diffstat (limited to 'net/tn5250')
-rw-r--r--net/tn5250/distinfo3
-rw-r--r--net/tn5250/patches/patch-ac14
2 files changed, 16 insertions, 1 deletions
diff --git a/net/tn5250/distinfo b/net/tn5250/distinfo
index d366c7766b9..a07bbafc4db 100644
--- a/net/tn5250/distinfo
+++ b/net/tn5250/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2001/06/20 04:44:59 jlam Exp $
+$NetBSD: distinfo,v 1.4 2002/07/17 13:10:30 agc 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
diff --git a/net/tn5250/patches/patch-ac b/net/tn5250/patches/patch-ac
new file mode 100644
index 00000000000..fdabfcfbe03
--- /dev/null
+++ b/net/tn5250/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1 2002/07/17 13:10:31 agc 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 @@
+ #include "record.h"
+ #include "stream5250.h"
+ #include <sys/time.h>
++#include <unistd.h>
+ #include "printsession.h"
+ #include "utility.h"
+