diff options
| -rw-r--r-- | meta/packages/gettext/gettext-0.17/m4fix.patch | 50 | ||||
| -rw-r--r-- | meta/packages/gettext/gettext_0.17.bb | 3 |
2 files changed, 52 insertions, 1 deletions
diff --git a/meta/packages/gettext/gettext-0.17/m4fix.patch b/meta/packages/gettext/gettext-0.17/m4fix.patch new file mode 100644 index 0000000000..a02457fab8 --- /dev/null +++ b/meta/packages/gettext/gettext-0.17/m4fix.patch | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | When I try to `./autogen.sh --quick' CVS gettext, using git Autoconf, | ||
| 2 | things fall over like this (several instances): | ||
| 3 | |||
| 4 | | gnulib-m4/openmp.m4:29: error: m4_copy: won't overwrite defined macro: | ||
| 5 | _AC_LANG_OPENMP(C++) | ||
| 6 | | gnulib-m4/openmp.m4:29: the top level | ||
| 7 | | autom4te: /usr/bin/m4 failed with exit status: 1 | ||
| 8 | | aclocal: autom4te failed with exit status: 1 | ||
| 9 | |||
| 10 | I'm not quite sure whether an Autoconf bug/incompatibility is involved | ||
| 11 | here (therefore the Cc: to bug-autoconf). m4_copy wasn't documented in | ||
| 12 | earlier Autoconf releases, but there may still have been problematic | ||
| 13 | semantic changes, I don't know. | ||
| 14 | |||
| 15 | Anyway, the following patch seems to fix it. OK to apply? | ||
| 16 | |||
| 17 | Cheers, | ||
| 18 | Ralf | ||
| 19 | |||
| 20 | 2008-12-03 Ralf Wildenhues <[EMAIL PROTECTED]> | ||
| 21 | |||
| 22 | * m4/openmp.m4 (AC_OPENMP): Do not define with Autoconf 2.62 or | ||
| 23 | newer. | ||
| 24 | |||
| 25 | Index: gettext-0.17/gettext-tools/gnulib-m4/openmp.m4 | ||
| 26 | =================================================================== | ||
| 27 | --- gettext-0.17.orig/gettext-tools/gnulib-m4/openmp.m4 2010-02-01 10:51:00.437788710 +0000 | ||
| 28 | +++ gettext-0.17/gettext-tools/gnulib-m4/openmp.m4 2010-02-01 10:51:50.697789220 +0000 | ||
| 29 | @@ -1,11 +1,13 @@ | ||
| 30 | -# openmp.m4 serial 4 | ||
| 31 | -dnl Copyright (C) 2006-2007 Free Software Foundation, Inc. | ||
| 32 | +# openmp.m4 serial 5 | ||
| 33 | +dnl Copyright (C) 2006-2008 Free Software Foundation, Inc. | ||
| 34 | dnl This file is free software; the Free Software Foundation | ||
| 35 | dnl gives unlimited permission to copy and/or distribute it, | ||
| 36 | dnl with or without modifications, as long as this notice is preserved. | ||
| 37 | |||
| 38 | dnl This file can be removed once we assume autoconf >= 2.62. | ||
| 39 | |||
| 40 | +m4_version_prereq([2.62],, [ | ||
| 41 | + | ||
| 42 | # _AC_LANG_OPENMP | ||
| 43 | # --------------- | ||
| 44 | # Expands to some language dependent source code for testing the presence of | ||
| 45 | @@ -90,3 +92,5 @@ | ||
| 46 | fi | ||
| 47 | AC_SUBST([OPENMP_]_AC_LANG_PREFIX[FLAGS]) | ||
| 48 | ]) | ||
| 49 | + | ||
| 50 | +]) | ||
diff --git a/meta/packages/gettext/gettext_0.17.bb b/meta/packages/gettext/gettext_0.17.bb index d4754c516a..fe4d167ad9 100644 --- a/meta/packages/gettext/gettext_0.17.bb +++ b/meta/packages/gettext/gettext_0.17.bb | |||
| @@ -2,7 +2,7 @@ DESCRIPTION = "The GNU internationalization library." | |||
| 2 | HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html" | 2 | HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html" |
| 3 | SECTION = "libs" | 3 | SECTION = "libs" |
| 4 | LICENSE = "GPLv3" | 4 | LICENSE = "GPLv3" |
| 5 | PR = "r4" | 5 | PR = "r5" |
| 6 | DEPENDS = "gettext-native virtual/libiconv ncurses expat" | 6 | DEPENDS = "gettext-native virtual/libiconv ncurses expat" |
| 7 | DEPENDS_virtclass-native = "" | 7 | DEPENDS_virtclass-native = "" |
| 8 | PROVIDES = "virtual/libintl" | 8 | PROVIDES = "virtual/libintl" |
| @@ -12,6 +12,7 @@ SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ | |||
| 12 | file://autotools.patch;patch=1 \ | 12 | file://autotools.patch;patch=1 \ |
| 13 | file://wchar-uclibc.patch;patch=1 \ | 13 | file://wchar-uclibc.patch;patch=1 \ |
| 14 | file://use_open_properly.patch;patch=1 \ | 14 | file://use_open_properly.patch;patch=1 \ |
| 15 | file://m4fix.patch;patch=1 \ | ||
| 15 | " | 16 | " |
| 16 | 17 | ||
| 17 | SRC_URI_append_linux-uclibc = " file://gettext-error_print_progname.patch;patch=1" | 18 | SRC_URI_append_linux-uclibc = " file://gettext-error_print_progname.patch;patch=1" |
