summaryrefslogtreecommitdiff
path: root/ftp/gftp/files/patch-lib::misc.c
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2003-11-10 18:03:08 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2003-11-10 18:03:08 +0000
commit38b0331bd1f50d098075eb03df63f7f3c39fa6c9 (patch)
tree369dc2b6901ac6a60690121bb83844ad96b89f4e /ftp/gftp/files/patch-lib::misc.c
parentFix batch build. (diff)
update gftp to 2.0.16
Notes
Notes: svn path=/head/; revision=93672
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)