summaryrefslogtreecommitdiff
path: root/net/proxy-suite/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/proxy-suite/files')
-rw-r--r--net/proxy-suite/files/patch-includes13
-rw-r--r--net/proxy-suite/files/patch-regex18
2 files changed, 31 insertions, 0 deletions
diff --git a/net/proxy-suite/files/patch-includes b/net/proxy-suite/files/patch-includes
new file mode 100644
index 000000000000..4b8668ec5d6d
--- /dev/null
+++ b/net/proxy-suite/files/patch-includes
@@ -0,0 +1,13 @@
+--- common/com-socket.c.orig Fri Feb 11 15:20:33 2000
++++ common/com-socket.c Fri Feb 11 15:20:52 2000
+@@ -71,8 +71,9 @@
+ #include <sys/ioctl.h>
+
+ #include <netdb.h>
+-#include <netinet/ip.h>
+ #include <netinet/in.h>
++#include <netinet/in_systm.h>
++#include <netinet/ip.h>
+ #include <sys/socket.h>
+ #include <arpa/inet.h>
+
diff --git a/net/proxy-suite/files/patch-regex b/net/proxy-suite/files/patch-regex
new file mode 100644
index 000000000000..561e0dd2d4be
--- /dev/null
+++ b/net/proxy-suite/files/patch-regex
@@ -0,0 +1,18 @@
+--- ftp-proxy/ftp-cmds.c.orig Fri Feb 11 15:23:59 2000
++++ ftp-proxy/ftp-cmds.c Fri Feb 11 15:25:33 2000
+@@ -371,6 +371,7 @@ static void cmds_user(CONTEXT *ctx, char
+ for (cmd = cmdlist; cmd->name != NULL; cmd++) {
+ if (strcasecmp("USER", cmd->name) != 0)
+ continue;
++#if defined(HAVE_REGEX)
+ if (cmd->regex == NULL)
+ break;
+ if ((p = cmds_reg_exec(cmd->regex, arg)) != NULL) {
+@@ -383,6 +384,7 @@ static void cmds_user(CONTEXT *ctx, char
+ ctx->cli_ctrl->peer, p);
+ return;
+ }
++#endif
+ break;
+ }
+