Skip to Content.
Sympa Menu

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

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 (c598ef39fae39104dd447c9e472a924a32ba314f)
  • Date: Sat, 8 Dec 2012 13:40:53 -0600

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

devel/diffutils/HISTORY | 4 ++++
devel/diffutils/PRE_BUILD | 4 ++++
devel/diffutils/glibc215.patch | 10 ++++++++++
3 files changed, 18 insertions(+)

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

diffutils: fixed build with glibc >=2.15

diff --git a/devel/diffutils/HISTORY b/devel/diffutils/HISTORY
index 939c603..83bfd8a 100644
--- a/devel/diffutils/HISTORY
+++ b/devel/diffutils/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-09-02 Ladislav Hagara <hgr AT vabo.cz>
* DETAILS: 3.2

diff --git a/devel/diffutils/PRE_BUILD b/devel/diffutils/PRE_BUILD
new file mode 100755
index 0000000..7b5070f
--- /dev/null
+++ b/devel/diffutils/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+patch -p0 < "$SPELL_DIRECTORY/glibc215.patch"
diff --git a/devel/diffutils/glibc215.patch b/devel/diffutils/glibc215.patch
new file mode 100644
index 0000000..c5d0491
--- /dev/null
+++ b/devel/diffutils/glibc215.patch
@@ -0,0 +1,10 @@
+--- lib/stdio.in.h.orig 2011-08-28 15:57:28.000000000 +0400
++++ lib/stdio.in.h 2012-12-08 23:35:19.953175862 +0400
+@@ -697,7 +697,6 @@
+ /* It is very rare that the developer ever has full control of stdin,
+ so any use of gets warrants an unconditional warning. Assume it is
+ always declared, since it is required by C89. */
+-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #endif
+
+



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

Archive powered by MHonArc 2.6.24.

Top of Page