diff options
-rw-r--r-- | net/gftp/patches/patch-aa | 15 | ||||
-rw-r--r-- | net/gftp/patches/patch-ab | 13 |
2 files changed, 28 insertions, 0 deletions
diff --git a/net/gftp/patches/patch-aa b/net/gftp/patches/patch-aa new file mode 100644 index 00000000000..39e74d379dc --- /dev/null +++ b/net/gftp/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.3 2005/03/02 14:38:18 tron Exp $ + +--- lib/fsplib/lock.c.orig 2005-01-02 15:45:51.000000000 +0000 ++++ lib/fsplib/lock.c 2005-03-02 14:26:27.000000000 +0000 +@@ -2,6 +2,10 @@ + #include <stdio.h> + #include "lock.h" + ++#if defined(__NetBSD__) || defined(sun) ++#define _SEM_SEMUN_UNDEFINED /**/ ++#endif ++ + /* ************ Locking functions ***************** */ + #ifndef FSP_NOLOCKING + diff --git a/net/gftp/patches/patch-ab b/net/gftp/patches/patch-ab new file mode 100644 index 00000000000..79cb3cd08fb --- /dev/null +++ b/net/gftp/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.5 2005/03/02 14:38:18 tron 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 @@ + + #elif HAVE_GRANTPT + +-#ifndef __FreeBSD__ ++#if !(defined(__FreeBSD__) || defined(__NetBSD__)) + #include <stropts.h> + #endif + |