diff options
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-2.18/fileops-without-wchar-io.patch')
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-2.18/fileops-without-wchar-io.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/fileops-without-wchar-io.patch b/meta/recipes-core/eglibc/eglibc-2.18/fileops-without-wchar-io.patch new file mode 100644 index 0000000000..2ca0bca248 --- /dev/null +++ b/meta/recipes-core/eglibc/eglibc-2.18/fileops-without-wchar-io.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | Fix error like | ||
2 | |||
3 | /home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/work/mips64-oe-linux/eglibc-2.16-r2+svnr19383/build-mips64-oe-linux/libc_pic.os: In function `_IO_new_file_fopen': | ||
4 | /home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/work/mips64-oe-linux/eglibc-2.16-r2+svnr19383/eglibc-2_16/libc/libio/fileops.c:431: undefined reference to `_IO_file_close_it_internal' | ||
5 | collect2: error: ld returned 1 exit status | ||
6 | |||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | Upstream-Status: Pending | ||
10 | Index: libc/libio/fileops.c | ||
11 | =================================================================== | ||
12 | --- libc.orig/libio/fileops.c 2012-07-04 18:25:47.000000000 -0700 | ||
13 | +++ libc/libio/fileops.c 2012-07-24 00:21:17.220322557 -0700 | ||
14 | @@ -428,7 +428,7 @@ | ||
15 | result->_mode = 1; | ||
16 | #else | ||
17 | /* Treat this as if we couldn't find the given character set. */ | ||
18 | - (void) INTUSE(_IO_file_close_it) (fp); | ||
19 | + (void) _IO_file_close_it (fp); | ||
20 | __set_errno (EINVAL); | ||
21 | return NULL; | ||
22 | #endif | ||