summaryrefslogtreecommitdiff
path: root/net/gftp/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/gftp/patches/patch-aa')
-rw-r--r--net/gftp/patches/patch-aa15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/gftp/patches/patch-aa b/net/gftp/patches/patch-aa
new file mode 100644
index 00000000000..9735054b252
--- /dev/null
+++ b/net/gftp/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.2.10.1 2005/03/02 22:15:42 salo 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
+