summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoryyamano <yyamano>2007-02-25 00:57:54 +0000
committeryyamano <yyamano>2007-02-25 00:57:54 +0000
commit705cb1f60faf8c43d4ece411887f0bc509719b77 (patch)
tree1f2c7423401cfc73b61e643f3248c5e08560cf3e /security
parent327739d8a513bb9074524a4dae2518697bf1c953 (diff)
downloadpkgsrc-705cb1f60faf8c43d4ece411887f0bc509719b77.tar.gz
Make this build on Darwin.
Diffstat (limited to 'security')
-rw-r--r--security/libssh/distinfo4
-rw-r--r--security/libssh/patches/patch-aa8
2 files changed, 6 insertions, 6 deletions
diff --git a/security/libssh/distinfo b/security/libssh/distinfo
index 8ec418b2c75..91f5d212205 100644
--- a/security/libssh/distinfo
+++ b/security/libssh/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2006/02/17 14:43:49 joerg Exp $
+$NetBSD: distinfo,v 1.4 2007/02/25 00:57:54 yyamano Exp $
SHA1 (libssh-0.11.tgz) = 307430249ded90332c4ec77a264913b3bc93a648
RMD160 (libssh-0.11.tgz) = 69c2cc00becb84a62555fe884345398f155815a4
Size (libssh-0.11.tgz) = 303761 bytes
-SHA1 (patch-aa) = 6e72fcfe9ee9bcc6fd7c21baf66d09b15923a7f1
+SHA1 (patch-aa) = d2e082d87643c80add1b4ff0f0f467ea09be851b
diff --git a/security/libssh/patches/patch-aa b/security/libssh/patches/patch-aa
index 62bd283c0c6..2c2a56f8323 100644
--- a/security/libssh/patches/patch-aa
+++ b/security/libssh/patches/patch-aa
@@ -1,14 +1,14 @@
-$NetBSD: patch-aa,v 1.2 2006/02/17 14:43:49 joerg Exp $
+$NetBSD: patch-aa,v 1.3 2007/02/25 00:57:54 yyamano Exp $
---- sample.c.orig 2005-03-04 19:54:59.000000000 +0000
+--- sample.c.orig 2005-03-05 04:54:59.000000000 +0900
+++ sample.c
@@ -20,7 +20,14 @@ clients must be made or how a client sho
#include <sys/select.h>
#include <sys/time.h>
-+#if defined(__NetBSD__)
++#if defined(__NetBSD__) || defined(__APPLE__)
+#include <sys/types.h>
-+#include <util.h> /* openpty() on NetBSD */
++#include <util.h> /* openpty() on NetBSD and Darwin */
+#elif defined(__DragonFly__)
+#include <libutil.h>
+#else