Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pol Vinogradov (308dea07c2594ff56d65b8a26fa4d8b4db99e94e)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pol Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pol Vinogradov (308dea07c2594ff56d65b8a26fa4d8b4db99e94e)
  • Date: Thu, 13 Sep 2012 18:56:35 -0500

GIT changes to master grimoire by Pol Vinogradov <vin.public AT gmail.com>:

ftp/lftp/HISTORY | 3 +++
ftp/lftp/PRE_BUILD | 4 ++++
ftp/lftp/gets.patch | 16 ++++++++++++++++
3 files changed, 23 insertions(+)

New commits:
commit 308dea07c2594ff56d65b8a26fa4d8b4db99e94e
Author: Pol Vinogradov <vin.public AT gmail.com>
Commit: Pol Vinogradov <vin.public AT gmail.com>

ftp/lftp: added patch to build with glibc 2.16 and newer

diff --git a/ftp/lftp/HISTORY b/ftp/lftp/HISTORY
index 94b21c9..1012a03 100644
--- a/ftp/lftp/HISTORY
+++ b/ftp/lftp/HISTORY
@@ -1,3 +1,6 @@
+2012-09-13 Pol Vinogradov <vin.public AT gmail.com>
+ * PRE_BUILD, gets.patch: added patch to build with glibc >= 2.16
+
2012-08-21 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* DETAILS: 4.3.8

diff --git a/ftp/lftp/PRE_BUILD b/ftp/lftp/PRE_BUILD
new file mode 100755
index 0000000..1e710c5
--- /dev/null
+++ b/ftp/lftp/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+
+patch -p1 < "$SPELL_DIRECTORY/gets.patch"
diff --git a/ftp/lftp/gets.patch b/ftp/lftp/gets.patch
new file mode 100644
index 0000000..b0a6fbb
--- /dev/null
+++ b/ftp/lftp/gets.patch
@@ -0,0 +1,16 @@
+
+--- a/lib/stdio.in.h
++++ b/lib/stdio.in.h
+@@ -702,10 +702,12 @@
+ /* 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@



  • [SM-Commit] GIT changes to master grimoire by Pol Vinogradov (308dea07c2594ff56d65b8a26fa4d8b4db99e94e), Pol Vinogradov, 09/13/2012

Archive powered by MHonArc 2.6.24.

Top of Page