summaryrefslogtreecommitdiffstats
path: root/build-aux/speedo/patches
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-09-17 21:33:32 +0200
committerWerner Koch <wk@gnupg.org>2014-09-17 22:16:53 +0200
commit36125f9c30f7d004f1e4552840211553ef6892f2 (patch)
treedb6db07d55f1707cbad9ade556a50c1c1bcd8585 /build-aux/speedo/patches
parentpo: Auto-update (diff)
downloadgnupg2-36125f9c30f7d004f1e4552840211553ef6892f2.tar.xz
gnupg2-36125f9c30f7d004f1e4552840211553ef6892f2.zip
speedo: Improve speedo Makefile.
-- Building for the native platform is now a mere make -f build-aux/speedo.mk native You may also use "help" as target.
Diffstat (limited to 'build-aux/speedo/patches')
-rwxr-xr-xbuild-aux/speedo/patches/libiconv-1.14.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/build-aux/speedo/patches/libiconv-1.14.patch b/build-aux/speedo/patches/libiconv-1.14.patch
new file mode 100755
index 000000000..5e606897f
--- /dev/null
+++ b/build-aux/speedo/patches/libiconv-1.14.patch
@@ -0,0 +1,19 @@
+#! /bin/sh
+patch -p0 -l -f $* < $0
+exit $?
+
+On some systems the gets macro has been removed and thus the test
+leads to an unresolved symbol error.
+
+--- srclib/stdio.in.h~ 2011-08-07 15:42:06.000000000 +0200
++++ srclib/stdio.in.h 2014-09-04 13:07:07.079024312 +0200
+@@ -691,11 +691,6 @@
+ _GL_CXXALIAS_SYS (gets, char *, (char *s));
+ # undef gets
+ # endif
+-_GL_CXXALIASWARN (gets);
+-/* 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