pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/unison-devel Copied the patch to #include <errno.h...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cf6e10499f29
branches:  trunk
changeset: 497578:cf6e10499f29
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jul 30 22:07:38 2005 +0000

description:
Copied the patch to #include <errno.h> from net/unison.

diffstat:

 net/unison-devel/distinfo         |   4 ++--
 net/unison-devel/patches/patch-ac |  25 ++++++++++---------------
 2 files changed, 12 insertions(+), 17 deletions(-)

diffs (54 lines):

diff -r ce898bb65587 -r cf6e10499f29 net/unison-devel/distinfo
--- a/net/unison-devel/distinfo Sat Jul 30 22:05:53 2005 +0000
+++ b/net/unison-devel/distinfo Sat Jul 30 22:07:38 2005 +0000
@@ -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 -r ce898bb65587 -r cf6e10499f29 net/unison-devel/patches/patch-ac
--- a/net/unison-devel/patches/patch-ac Sat Jul 30 22:05:53 2005 +0000
+++ b/net/unison-devel/patches/patch-ac Sat Jul 30 22:07:38 2005 +0000
@@ -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() {



Home | Main Index | Thread Index | Old Index