summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorrillig <rillig>2005-03-14 14:50:48 +0000
committerrillig <rillig>2005-03-14 14:50:48 +0000
commit9463c36d29b0c1154b3327ce4b47a213316959e2 (patch)
tree6b4bf5699dab1e93523f5f8788ac9fa599540852 /net
parent9132eb8ca1f8fa74859829a49a9736497a3fc21c (diff)
downloadpkgsrc-9463c36d29b0c1154b3327ce4b47a213316959e2.tar.gz
Added a patch to make gftp compile on NetBSD-1.6.2, which does not know
about ENOTSUP. Approved by wiz.
Diffstat (limited to 'net')
-rw-r--r--net/gftp/distinfo3
-rw-r--r--net/gftp/patches/patch-ae17
2 files changed, 19 insertions, 1 deletions
diff --git a/net/gftp/distinfo b/net/gftp/distinfo
index 7787382e383..143cc5dfe03 100644
--- a/net/gftp/distinfo
+++ b/net/gftp/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2005/03/02 20:43:21 tron Exp $
+$NetBSD: distinfo,v 1.10 2005/03/14 14:50:48 rillig Exp $
SHA1 (gftp-2.0.18.tar.bz2) = c2468f1ff1fe978a5fab3a198e513558f3b48f5a
RMD160 (gftp-2.0.18.tar.bz2) = 0e0daea8543ae822b25635647360193362a2648d
@@ -7,3 +7,4 @@ SHA1 (patch-aa) = fe0aff2e0f8408d6a5b663e2095b61b9e92e0d84
SHA1 (patch-ab) = 739be62c545d7644da4bcd53140fb734ec8e19ef
SHA1 (patch-ac) = 862f2f5856da4f361f2cac660ffd489424a854d8
SHA1 (patch-ad) = 4024658780e23543b47901b802d0e8d7c469f7b6
+SHA1 (patch-ae) = 54e5d9370b2bfd9c410823d3c2d4f522744fa88d
diff --git a/net/gftp/patches/patch-ae b/net/gftp/patches/patch-ae
new file mode 100644
index 00000000000..f4ce2d9beca
--- /dev/null
+++ b/net/gftp/patches/patch-ae
@@ -0,0 +1,17 @@
+$NetBSD: patch-ae,v 1.1 2005/03/14 14:50:48 rillig Exp $
+
+NetBSD-1.6.2 does not know about ENOTSUP.
+
+--- lib/fsplib/fsplib.c.orig Wed Jan 19 03:03:45 2005
++++ lib/fsplib/fsplib.c Sat Mar 12 11:04:49 2005
+@@ -27,6 +27,10 @@ use of this software.
+ #include "fsplib.h"
+ #include "lock.h"
+
++#ifndef ENOTSUP
++# define ENOTSUP EINVAL
++#endif
++
+ /* ************ Internal functions **************** */
+
+ /* builds filename in packet output buffer, appends password if needed */