diff options
Diffstat (limited to 'meta/recipes-core/gettext/gettext-0.16.1/getline.m4.patch')
-rw-r--r-- | meta/recipes-core/gettext/gettext-0.16.1/getline.m4.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/meta/recipes-core/gettext/gettext-0.16.1/getline.m4.patch b/meta/recipes-core/gettext/gettext-0.16.1/getline.m4.patch deleted file mode 100644 index bf995bc622..0000000000 --- a/meta/recipes-core/gettext/gettext-0.16.1/getline.m4.patch +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | |||
2 | # Pulled from OpenEmbedded | ||
3 | # | ||
4 | # Commented by: Saul Wold <saul.wold@intel.com> | ||
5 | |||
6 | Upstream-Status: Inappropriate [licensing] | ||
7 | |||
8 | --- /gettext-tools/m4/orig-getline.m4 2003-07-18 18:11:37.000000000 +0300 | ||
9 | +++ /gettext-tools/m4/getline.m4 2007-02-03 13:33:41.000000000 +0200 | ||
10 | @@ -42,12 +42,23 @@ | ||
11 | return 1; | ||
12 | len = getline (&line, &siz, in); | ||
13 | exit ((len == 4 && line && strcmp (line, "foo\n") == 0) ? 0 : 1); | ||
14 | - } | ||
15 | - ], am_cv_func_working_getline=yes dnl The library version works. | ||
16 | - , am_cv_func_working_getline=no dnl The library version does NOT work. | ||
17 | - , am_cv_func_working_getline=no dnl We're cross compiling. | ||
18 | - )]) | ||
19 | - fi | ||
20 | + } | ||
21 | + ], am_cv_func_working_getline=yes dnl The library version works. | ||
22 | + , am_cv_func_working_getline=no dnl The library version does NOT work. | ||
23 | +! , dnl We're cross compiling. Assume ir works on glibc2 systems. | ||
24 | +! [AC_EGREP_CPP([Lucky GNU user], | ||
25 | +! [ | ||
26 | +! #include <features.h> | ||
27 | +! #ifdef __GNU_LIBRARY__ | ||
28 | +! #if (__GLIBC__ >= 2) | ||
29 | +! Lucky GNU user | ||
30 | +! #endif | ||
31 | +! #endif | ||
32 | +! ], | ||
33 | +! [am_cv_func_working_getline=yes], | ||
34 | +! [am_cv_func_working_getline=no])] | ||
35 | + )]) | ||
36 | + fi | ||
37 | |||
38 | if test $am_cv_func_working_getline = no; then | ||
39 | dnl We must choose a different name for our function, since on ELF systems | ||