summaryrefslogtreecommitdiff
path: root/ftp/gftp/files/patch-lib::misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/gftp/files/patch-lib::misc.c')
-rw-r--r--ftp/gftp/files/patch-lib::misc.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/ftp/gftp/files/patch-lib::misc.c b/ftp/gftp/files/patch-lib::misc.c
new file mode 100644
index 000000000000..3528163fcb5e
--- /dev/null
+++ b/ftp/gftp/files/patch-lib::misc.c
@@ -0,0 +1,13 @@
+--- lib/misc.c.orig Sat Nov 8 13:23:20 2003
++++ lib/misc.c Mon Nov 10 18:45:34 2003
+@@ -21,8 +21,9 @@
+
+ #include "gftp.h"
+ #include "options.h"
++#include "osreldate.h"
+
+-#ifdef _GNU_SOURCE
++#if defined(_GNU_SOURCE) && __FreeBSD_version > 500000
+
+ char *
+ insert_commas (off_t number, char *dest_str, size_t dest_len)