diff options
author | tonio <tonio> | 2005-09-04 20:00:09 +0000 |
---|---|---|
committer | tonio <tonio> | 2005-09-04 20:00:09 +0000 |
commit | d21ba9d5518d55f2bddf5a64d663b5726abb3df9 (patch) | |
tree | 3cd0943dee92ea62347ea4aa9c077af4d8a8322a /net/gftp/patches/patch-ab | |
parent | c3a89622fe86803f4db23bc185cb6a358e148c4e (diff) | |
download | pkgsrc-d21ba9d5518d55f2bddf5a64d663b5726abb3df9.tar.gz |
Fix build under darwin (stropts.h being included but not present), using
defined(__APPLE__)
Diffstat (limited to 'net/gftp/patches/patch-ab')
-rw-r--r-- | net/gftp/patches/patch-ab | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/gftp/patches/patch-ab b/net/gftp/patches/patch-ab index 79cb3cd08fb..84155705182 100644 --- a/net/gftp/patches/patch-ab +++ b/net/gftp/patches/patch-ab @@ -1,13 +1,13 @@ -$NetBSD: patch-ab,v 1.5 2005/03/02 14:38:18 tron Exp $ +$NetBSD: patch-ab,v 1.6 2005/09/04 20:00:09 tonio Exp $ ---- lib/pty.c.orig 2005-01-04 13:32:11.000000000 +0000 -+++ lib/pty.c 2005-03-02 14:28:15.000000000 +0000 -@@ -61,7 +61,7 @@ +--- lib/pty.c.orig 2005-01-04 14:32:11.000000000 +0100 ++++ lib/pty.c +@@ -61,7 +61,7 @@ _gftp_ptys_open (int fdm, int fds, char #elif HAVE_GRANTPT -#ifndef __FreeBSD__ -+#if !(defined(__FreeBSD__) || defined(__NetBSD__)) ++#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__)) #include <stropts.h> #endif |