summaryrefslogtreecommitdiff
path: root/security/libssh/patches
diff options
context:
space:
mode:
authoryyamano <yyamano>2007-02-25 00:57:54 +0000
committeryyamano <yyamano>2007-02-25 00:57:54 +0000
commit6edf2013b9d7866e0b647e4f9e57e8b577f08b7d (patch)
tree1f2c7423401cfc73b61e643f3248c5e08560cf3e /security/libssh/patches
parentb54f20ae8d78be13ba53718141e839acf70977d3 (diff)
downloadpkgsrc-6edf2013b9d7866e0b647e4f9e57e8b577f08b7d.tar.gz
Make this build on Darwin.
Diffstat (limited to 'security/libssh/patches')
-rw-r--r--security/libssh/patches/patch-aa8
1 files changed, 4 insertions, 4 deletions
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