summaryrefslogtreecommitdiff
path: root/net/wu-ftpd/patches
diff options
context:
space:
mode:
authorsketch <sketch@pkgsrc.org>2004-09-08 15:28:38 +0000
committersketch <sketch@pkgsrc.org>2004-09-08 15:28:38 +0000
commite5b95695d3533e4d38e6bb323aa6a0da3c5e8551 (patch)
tree30f50a92efe1348b334ace38c71f8ed8c0a5d0fe /net/wu-ftpd/patches
parenta00d55a0cd7e8880ea0a145360ddcc2a47e8b5c2 (diff)
downloadpkgsrc-e5b95695d3533e4d38e6bb323aa6a0da3c5e8551.tar.gz
Complete the job of detecting strcasestr(3) by using it if available.
Diffstat (limited to 'net/wu-ftpd/patches')
-rw-r--r--net/wu-ftpd/patches/patch-ae16
-rw-r--r--net/wu-ftpd/patches/patch-ah20
-rw-r--r--net/wu-ftpd/patches/patch-aj12
3 files changed, 48 insertions, 0 deletions
diff --git a/net/wu-ftpd/patches/patch-ae b/net/wu-ftpd/patches/patch-ae
new file mode 100644
index 00000000000..ecd4f3bad66
--- /dev/null
+++ b/net/wu-ftpd/patches/patch-ae
@@ -0,0 +1,16 @@
+$NetBSD: patch-ae,v 1.7 2004/09/08 15:28:38 sketch Exp $
+
+--- support/strcasestr.c.orig 2000-07-01 19:36:29.000000000 +0100
++++ support/strcasestr.c 2004-09-08 16:25:25.000000000 +0100
+@@ -25,4 +25,7 @@
+
+ ****************************************************************************/
++#include "config.h"
++
++#ifndef HAVE_STRCASESTR
+ #include <string.h>
+ /*
+@@ -46,2 +49,3 @@
+ return ((char *) s);
+ }
++#endif
diff --git a/net/wu-ftpd/patches/patch-ah b/net/wu-ftpd/patches/patch-ah
new file mode 100644
index 00000000000..7bf7504772c
--- /dev/null
+++ b/net/wu-ftpd/patches/patch-ah
@@ -0,0 +1,20 @@
+$NetBSD: patch-ah,v 1.6 2004/09/08 15:28:39 sketch Exp $
+
+--- src/proto.h.orig 2000-07-01 19:17:39.000000000 +0100
++++ src/proto.h 2004-09-08 16:25:25.000000000 +0100
+@@ -25,4 +25,6 @@
+
+ ****************************************************************************/
++#include "config.h"
++
+ #include <sys/types.h>
+ #include <sys/stat.h>
+@@ -290,6 +292,8 @@
+ void endusershell(void);
+
++#ifndef HAVE_STRCASESTR
+ /*
+ ** support/strcasestr.c
+ */
+ char *strcasestr(register char *s, register char *find);
++#endif
diff --git a/net/wu-ftpd/patches/patch-aj b/net/wu-ftpd/patches/patch-aj
new file mode 100644
index 00000000000..8f00722dc77
--- /dev/null
+++ b/net/wu-ftpd/patches/patch-aj
@@ -0,0 +1,12 @@
+$NetBSD: patch-aj,v 1.7 2004/09/08 15:28:39 sketch Exp $
+
+--- src/config.h.in.orig 2004-09-08 16:21:50.000000000 +0100
++++ src/config.h.in 2004-09-08 16:22:01.000000000 +0100
+@@ -76,6 +76,7 @@
+ #undef HAVE_REGEXEC
+ #undef HAVE_SETSID
+ #undef HAVE_MEMMOVE
++#undef HAVE_STRCASESTR
+ #undef HAVE_STRTOUL
+ #undef HAVE_SIGLIST
+ #undef FACILITY