summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/guile/files/remove-gets.patch
diff options
context:
space:
mode:
authorBogdan Marinescu <bogdan.a.marinescu@intel.com>2012-07-31 15:33:25 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-02 16:34:05 +0100
commit2db74c67cb169a1ed28fa14e5f89a6e64b4fb7a4 (patch)
treeb2f26d26db65bacedf8ce6d1d133ebf7bc025167 /meta/recipes-devtools/guile/files/remove-gets.patch
parenta4b1e348484b74d055b8906413892789d3452f4a (diff)
downloadpoky-2db74c67cb169a1ed28fa14e5f89a6e64b4fb7a4.tar.gz
guile: updated to 2.0.6
Some patches (disable_goops_optimizations, fix_cross_compilation) don't seem to be needed anymore. Others (change-install-data-hook, mark-unused-modules) were updated to work on 2.0.6. Tested by building and running guile under QEMU with core-image-sato-sdk and also builing guile on MIPS. (From OE-Core rev: 310f169d3d89f3a4fc6a540974a30c7eb565db3a) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/guile/files/remove-gets.patch')
-rw-r--r--meta/recipes-devtools/guile/files/remove-gets.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/meta/recipes-devtools/guile/files/remove-gets.patch b/meta/recipes-devtools/guile/files/remove-gets.patch
deleted file mode 100644
index 6d3605f106..0000000000
--- a/meta/recipes-devtools/guile/files/remove-gets.patch
+++ /dev/null
@@ -1,23 +0,0 @@
1ISO C11 removes the specification of gets() from the C language, eglibc 2.16+ removed it
2
3Signed-off-by: Khem Raj <raj.khem@gmail.com>
4
5Upstream-Status: Pending
6Index: guile-2.0.5/lib/stdio.in.h
7===================================================================
8--- guile-2.0.5.orig/lib/stdio.in.h 2012-01-24 03:06:06.000000000 -0800
9+++ guile-2.0.5/lib/stdio.in.h 2012-07-04 12:28:15.617108481 -0700
10@@ -711,11 +711,13 @@
11 _GL_CXXALIAS_SYS (gets, char *, (char *s));
12 # undef gets
13 # endif
14+# if defined gets
15 _GL_CXXALIASWARN (gets);
16 /* It is very rare that the developer ever has full control of stdin,
17 so any use of gets warrants an unconditional warning. Assume it is
18 always declared, since it is required by C89. */
19 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
20+# endif
21 #endif
22
23