new file mode 100644
@@ -0,0 +1 @@
+i_cv_posix_fallocate_works=${i_cv_posix_fallocate_works=yes}
new file mode 100644
@@ -0,0 +1,14 @@
+--- lftp-4.3.8.orig/lib/stdio.in.h
++++ lftp-4.3.8/lib/stdio.in.h
+@@ -702,10 +702,12 @@ _GL_WARN_ON_USE (getline, "getline is un
+ /* It is very rare that the developer ever has full control of stdin,
+ so any use of gets warrants an unconditional warning; besides, C11
+ removed it. */
++#ifdef gets
+ #undef gets
+ #if HAVE_RAW_DECL_GETS
+ _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #endif
++#endif
+
+ #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
new file mode 100644
@@ -0,0 +1,5 @@
+LICENSE = "GPL-3.0+"
+
+require lftp.inc
+
+SRC_URI += "file://gets-undefined-in-C11.patch"
new file mode 100644
@@ -0,0 +1 @@
+b985c5985b6663703d4cd815c27dc7e74103c975 lftp-4.4.5.tar.bz2
From: Jacob Kjaergaard <jacob.kjaergaard@prevas.dk> --- recipes/lftp/lftp-4.4.5/config.site | 1 + .../lftp/lftp-4.4.5/gets-undefined-in-C11.patch | 14 ++++++++++++++ recipes/lftp/lftp_4.4.5.oe | 5 +++++ recipes/lftp/lftp_4.4.5.oe.sig | 1 + 4 files changed, 21 insertions(+) create mode 100644 recipes/lftp/lftp-4.4.5/config.site create mode 100644 recipes/lftp/lftp-4.4.5/gets-undefined-in-C11.patch create mode 100644 recipes/lftp/lftp_4.4.5.oe create mode 100644 recipes/lftp/lftp_4.4.5.oe.sig