summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ftp/proftpd-devel/files/patch-ai11
-rw-r--r--ftp/proftpd-devel/files/patch-aj11
-rw-r--r--ftp/proftpd/files/patch-ai11
-rw-r--r--ftp/proftpd/files/patch-aj11
4 files changed, 44 insertions, 0 deletions
diff --git a/ftp/proftpd-devel/files/patch-ai b/ftp/proftpd-devel/files/patch-ai
new file mode 100644
index 000000000000..418c0c058178
--- /dev/null
+++ b/ftp/proftpd-devel/files/patch-ai
@@ -0,0 +1,11 @@
+--- contrib/mod_ratio.c.orig Sun Oct 20 13:49:21 2002
++++ contrib/mod_ratio.c Sun Oct 20 13:50:11 2002
+@@ -606,7 +606,7 @@
+ add_response(R_214,
+ "Bytes: %s Down: %imb Up: %imb CR: %i Mbytes",
+ stats.btext, (stats.bretr / 1024), (stats.bstor / 1024),
+- (stats.bytes / 1024), stats.bytes);
++ (stats.bytes / 1024));
+ return HANDLED(cmd);
+ }
+
diff --git a/ftp/proftpd-devel/files/patch-aj b/ftp/proftpd-devel/files/patch-aj
new file mode 100644
index 000000000000..36d670539f78
--- /dev/null
+++ b/ftp/proftpd-devel/files/patch-aj
@@ -0,0 +1,11 @@
+--- include/glibc-glob.h.orig Sun Oct 20 13:43:44 2002
++++ include/glibc-glob.h Sun Oct 20 13:48:38 2002
+@@ -50,7 +50,7 @@
+ #endif
+
+ /* We need `size_t' for the following definitions. */
+-#ifndef __size_t
++#if !defined(__size_t) && !defined(__FreeBSD__)
+ # if defined __GNUC__ && __GNUC__ >= 2
+ typedef __SIZE_TYPE__ __size_t;
+ # ifdef _XOPEN_SOURCE
diff --git a/ftp/proftpd/files/patch-ai b/ftp/proftpd/files/patch-ai
new file mode 100644
index 000000000000..418c0c058178
--- /dev/null
+++ b/ftp/proftpd/files/patch-ai
@@ -0,0 +1,11 @@
+--- contrib/mod_ratio.c.orig Sun Oct 20 13:49:21 2002
++++ contrib/mod_ratio.c Sun Oct 20 13:50:11 2002
+@@ -606,7 +606,7 @@
+ add_response(R_214,
+ "Bytes: %s Down: %imb Up: %imb CR: %i Mbytes",
+ stats.btext, (stats.bretr / 1024), (stats.bstor / 1024),
+- (stats.bytes / 1024), stats.bytes);
++ (stats.bytes / 1024));
+ return HANDLED(cmd);
+ }
+
diff --git a/ftp/proftpd/files/patch-aj b/ftp/proftpd/files/patch-aj
new file mode 100644
index 000000000000..36d670539f78
--- /dev/null
+++ b/ftp/proftpd/files/patch-aj
@@ -0,0 +1,11 @@
+--- include/glibc-glob.h.orig Sun Oct 20 13:43:44 2002
++++ include/glibc-glob.h Sun Oct 20 13:48:38 2002
+@@ -50,7 +50,7 @@
+ #endif
+
+ /* We need `size_t' for the following definitions. */
+-#ifndef __size_t
++#if !defined(__size_t) && !defined(__FreeBSD__)
+ # if defined __GNUC__ && __GNUC__ >= 2
+ typedef __SIZE_TYPE__ __size_t;
+ # ifdef _XOPEN_SOURCE