diff options
| -rw-r--r-- | recipes-core/gettext/gettext/fix-gl_cv_prog_as_underscore-test.patch | 67 | ||||
| -rw-r--r-- | recipes-core/gettext/gettext_%.bbappend (renamed from recipes-core/gettext/gettext_0.19.%.bbappend) | 1 |
2 files changed, 0 insertions, 68 deletions
diff --git a/recipes-core/gettext/gettext/fix-gl_cv_prog_as_underscore-test.patch b/recipes-core/gettext/gettext/fix-gl_cv_prog_as_underscore-test.patch deleted file mode 100644 index 636789f..0000000 --- a/recipes-core/gettext/gettext/fix-gl_cv_prog_as_underscore-test.patch +++ /dev/null | |||
| @@ -1,67 +0,0 @@ | |||
| 1 | Backport gnulib fix for mingw into gettext's included version of gnulib | ||
| 2 | |||
| 3 | http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=68b6adebef05670a312fb92b05e7bd089d2ed43a | ||
| 4 | |||
| 5 | Upstream-Status: Backport | ||
| 6 | Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> | ||
| 7 | |||
| 8 | --- a/gettext-runtime/gnulib-m4/asm-underscore.m4 | ||
| 9 | +++ b/gettext-runtime/gnulib-m4/asm-underscore.m4 | ||
| 10 | @@ -27,11 +27,11 @@ | ||
| 11 | #endif | ||
| 12 | int foo(void) { return 0; } | ||
| 13 | EOF | ||
| 14 | # Look for the assembly language name in the .s file. | ||
| 15 | AC_TRY_COMMAND(${CC-cc} $CFLAGS $CPPFLAGS $gl_c_asm_opt conftest.c) >/dev/null 2>&1 | ||
| 16 | - if LC_ALL=C grep -E '(^|[^a-zA-Z0-9_])_foo([^a-zA-Z0-9_]|$)' conftest.$gl_asmext >/dev/null; then | ||
| 17 | + if LC_ALL=C grep -E '(^|[[^a-zA-Z0-9_]])_foo([[^a-zA-Z0-9_]]|$)' conftest.$gl_asmext >/dev/null; then | ||
| 18 | gl_cv_prog_as_underscore=yes | ||
| 19 | else | ||
| 20 | gl_cv_prog_as_underscore=no | ||
| 21 | fi | ||
| 22 | rm -f conftest* | ||
| 23 | --- a/gettext-runtime/configure | ||
| 24 | +++ b/gettext-runtime/configure | ||
| 25 | @@ -24601,11 +24601,11 @@ | ||
| 26 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 | ||
| 27 | (eval $ac_try) 2>&5 | ||
| 28 | ac_status=$? | ||
| 29 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 30 | test $ac_status = 0; }; } >/dev/null 2>&1 | ||
| 31 | - if LC_ALL=C grep -E '(^|^a-zA-Z0-9_)_foo(^a-zA-Z0-9_|$)' conftest.$gl_asmext >/dev/null; then | ||
| 32 | + if LC_ALL=C grep -E '(^|[^a-zA-Z0-9_])_foo([^a-zA-Z0-9_]|$)' conftest.$gl_asmext >/dev/null; then | ||
| 33 | gl_cv_prog_as_underscore=yes | ||
| 34 | else | ||
| 35 | gl_cv_prog_as_underscore=no | ||
| 36 | fi | ||
| 37 | rm -f conftest* | ||
| 38 | --- a/gettext-tools/gnulib-m4/asm-underscore.m4 | ||
| 39 | +++ b/gettext-tools/gnulib-m4/asm-underscore.m4 | ||
| 40 | @@ -27,11 +27,11 @@ | ||
| 41 | #endif | ||
| 42 | int foo(void) { return 0; } | ||
| 43 | EOF | ||
| 44 | # Look for the assembly language name in the .s file. | ||
| 45 | AC_TRY_COMMAND(${CC-cc} $CFLAGS $CPPFLAGS $gl_c_asm_opt conftest.c) >/dev/null 2>&1 | ||
| 46 | - if LC_ALL=C grep -E '(^|[^a-zA-Z0-9_])_foo([^a-zA-Z0-9_]|$)' conftest.$gl_asmext >/dev/null; then | ||
| 47 | + if LC_ALL=C grep -E '(^|[[^a-zA-Z0-9_]])_foo([[^a-zA-Z0-9_]]|$)' conftest.$gl_asmext >/dev/null; then | ||
| 48 | gl_cv_prog_as_underscore=yes | ||
| 49 | else | ||
| 50 | gl_cv_prog_as_underscore=no | ||
| 51 | fi | ||
| 52 | rm -f conftest* | ||
| 53 | --- a/gettext-tools/configure | ||
| 54 | +++ b/gettext-tools/configure | ||
| 55 | @@ -32284,11 +32284,11 @@ | ||
| 56 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 | ||
| 57 | (eval $ac_try) 2>&5 | ||
| 58 | ac_status=$? | ||
| 59 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 60 | test $ac_status = 0; }; } >/dev/null 2>&1 | ||
| 61 | - if LC_ALL=C grep -E '(^|^a-zA-Z0-9_)_foo(^a-zA-Z0-9_|$)' conftest.$gl_asmext >/dev/null; then | ||
| 62 | + if LC_ALL=C grep -E '(^|[^a-zA-Z0-9_])_foo([^a-zA-Z0-9_]|$)' conftest.$gl_asmext >/dev/null; then | ||
| 63 | gl_cv_prog_as_underscore=yes | ||
| 64 | else | ||
| 65 | gl_cv_prog_as_underscore=no | ||
| 66 | fi | ||
| 67 | rm -f conftest* | ||
diff --git a/recipes-core/gettext/gettext_0.19.%.bbappend b/recipes-core/gettext/gettext_%.bbappend index 21749f3..d518698 100644 --- a/recipes-core/gettext/gettext_0.19.%.bbappend +++ b/recipes-core/gettext/gettext_%.bbappend | |||
| @@ -2,7 +2,6 @@ EXTRA_OECONF_append_mingw32 = " --enable-static" | |||
| 2 | 2 | ||
| 3 | FILESEXTRAPATHS_prepend_mingw32 := "${THISDIR}/${BPN}:" | 3 | FILESEXTRAPATHS_prepend_mingw32 := "${THISDIR}/${BPN}:" |
| 4 | SRC_URI_append_mingw32 = " \ | 4 | SRC_URI_append_mingw32 = " \ |
| 5 | file://fix-gl_cv_prog_as_underscore-test.patch \ | ||
| 6 | " | 5 | " |
| 7 | 6 | ||
| 8 | FILES_libgettextlib_mingw32 = "${bindir}/libgettextlib-*.dll" | 7 | FILES_libgettextlib_mingw32 = "${bindir}/libgettextlib-*.dll" |
