Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (969af8d477c1a9d60267ba69478e9d2f869e0dab)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (969af8d477c1a9d60267ba69478e9d2f869e0dab)
  • Date: Sat, 8 Dec 2012 13:31:09 -0600

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

archive/tar/HISTORY | 4 ++++
archive/tar/PRE_BUILD | 4 ++++
archive/tar/glibc215.patch | 10 ++++++++++
devel/m4/HISTORY | 4 ++++
devel/m4/PRE_BUILD | 2 ++
devel/m4/glibc215.patch | 10 ++++++++++
6 files changed, 34 insertions(+)

New commits:
commit 969af8d477c1a9d60267ba69478e9d2f869e0dab
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

tar: fixed build with glibc >=2.15

commit fbcb9253fd73cee5959ca464c767893648c6b911
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

m4: fixed build with glibc >=2.15

diff --git a/archive/tar/HISTORY b/archive/tar/HISTORY
index 77f380d..57e0fb4 100644
--- a/archive/tar/HISTORY
+++ b/archive/tar/HISTORY
@@ -1,3 +1,7 @@
+2012-12-08 Vlad Glagolev <stealth AT sourcemage.org>
+ * PRE_BUILD: added, to apply the patch
+ * glibc215.patch: added, to fix build with glibc >=2.15
+
2011-04-10 Vlad Glagolev <stealth AT sourcemage.org>
* DEPENDS: added gettext optional dependency

diff --git a/archive/tar/PRE_BUILD b/archive/tar/PRE_BUILD
new file mode 100755
index 0000000..7b5070f
--- /dev/null
+++ b/archive/tar/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+patch -p0 < "$SPELL_DIRECTORY/glibc215.patch"
diff --git a/archive/tar/glibc215.patch b/archive/tar/glibc215.patch
new file mode 100644
index 0000000..2a903b2
--- /dev/null
+++ b/archive/tar/glibc215.patch
@@ -0,0 +1,10 @@
+--- gnu/stdio.in.h.orig 2011-03-12 12:14:33.000000000 +0300
++++ gnu/stdio.in.h 2012-12-08 23:25:16.851175859 +0400
+@@ -164,7 +164,6 @@
+ so any use of gets warrants an unconditional warning. Assume it is
+ always declared, since it is required by C89. */
+ #undef gets
+-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+
+ #if @GNULIB_FOPEN@
+ # if @REPLACE_FOPEN@
diff --git a/devel/m4/HISTORY b/devel/m4/HISTORY
index 40a356a..7ca5ce7 100644
--- a/devel/m4/HISTORY
+++ b/devel/m4/HISTORY
@@ -1,3 +1,7 @@
+2012-12-08 Vlad Glagolev <stealth AT sourcemage.org>
+ * PRE_BUILD: apply the patch
+ * glibc215.patch: added, to fix build with glibc >=2.15
+
2011-08-23 Bor Kraljič <pyrobor AT ver.si>
* DETAILS: use gnu.gpg instead of eblake.gpg
* eblake.gpg: removed, no longer needed
diff --git a/devel/m4/PRE_BUILD b/devel/m4/PRE_BUILD
index b7e085e..62c7b7c 100755
--- a/devel/m4/PRE_BUILD
+++ b/devel/m4/PRE_BUILD
@@ -1,4 +1,6 @@
default_pre_build &&
cd ${SOURCE_DIRECTORY} &&

+patch -p0 < "$SPELL_DIRECTORY/glibc215.patch" &&
+
sed -i '/#include "m4.h"/i#include <sys/stat.h>' src/path.c
diff --git a/devel/m4/glibc215.patch b/devel/m4/glibc215.patch
new file mode 100644
index 0000000..9b6f475
--- /dev/null
+++ b/devel/m4/glibc215.patch
@@ -0,0 +1,10 @@
+--- lib/stdio.in.h.orig 2011-03-01 19:39:29.000000000 +0300
++++ lib/stdio.in.h 2012-12-08 23:01:59.570142449 +0400
+@@ -162,7 +162,6 @@
+ so any use of gets warrants an unconditional warning. Assume it is
+ always declared, since it is required by C89. */
+ #undef gets
+-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+
+ #if @GNULIB_FOPEN@
+ # if @REPLACE_FOPEN@



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (969af8d477c1a9d60267ba69478e9d2f869e0dab), Vlad Glagolev, 12/08/2012

Archive powered by MHonArc 2.6.24.

Top of Page