commit 8c2cf58a2def1fdba00f98984af20581448330a8
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
x11/xscreensaver: version 5.20
commit d9fdfee4176beaeb25d09d307ff452aba91b19e2
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
libs/enet: version 1.3.5
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/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
+
+
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@
diff --git a/libs/enet/DETAILS b/libs/enet/DETAILS
index d19ca57..a7f1c73 100755
--- a/libs/enet/DETAILS
+++ b/libs/enet/DETAILS
@@ -1,8 +1,8 @@
SPELL=enet
- VERSION=1.3.3
+ VERSION=1.3.5
SOURCE="${SPELL}-${VERSION}.tar.gz"
SOURCE_URL[0]=http://${SPELL}.bespin.org/download/${SOURCE}
-
SOURCE_HASH=sha512:2f75b59cc3c7c45df73a03fa4a98449d8ac06e5c7302035d7e2cf87f8520f51f74d7bdd1c1a9c1263e95296d2b3bf495fb12f05c7af08ba945234db76358806d
+
SOURCE_HASH=sha512:e832cdf068a73ee0028b144d10917b8a824867d8a5b95f03256236225a45085eb0fe93d5b2d8e9f742b9d02e7be8ecea41683547685acfc663b0bdb5efba6d4f
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
WEB_SITE="http://enet.bespin.org/index.html"
LICENSE[0]=MIT
diff --git a/libs/enet/HISTORY b/libs/enet/HISTORY
index 4738857..398f4af 100644
--- a/libs/enet/HISTORY
+++ b/libs/enet/HISTORY
@@ -1,3 +1,6 @@
+2012-12-08 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * DETAILS: version 1.3.5
+
2012-04-14 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* DETAILS: spell created