summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-07-30 22:07:38 +0000
committerrillig <rillig@pkgsrc.org>2005-07-30 22:07:38 +0000
commit3ee16c507116dd4324ccf09c338f3021c9e81b01 (patch)
tree8558a290cdc494123897e31aa5ddad7f471f8493 /net
parent30af074b83e633f0a21d92a31dd168f3bbb5b306 (diff)
downloadpkgsrc-3ee16c507116dd4324ccf09c338f3021c9e81b01.tar.gz
Copied the patch to #include <errno.h> from net/unison.
Diffstat (limited to 'net')
-rw-r--r--net/unison-devel/distinfo4
-rw-r--r--net/unison-devel/patches/patch-ac25
2 files changed, 12 insertions, 17 deletions
diff --git a/net/unison-devel/distinfo b/net/unison-devel/distinfo
index 8adcd4b0bd8..be1558b0f8c 100644
--- a/net/unison-devel/distinfo
+++ b/net/unison-devel/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2005/04/24 13:06:03 adrianp Exp $
+$NetBSD: distinfo,v 1.6 2005/07/30 22:07:38 rillig Exp $
SHA1 (unison-2.12.0/unison-2.12.0.tar.gz) = 71cc8abedf8e9434285a610c3f4090ddc05cdfa9
RMD160 (unison-2.12.0/unison-2.12.0.tar.gz) = 89f215787df9b8f1d0edb367559be5dce810c215
Size (unison-2.12.0/unison-2.12.0.tar.gz) = 841717 bytes
SHA1 (patch-aa) = ca1409cfd3ffe6ceb5a85c588e2d17e544133031
SHA1 (patch-ab) = 2f796147ff5fa91ed6bf6b3fa3a760b6a153c8bd
-SHA1 (patch-ac) = 663a051e39b52e474eb3016826f350291a51ea2a
+SHA1 (patch-ac) = f5e703b5b509b8976efbd7f435c3db1de714427e
diff --git a/net/unison-devel/patches/patch-ac b/net/unison-devel/patches/patch-ac
index 785000a6079..8493be53b54 100644
--- a/net/unison-devel/patches/patch-ac
+++ b/net/unison-devel/patches/patch-ac
@@ -1,26 +1,21 @@
-$NetBSD: patch-ac,v 1.2 2005/04/24 13:06:03 adrianp Exp $
+$NetBSD: patch-ac,v 1.3 2005/07/30 22:07:38 rillig Exp $
---- pty.c.orig 2005-04-24 09:14:08.000000000 +0100
-+++ pty.c
-@@ -18,7 +18,11 @@ CAMLprim value dumpFd(value fdVal) {
+--- pty.c.orig Mon Sep 6 21:15:47 2004
++++ pty.c Sat Jul 30 23:55:49 2005
+@@ -18,6 +18,7 @@ CAMLprim value dumpFd(value fdVal) {
}
#include <caml/fail.h> // failwith
-+#ifdef __NetBSD__
+#include <errno.h> // errno
-+#else
#include <sys/errno.h> // errno
-+#endif
#include <string.h> // strerror
#include <caml/alloc.h> // alloc_tuple
- #include <caml/memory.h> // Store_field
-@@ -32,6 +36,9 @@ CAMLprim value dumpFd(value fdVal) {
- #ifdef __APPLE__
+@@ -29,7 +30,7 @@ CAMLprim value dumpFd(value fdVal) {
+ #ifdef __linux__
+ #include <pty.h> // openpty
+ #endif
+-#ifdef __APPLE__
++#if defined(__APPLE__) || defined(__NetBSD__)
#include <util.h> // openpty
#endif
-+#ifdef __NetBSD__
-+#include <util.h> // openpty
-+#endif
- /* c_openpty: unit -> (int * Unix.file_descr) */
- CAMLprim value c_openpty() {