diff options
Diffstat (limited to 'meta')
12 files changed, 666 insertions, 577 deletions
diff --git a/meta/recipes-core/gettext/gettext-0.14.1/gettext-vpath.patch b/meta/recipes-core/gettext/gettext-0.14.1/gettext-vpath.patch deleted file mode 100644 index e31243b066..0000000000 --- a/meta/recipes-core/gettext/gettext-0.14.1/gettext-vpath.patch +++ /dev/null @@ -1,15 +0,0 @@ -# Pulled from OpenEmbedded -# -# Commented by: Saul Wold <saul.wold@intel.com> - ---- gettext-0.14.1/gettext-runtime/intl/Makefile.in~ 2004-04-09 13:23:40.000000000 +0100 -+++ gettext-0.14.1/gettext-runtime/intl/Makefile.in 2004-04-09 13:22:05.000000000 +0100 -@@ -24,7 +24,7 @@ - srcdir = $(top_srcdir)/../gettext-runtime/intl - top_srcdir = /var/tmp/oe-tmp.pb/base/gettext-0.14.1-r0/gettext-0.14.1/gettext-tools - top_builddir = .. --VPATH = $(srcdir) -+#VPATH = $(srcdir) - - prefix = /usr - exec_prefix = /usr diff --git a/meta/recipes-core/gettext/gettext-0.14.1/disable_java.patch b/meta/recipes-core/gettext/gettext-0.16.1/disable_java.patch index f1ae816f37..cf7dc55b68 100644 --- a/meta/recipes-core/gettext/gettext-0.14.1/disable_java.patch +++ b/meta/recipes-core/gettext/gettext-0.16.1/disable_java.patch @@ -2,31 +2,30 @@ # # Commented by: Saul Wold <saul.wold@intel.com> -Index: gettext-0.14.1/gettext-tools/configure.ac +Index: gettext-0.16.1/gettext-tools/configure.ac =================================================================== ---- gettext-0.14.1.orig/gettext-tools/configure.ac 2004-01-16 10:49:06.000000000 +0000 -+++ gettext-0.14.1/gettext-tools/configure.ac 2007-11-14 21:43:39.000000000 +0000 -@@ -37,28 +37,16 @@ - AC_PROG_YACC +--- gettext-0.16.1.orig/gettext-tools/configure.ac 2006-11-27 09:02:01.000000000 -0800 ++++ gettext-0.16.1/gettext-tools/configure.ac 2011-03-16 16:55:36.111396557 -0700 +@@ -36,27 +36,15 @@ + gt_JAVA_CHOICE gt_GCJ --if test -n "$HAVE_GCJ"; then +-if test -n "$HAVE_GCJ" && test "$JAVA_CHOICE" = yes; then - BUILDJAVAEXE=yes -else BUILDJAVAEXE=no -fi AC_SUBST(BUILDJAVAEXE) - gt_JAVACOMP + gt_JAVAEXEC + gt_JAVACOMP([1.3]) AC_CHECK_PROG(JAR, jar, jar) --if test -n "$HAVE_JAVACOMP" && test -n "$JAR"; then +-if test -n "$HAVE_JAVACOMP" && test -n "$JAR" && test "$JAVA_CHOICE" != no; then - BUILDJAVA=yes -else BUILDJAVA=no -fi AC_SUBST(BUILDJAVA) - - gt_JAVAEXEC -if test -n "$HAVE_JAVAEXEC" && test $BUILDJAVA = yes; then - TESTJAVA=yes -else diff --git a/meta/recipes-core/gettext/gettext-0.16.1/fix_aclocal_version.patch b/meta/recipes-core/gettext/gettext-0.16.1/fix_aclocal_version.patch new file mode 100644 index 0000000000..3796052a55 --- /dev/null +++ b/meta/recipes-core/gettext/gettext-0.16.1/fix_aclocal_version.patch @@ -0,0 +1,107 @@ +This patch updates the required version number from 2.61 to the +current 2.65 version of aclocal, this will need to be updated +when we update aclocal + +Signed-off-by Saul Wold <sgw@linux.intel.com> + +Index: gettext-0.16.1/autoconf-lib-link/m4/lib-link.m4 +=================================================================== +--- gettext-0.16.1.orig/autoconf-lib-link/m4/lib-link.m4 2011-03-17 02:24:36.391519775 -0700 ++++ gettext-0.16.1/autoconf-lib-link/m4/lib-link.m4 2011-03-17 02:24:45.569526073 -0700 +@@ -148,7 +148,7 @@ + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + dnl Autoconf >= 2.61 supports dots in --with options. +- define([N_A_M_E],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit([$1],[.],[_])],[$1])]) ++ define([N_A_M_E],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.65]),[-1],[translit([$1],[.],[_])],[$1])]) + dnl By default, look in $includedir and $libdir. + use_additional=yes + AC_LIB_WITH_FINAL_PREFIX([ +Index: gettext-0.16.1/autoconf-lib-link/tests/rpathly/aclocal.m4 +=================================================================== +--- gettext-0.16.1.orig/autoconf-lib-link/tests/rpathly/aclocal.m4 2011-03-17 02:24:36.391519775 -0700 ++++ gettext-0.16.1/autoconf-lib-link/tests/rpathly/aclocal.m4 2011-03-17 02:24:45.570526904 -0700 +@@ -11,8 +11,8 @@ + # even the implied warranty of MERCHANTABILITY or FITNESS FOR A + # PARTICULAR PURPOSE. + +-m4_if(m4_PACKAGE_VERSION, [2.61],, +-[m4_fatal([this file was generated for autoconf 2.61. ++m4_if(m4_PACKAGE_VERSION, [2.65],, ++[m4_fatal([this file was generated for autoconf 2.65. + You have another version of autoconf. If you want to use that, + you should regenerate the build system entirely.], [63])]) + +Index: gettext-0.16.1/autoconf-lib-link/tests/rpathx/aclocal.m4 +=================================================================== +--- gettext-0.16.1.orig/autoconf-lib-link/tests/rpathx/aclocal.m4 2011-03-17 02:24:36.391519775 -0700 ++++ gettext-0.16.1/autoconf-lib-link/tests/rpathx/aclocal.m4 2011-03-17 02:24:45.572525773 -0700 +@@ -11,8 +11,8 @@ + # even the implied warranty of MERCHANTABILITY or FITNESS FOR A + # PARTICULAR PURPOSE. + +-m4_if(m4_PACKAGE_VERSION, [2.61],, +-[m4_fatal([this file was generated for autoconf 2.61. ++m4_if(m4_PACKAGE_VERSION, [2.65],, ++[m4_fatal([this file was generated for autoconf 2.65. + You have another version of autoconf. If you want to use that, + you should regenerate the build system entirely.], [63])]) + +Index: gettext-0.16.1/autoconf-lib-link/tests/rpathy/aclocal.m4 +=================================================================== +--- gettext-0.16.1.orig/autoconf-lib-link/tests/rpathy/aclocal.m4 2011-03-17 02:24:36.391519775 -0700 ++++ gettext-0.16.1/autoconf-lib-link/tests/rpathy/aclocal.m4 2011-03-17 02:24:45.578394916 -0700 +@@ -11,7 +11,7 @@ + # even the implied warranty of MERCHANTABILITY or FITNESS FOR A + # PARTICULAR PURPOSE. + +-m4_if(m4_PACKAGE_VERSION, [2.61],, ++m4_if(m4_PACKAGE_VERSION, [2.65],, + [m4_fatal([this file was generated for autoconf 2.61. + You have another version of autoconf. If you want to use that, + you should regenerate the build system entirely.], [63])]) +Index: gettext-0.16.1/autoconf-lib-link/tests/rpathz/aclocal.m4 +=================================================================== +--- gettext-0.16.1.orig/autoconf-lib-link/tests/rpathz/aclocal.m4 2011-03-17 02:24:36.391519775 -0700 ++++ gettext-0.16.1/autoconf-lib-link/tests/rpathz/aclocal.m4 2011-03-17 02:24:45.586395416 -0700 +@@ -11,8 +11,8 @@ + # even the implied warranty of MERCHANTABILITY or FITNESS FOR A + # PARTICULAR PURPOSE. + +-m4_if(m4_PACKAGE_VERSION, [2.61],, +-[m4_fatal([this file was generated for autoconf 2.61. ++m4_if(m4_PACKAGE_VERSION, [2.65],, ++[m4_fatal([this file was generated for autoconf 2.65. + You have another version of autoconf. If you want to use that, + you should regenerate the build system entirely.], [63])]) + +Index: gettext-0.16.1/gettext-tools/aclocal.m4 +=================================================================== +--- gettext-0.16.1.orig/gettext-tools/aclocal.m4 2006-11-27 09:34:32.000000000 -0800 ++++ gettext-0.16.1/gettext-tools/aclocal.m4 2011-03-17 02:27:01.135682807 -0700 +@@ -11,8 +11,8 @@ + # even the implied warranty of MERCHANTABILITY or FITNESS FOR A + # PARTICULAR PURPOSE. + +-m4_if(m4_PACKAGE_VERSION, [2.61],, +-[m4_fatal([this file was generated for autoconf 2.61. ++m4_if(m4_PACKAGE_VERSION, [2.65],, ++[m4_fatal([this file was generated for autoconf 2.65. + You have another version of autoconf. If you want to use that, + you should regenerate the build system entirely.], [63])]) + +Index: gettext-0.16.1/gettext-tools/examples/aclocal.m4 +=================================================================== +--- gettext-0.16.1.orig/gettext-tools/examples/aclocal.m4 2006-11-27 09:16:23.000000000 -0800 ++++ gettext-0.16.1/gettext-tools/examples/aclocal.m4 2011-03-17 02:26:52.589396683 -0700 +@@ -11,8 +11,8 @@ + # even the implied warranty of MERCHANTABILITY or FITNESS FOR A + # PARTICULAR PURPOSE. + +-m4_if(m4_PACKAGE_VERSION, [2.61],, +-[m4_fatal([this file was generated for autoconf 2.61. ++m4_if(m4_PACKAGE_VERSION, [2.65],, ++[m4_fatal([this file was generated for autoconf 2.65. + You have another version of autoconf. If you want to use that, + you should regenerate the build system entirely.], [63])]) + diff --git a/meta/recipes-core/gettext/gettext-0.16.1/fix_gnu_source_circular.patch b/meta/recipes-core/gettext/gettext-0.16.1/fix_gnu_source_circular.patch new file mode 100644 index 0000000000..8b42f1b37d --- /dev/null +++ b/meta/recipes-core/gettext/gettext-0.16.1/fix_gnu_source_circular.patch @@ -0,0 +1,345 @@ +This patch removes the circular dependency on AC_GNU_SOURCE in +AC_USE_SYSTEM_EXTENSIONS. + +Thanks to Mark Hatle for the timely pointers and fixes. + +Signed-off-by Saul Wold <sgw@linux.intel.com> + +diff -ru gettext-0.16.1/gettext-runtime/gnulib-m4/extensions.m4 gettext.patched/gettext-runtime/gnulib-m4/extensions.m4 +--- gettext-0.16.1/gettext-runtime/gnulib-m4/extensions.m4 2006-11-27 09:14:38.000000000 -0800 ++++ gettext.patched/gettext-runtime/gnulib-m4/extensions.m4 2011-03-16 23:54:01.711923448 -0700 +@@ -16,43 +16,47 @@ + # ------------------------ + # Enable extensions on systems that normally disable them, + # typically due to standards-conformance issues. +-AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS], +-[ +- AC_BEFORE([$0], [AC_COMPILE_IFELSE]) +- AC_BEFORE([$0], [AC_RUN_IFELSE]) +- +- AC_REQUIRE([AC_GNU_SOURCE]) +- AC_REQUIRE([AC_AIX]) +- AC_REQUIRE([AC_MINIX]) +- +- AH_VERBATIM([__EXTENSIONS__], +-[/* Enable extensions on Solaris. */ +-#ifndef __EXTENSIONS__ +-# undef __EXTENSIONS__ +-#endif +-#ifndef _POSIX_PTHREAD_SEMANTICS +-# undef _POSIX_PTHREAD_SEMANTICS +-#endif +-#ifndef _TANDEM_SOURCE +-# undef _TANDEM_SOURCE +-#endif]) +- AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__], +- [ac_cv_safe_to_define___extensions__], +- [AC_COMPILE_IFELSE( +- [AC_LANG_PROGRAM([ +-# define __EXTENSIONS__ 1 +- AC_INCLUDES_DEFAULT])], +- [ac_cv_safe_to_define___extensions__=yes], +- [ac_cv_safe_to_define___extensions__=no])]) +- test $ac_cv_safe_to_define___extensions__ = yes && +- AC_DEFINE([__EXTENSIONS__]) +- AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) +- AC_DEFINE([_TANDEM_SOURCE]) +-]) ++#AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS], ++#[ ++# AC_BEFORE([$0], [AC_COMPILE_IFELSE]) ++# AC_BEFORE([$0], [AC_RUN_IFELSE]) ++# ++# AC_REQUIRE([AC_GNU_SOURCE]) ++# AC_REQUIRE([AC_AIX]) ++# AC_REQUIRE([AC_MINIX]) ++# ++# AH_VERBATIM([__EXTENSIONS__], ++#[/* Enable extensions on Solaris. */ ++##ifndef __EXTENSIONS__ ++## undef __EXTENSIONS__ ++##endif ++##ifndef _POSIX_PTHREAD_SEMANTICS ++## undef _POSIX_PTHREAD_SEMANTICS ++##endif ++##ifndef _TANDEM_SOURCE ++## undef _TANDEM_SOURCE ++##endif]) ++# AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__], ++# [ac_cv_safe_to_define___extensions__], ++# [AC_COMPILE_IFELSE( ++# [AC_LANG_PROGRAM([ ++## define __EXTENSIONS__ 1 ++# AC_INCLUDES_DEFAULT])], ++# [ac_cv_safe_to_define___extensions__=yes], ++# [ac_cv_safe_to_define___extensions__=no])]) ++# test $ac_cv_safe_to_define___extensions__ = yes && ++# AC_DEFINE([__EXTENSIONS__]) ++# AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) ++# AC_DEFINE([_TANDEM_SOURCE]) ++#]) + + # gl_USE_SYSTEM_EXTENSIONS + # ------------------------ + # Enable extensions on systems that normally disable them, + # typically due to standards-conformance issues. + AC_DEFUN([gl_USE_SYSTEM_EXTENSIONS], +- [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])]) ++[ ++ AC_REQUIRE([AC_GNU_SOURCE]) ++ ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++]) +diff -ru gettext-0.16.1/gettext-runtime/gnulib-m4/gnulib-comp.m4 gettext.patched/gettext-runtime/gnulib-m4/gnulib-comp.m4 +--- gettext-0.16.1/gettext-runtime/gnulib-m4/gnulib-comp.m4 2006-11-27 09:33:19.000000000 -0800 ++++ gettext.patched/gettext-runtime/gnulib-m4/gnulib-comp.m4 2011-03-16 23:50:17.471531838 -0700 +@@ -25,7 +25,7 @@ + m4_pattern_allow([^gl_LIBOBJS$])dnl a variable + m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable + AC_REQUIRE([AC_PROG_RANLIB]) +- AC_REQUIRE([AC_GNU_SOURCE]) ++ dnl AC_REQUIRE([AC_GNU_SOURCE]) + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) + ]) + +diff -ru gettext-0.16.1/gettext-runtime/gnulib-m4/mbchar.m4 gettext.patched/gettext-runtime/gnulib-m4/mbchar.m4 +--- gettext-0.16.1/gettext-runtime/gnulib-m4/mbchar.m4 2006-11-27 09:14:38.000000000 -0800 ++++ gettext.patched/gettext-runtime/gnulib-m4/mbchar.m4 2011-03-16 23:50:10.814396529 -0700 +@@ -9,7 +9,7 @@ + + AC_DEFUN([gl_MBCHAR], + [ +- AC_REQUIRE([AC_GNU_SOURCE]) ++ dnl AC_REQUIRE([AC_GNU_SOURCE]) + dnl The following line is that so the user can test HAVE_WCHAR_H + dnl before #include "mbchar.h". + AC_CHECK_HEADERS_ONCE([wchar.h]) +diff -ru gettext-0.16.1/gettext-runtime/gnulib-m4/wcwidth.m4 gettext.patched/gettext-runtime/gnulib-m4/wcwidth.m4 +--- gettext-0.16.1/gettext-runtime/gnulib-m4/wcwidth.m4 2006-11-27 09:14:38.000000000 -0800 ++++ gettext.patched/gettext-runtime/gnulib-m4/wcwidth.m4 2011-03-16 23:50:08.357396247 -0700 +@@ -7,7 +7,7 @@ + AC_DEFUN([gl_FUNC_WCWIDTH], + [ + dnl Persuade glibc <wchar.h> to declare wcwidth(). +- AC_REQUIRE([AC_GNU_SOURCE]) ++ dnl AC_REQUIRE([AC_GNU_SOURCE]) + + AC_REQUIRE([AC_C_INLINE]) + AC_REQUIRE([gt_TYPE_WCHAR_T]) +diff -ru gettext-0.16.1/gettext-runtime/m4/lock.m4 gettext.patched/gettext-runtime/m4/lock.m4 +--- gettext-0.16.1/gettext-runtime/m4/lock.m4 2006-10-24 13:59:59.000000000 -0700 ++++ gettext.patched/gettext-runtime/m4/lock.m4 2011-03-16 23:50:04.355891676 -0700 +@@ -35,7 +35,7 @@ + AC_BEFORE([$0], [gl_ARGP])dnl + + AC_REQUIRE([AC_CANONICAL_HOST]) +- AC_REQUIRE([AC_GNU_SOURCE]) dnl needed for pthread_rwlock_t on glibc systems ++ dnl AC_REQUIRE([AC_GNU_SOURCE]) dnl needed for pthread_rwlock_t on glibc systems + dnl Check for multithreading. + AC_ARG_ENABLE(threads, + AC_HELP_STRING([--enable-threads={posix|solaris|pth|win32}], [specify multithreading API]) +diff -ru gettext-0.16.1/gettext-tools/gnulib-m4/extensions.m4 gettext.patched/gettext-tools/gnulib-m4/extensions.m4 +--- gettext-0.16.1/gettext-tools/gnulib-m4/extensions.m4 2006-11-27 09:14:54.000000000 -0800 ++++ gettext.patched/gettext-tools/gnulib-m4/extensions.m4 2011-03-16 23:53:28.487671266 -0700 +@@ -16,43 +16,47 @@ + # ------------------------ + # Enable extensions on systems that normally disable them, + # typically due to standards-conformance issues. +-AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS], +-[ +- AC_BEFORE([$0], [AC_COMPILE_IFELSE]) +- AC_BEFORE([$0], [AC_RUN_IFELSE]) +- +- AC_REQUIRE([AC_GNU_SOURCE]) +- AC_REQUIRE([AC_AIX]) +- AC_REQUIRE([AC_MINIX]) +- +- AH_VERBATIM([__EXTENSIONS__], +-[/* Enable extensions on Solaris. */ +-#ifndef __EXTENSIONS__ +-# undef __EXTENSIONS__ +-#endif +-#ifndef _POSIX_PTHREAD_SEMANTICS +-# undef _POSIX_PTHREAD_SEMANTICS +-#endif +-#ifndef _TANDEM_SOURCE +-# undef _TANDEM_SOURCE +-#endif]) +- AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__], +- [ac_cv_safe_to_define___extensions__], +- [AC_COMPILE_IFELSE( +- [AC_LANG_PROGRAM([ +-# define __EXTENSIONS__ 1 +- AC_INCLUDES_DEFAULT])], +- [ac_cv_safe_to_define___extensions__=yes], +- [ac_cv_safe_to_define___extensions__=no])]) +- test $ac_cv_safe_to_define___extensions__ = yes && +- AC_DEFINE([__EXTENSIONS__]) +- AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) +- AC_DEFINE([_TANDEM_SOURCE]) +-]) ++#AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS], ++#[ ++# AC_BEFORE([$0], [AC_COMPILE_IFELSE]) ++# AC_BEFORE([$0], [AC_RUN_IFELSE]) ++# ++# AC_REQUIRE([AC_GNU_SOURCE]) ++# AC_REQUIRE([AC_AIX]) ++# AC_REQUIRE([AC_MINIX]) ++# ++# AH_VERBATIM([__EXTENSIONS__], ++#[/* Enable extensions on Solaris. */ ++##ifndef __EXTENSIONS__ ++## undef __EXTENSIONS__ ++##endif ++##ifndef _POSIX_PTHREAD_SEMANTICS ++## undef _POSIX_PTHREAD_SEMANTICS ++##endif ++##ifndef _TANDEM_SOURCE ++## undef _TANDEM_SOURCE ++##endif]) ++# AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__], ++# [ac_cv_safe_to_define___extensions__], ++# [AC_COMPILE_IFELSE( ++# [AC_LANG_PROGRAM([ ++## define __EXTENSIONS__ 1 ++# AC_INCLUDES_DEFAULT])], ++# [ac_cv_safe_to_define___extensions__=yes], ++# [ac_cv_safe_to_define___extensions__=no])]) ++# test $ac_cv_safe_to_define___extensions__ = yes && ++# AC_DEFINE([__EXTENSIONS__]) ++# AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) ++# AC_DEFINE([_TANDEM_SOURCE]) ++#]) + + # gl_USE_SYSTEM_EXTENSIONS + # ------------------------ + # Enable extensions on systems that normally disable them, + # typically due to standards-conformance issues. + AC_DEFUN([gl_USE_SYSTEM_EXTENSIONS], +- [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])]) ++[ ++ AC_REQUIRE([AC_GNU_SOURCE]) ++ ++ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) ++]) +diff -ru gettext-0.16.1/gettext-tools/gnulib-m4/fnmatch.m4 gettext.patched/gettext-tools/gnulib-m4/fnmatch.m4 +--- gettext-0.16.1/gettext-tools/gnulib-m4/fnmatch.m4 2006-11-27 09:14:54.000000000 -0800 ++++ gettext.patched/gettext-tools/gnulib-m4/fnmatch.m4 2011-03-16 23:52:06.477463671 -0700 +@@ -91,7 +91,7 @@ + AC_DEFUN([gl_FUNC_FNMATCH_GNU], + [ + dnl Persuade glibc <fnmatch.h> to declare FNM_CASEFOLD etc. +- AC_REQUIRE([AC_GNU_SOURCE]) ++ dnl AC_REQUIRE([AC_GNU_SOURCE]) + + FNMATCH_H= + _AC_FUNC_FNMATCH_IF([GNU], [ac_cv_func_fnmatch_gnu], +diff -ru gettext-0.16.1/gettext-tools/gnulib-m4/getdelim.m4 gettext.patched/gettext-tools/gnulib-m4/getdelim.m4 +--- gettext-0.16.1/gettext-tools/gnulib-m4/getdelim.m4 2006-11-27 09:14:54.000000000 -0800 ++++ gettext.patched/gettext-tools/gnulib-m4/getdelim.m4 2011-03-16 23:52:22.871674845 -0700 +@@ -12,7 +12,7 @@ + [ + + dnl Persuade glibc <stdio.h> to declare getdelim(). +- AC_REQUIRE([AC_GNU_SOURCE]) ++ dnl AC_REQUIRE([AC_GNU_SOURCE]) + + AC_REPLACE_FUNCS(getdelim) + AC_CHECK_DECLS_ONCE(getdelim) +diff -ru gettext-0.16.1/gettext-tools/gnulib-m4/getline.m4 gettext.patched/gettext-tools/gnulib-m4/getline.m4 +--- gettext-0.16.1/gettext-tools/gnulib-m4/getline.m4 2006-11-27 09:14:54.000000000 -0800 ++++ gettext.patched/gettext-tools/gnulib-m4/getline.m4 2011-03-16 23:51:49.829971108 -0700 +@@ -16,7 +16,7 @@ + AC_DEFUN([gl_FUNC_GETLINE], + [ + dnl Persuade glibc <stdio.h> to declare getline(). +- AC_REQUIRE([AC_GNU_SOURCE]) ++ dnl AC_REQUIRE([AC_GNU_SOURCE]) + + AC_CHECK_DECLS([getline]) + +diff -ru gettext-0.16.1/gettext-tools/gnulib-m4/gnulib-comp.m4 gettext.patched/gettext-tools/gnulib-m4/gnulib-comp.m4 +--- gettext-0.16.1/gettext-tools/gnulib-m4/gnulib-comp.m4 2006-11-27 09:33:36.000000000 -0800 ++++ gettext.patched/gettext-tools/gnulib-m4/gnulib-comp.m4 2011-03-16 23:52:18.970450488 -0700 +@@ -25,7 +25,7 @@ + m4_pattern_allow([^gl_LIBOBJS$])dnl a variable + m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable + AC_REQUIRE([AC_PROG_RANLIB]) +- AC_REQUIRE([AC_GNU_SOURCE]) ++ dnl AC_REQUIRE([AC_GNU_SOURCE]) + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) + AC_REQUIRE([gl_LOCK_EARLY]) + ]) +diff -ru gettext-0.16.1/gettext-tools/gnulib-m4/mbchar.m4 gettext.patched/gettext-tools/gnulib-m4/mbchar.m4 +--- gettext-0.16.1/gettext-tools/gnulib-m4/mbchar.m4 2006-11-27 09:14:55.000000000 -0800 ++++ gettext.patched/gettext-tools/gnulib-m4/mbchar.m4 2011-03-16 23:51:40.844410216 -0700 +@@ -9,7 +9,7 @@ + + AC_DEFUN([gl_MBCHAR], + [ +- AC_REQUIRE([AC_GNU_SOURCE]) ++ dnl AC_REQUIRE([AC_GNU_SOURCE]) + dnl The following line is that so the user can test HAVE_WCHAR_H + dnl before #include "mbchar.h". + AC_CHECK_HEADERS_ONCE([wchar.h]) +diff -ru gettext-0.16.1/gettext-tools/gnulib-m4/stpcpy.m4 gettext.patched/gettext-tools/gnulib-m4/stpcpy.m4 +--- gettext-0.16.1/gettext-tools/gnulib-m4/stpcpy.m4 2006-11-27 09:14:55.000000000 -0800 ++++ gettext.patched/gettext-tools/gnulib-m4/stpcpy.m4 2011-03-16 23:52:14.691396045 -0700 +@@ -7,7 +7,7 @@ + AC_DEFUN([gl_FUNC_STPCPY], + [ + dnl Persuade glibc <string.h> to declare stpcpy(). +- AC_REQUIRE([AC_GNU_SOURCE]) ++ dnl AC_REQUIRE([AC_GNU_SOURCE]) + + AC_REPLACE_FUNCS(stpcpy) + if test $ac_cv_func_stpcpy = no; then +diff -ru gettext-0.16.1/gettext-tools/gnulib-m4/stpncpy.m4 gettext.patched/gettext-tools/gnulib-m4/stpncpy.m4 +--- gettext-0.16.1/gettext-tools/gnulib-m4/stpncpy.m4 2006-11-27 09:14:55.000000000 -0800 ++++ gettext.patched/gettext-tools/gnulib-m4/stpncpy.m4 2011-03-16 23:52:10.356641459 -0700 +@@ -7,7 +7,7 @@ + AC_DEFUN([gl_FUNC_STPNCPY], + [ + dnl Persuade glibc <string.h> to declare stpncpy(). +- AC_REQUIRE([AC_GNU_SOURCE]) ++ dnl AC_REQUIRE([AC_GNU_SOURCE]) + + dnl Both glibc and AIX (4.3.3, 5.1) have an stpncpy() function + dnl declared in <string.h>. Its side effects are the same as those +diff -ru gettext-0.16.1/gettext-tools/gnulib-m4/wcwidth.m4 gettext.patched/gettext-tools/gnulib-m4/wcwidth.m4 +--- gettext-0.16.1/gettext-tools/gnulib-m4/wcwidth.m4 2006-11-27 09:14:55.000000000 -0800 ++++ gettext.patched/gettext-tools/gnulib-m4/wcwidth.m4 2011-03-16 23:51:08.260324221 -0700 +@@ -7,7 +7,7 @@ + AC_DEFUN([gl_FUNC_WCWIDTH], + [ + dnl Persuade glibc <wchar.h> to declare wcwidth(). +- AC_REQUIRE([AC_GNU_SOURCE]) ++ dnl AC_REQUIRE([AC_GNU_SOURCE]) + + AC_REQUIRE([AC_C_INLINE]) + AC_REQUIRE([gt_TYPE_WCHAR_T]) +diff -ru gettext-0.16.1/gettext-tools/libgettextpo/gnulib-m4/gnulib-comp.m4 gettext.patched/gettext-tools/libgettextpo/gnulib-m4/gnulib-comp.m4 +--- gettext-0.16.1/gettext-tools/libgettextpo/gnulib-m4/gnulib-comp.m4 2006-11-27 09:33:45.000000000 -0800 ++++ gettext.patched/gettext-tools/libgettextpo/gnulib-m4/gnulib-comp.m4 2011-03-16 23:51:02.036061317 -0700 +@@ -25,7 +25,7 @@ + m4_pattern_allow([^gl_LIBOBJS$])dnl a variable + m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable + AC_REQUIRE([AC_PROG_RANLIB]) +- AC_REQUIRE([AC_GNU_SOURCE]) ++ dnl AC_REQUIRE([AC_GNU_SOURCE]) + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) + AC_REQUIRE([gl_LOCK_EARLY]) + ]) +diff -ru gettext-0.16.1/gettext-tools/m4/regex.m4 gettext.patched/gettext-tools/m4/regex.m4 +--- gettext-0.16.1/gettext-tools/m4/regex.m4 2006-11-27 09:02:05.000000000 -0800 ++++ gettext.patched/gettext-tools/m4/regex.m4 2011-03-16 23:50:53.533477195 -0700 +@@ -116,7 +116,7 @@ + dnl to get them. + + dnl Persuade glibc <string.h> to declare mempcpy(). +- AC_REQUIRE([AC_GNU_SOURCE]) ++ dnl AC_REQUIRE([AC_GNU_SOURCE]) + + AC_REQUIRE([AC_C_RESTRICT]) + AC_REQUIRE([AC_FUNC_ALLOCA]) diff --git a/meta/recipes-core/gettext/gettext-0.14.1/fixchicken.patch b/meta/recipes-core/gettext/gettext-0.16.1/fixchicken.patch index ef51056674..ef51056674 100644 --- a/meta/recipes-core/gettext/gettext-0.14.1/fixchicken.patch +++ b/meta/recipes-core/gettext/gettext-0.16.1/fixchicken.patch diff --git a/meta/recipes-core/gettext/gettext-0.14.1/getline.m4.patch b/meta/recipes-core/gettext/gettext-0.16.1/getline.m4.patch index f71d0e1d82..f71d0e1d82 100644 --- a/meta/recipes-core/gettext/gettext-0.14.1/getline.m4.patch +++ b/meta/recipes-core/gettext/gettext-0.16.1/getline.m4.patch diff --git a/meta/recipes-core/gettext/gettext-0.14.1/gettext-autoconf-lib-link-no-L.patch b/meta/recipes-core/gettext/gettext-0.16.1/gettext-autoconf-lib-link-no-L.patch index 2fe62c0e19..e8bb2f6a38 100644 --- a/meta/recipes-core/gettext/gettext-0.14.1/gettext-autoconf-lib-link-no-L.patch +++ b/meta/recipes-core/gettext/gettext-0.16.1/gettext-autoconf-lib-link-no-L.patch @@ -1,3 +1,7 @@ +# Pulled from OpenEmbedded +# +# Commented by: Saul Wold <saul.wold@intel.com> + --- gettext-0.17/autoconf-lib-link/m4/lib-link.m4~ 2009-04-17 15:12:30.000000000 -0700 +++ gettext-0.17/autoconf-lib-link/m4/lib-link.m4 2009-04-17 15:37:39.000000000 -0700 @@ -267,6 +267,9 @@ diff --git a/meta/recipes-core/gettext/gettext-0.14.1/gettext-error_print_progname.patch b/meta/recipes-core/gettext/gettext-0.16.1/gettext-error_print_progname.patch index 96a2196a68..96a2196a68 100644 --- a/meta/recipes-core/gettext/gettext-0.14.1/gettext-error_print_progname.patch +++ b/meta/recipes-core/gettext/gettext-0.16.1/gettext-error_print_progname.patch diff --git a/meta/recipes-core/gettext/gettext-0.16.1/gettext-vpath.patch b/meta/recipes-core/gettext/gettext-0.16.1/gettext-vpath.patch new file mode 100644 index 0000000000..62420b7e44 --- /dev/null +++ b/meta/recipes-core/gettext/gettext-0.16.1/gettext-vpath.patch @@ -0,0 +1,17 @@ +# Pulled from OpenEmbedded +# +# Commented by: Saul Wold <saul.wold@intel.com> + +Index: gettext-0.16.1/gettext-runtime/intl/Makefile.in +=================================================================== +--- gettext-0.16.1.orig/gettext-runtime/intl/Makefile.in 2006-11-27 09:02:00.000000000 -0800 ++++ gettext-0.16.1/gettext-runtime/intl/Makefile.in 2011-03-16 16:04:49.175419930 -0700 +@@ -35,7 +35,7 @@ + # 'make' does the wrong thing if GNU gettext was configured with + # "./configure --srcdir=`pwd`", namely it gets confused by the .lo and .la + # files it finds in srcdir = ../../gettext-runtime/intl. +-VPATH = $(srcdir) ++#VPATH = $(srcdir) + + prefix = @prefix@ + exec_prefix = @exec_prefix@ diff --git a/meta/recipes-core/gettext/gettext-0.16.1/hardcode_macro_version.patch b/meta/recipes-core/gettext/gettext-0.16.1/hardcode_macro_version.patch new file mode 100644 index 0000000000..ef57dc254a --- /dev/null +++ b/meta/recipes-core/gettext/gettext-0.16.1/hardcode_macro_version.patch @@ -0,0 +1,48 @@ +This patch hardcodes in version 0.17 for the GETTEXT_MACRO_VERSION, +the version check is only part of 0.17 and will not affect any 0.16.1 +operations + +Signed-off-by: Saul Wold <sgw@linux.intel.com> + +Index: gettext-0.16.1/gettext-runtime/m4/po.m4 +=================================================================== +--- gettext-0.16.1.orig/gettext-runtime/m4/po.m4 2011-03-17 02:24:28.953520231 -0700 ++++ gettext-0.16.1/gettext-runtime/m4/po.m4 2011-03-17 02:28:25.455396862 -0700 +@@ -27,6 +27,9 @@ + AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake + AC_REQUIRE([AM_NLS])dnl + ++ dnl Hardcode the MACRO_VERSION to 0.17 for gnutls ++ AC_SUBST([GETTEXT_MACRO_VERSION], [0.17]) ++ + dnl Perform the following tests also if --disable-nls has been given, + dnl because they are needed for "make dist" to work. + +Index: gettext-0.16.1/gettext-runtime/po/Makefile.in.in +=================================================================== +--- gettext-0.16.1.orig/gettext-runtime/po/Makefile.in.in 2011-03-17 02:24:28.953520231 -0700 ++++ gettext-0.16.1/gettext-runtime/po/Makefile.in.in 2011-03-17 02:28:07.574395144 -0700 +@@ -10,6 +10,9 @@ + # + # Origin: gettext-0.16 + ++# Hardcode this value for gnutls building against gplv2 code ++GETTEXT_MACRO_VERSION = 0.17 ++ + PACKAGE = @PACKAGE@ + VERSION = @VERSION@ + PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +Index: gettext-0.16.1/gettext-tools/po/Makefile.in.in +=================================================================== +--- gettext-0.16.1.orig/gettext-tools/po/Makefile.in.in 2011-03-17 02:24:28.953520231 -0700 ++++ gettext-0.16.1/gettext-tools/po/Makefile.in.in 2011-03-17 02:28:07.574395144 -0700 +@@ -10,6 +10,9 @@ + # + # Origin: gettext-0.16 + ++# Hardcode this value for gnutls building against gplv2 code ++GETTEXT_MACRO_VERSION = 0.17 ++ + PACKAGE = @PACKAGE@ + VERSION = @VERSION@ + PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ diff --git a/meta/recipes-core/gettext/gettext-0.14.1/linklib_from_0.17.patch b/meta/recipes-core/gettext/gettext-0.16.1/linklib_from_0.17.patch index f4ae8467d7..2b805c9d8b 100644 --- a/meta/recipes-core/gettext/gettext-0.14.1/linklib_from_0.17.patch +++ b/meta/recipes-core/gettext/gettext-0.16.1/linklib_from_0.17.patch @@ -2,46 +2,17 @@ # # Commented by: Saul Wold <saul.wold@intel.com> -Index: gettext-0.14.1/autoconf-lib-link/m4/lib-ld.m4 +Index: gettext-0.16.1/autoconf-lib-link/m4/lib-link.m4 =================================================================== ---- gettext-0.14.1.orig/autoconf-lib-link/m4/lib-ld.m4 2008-04-15 14:32:45.000000000 +0100 -+++ gettext-0.14.1/autoconf-lib-link/m4/lib-ld.m4 2008-04-15 14:32:47.000000000 +0100 -@@ -1,10 +1,8 @@ - # lib-ld.m4 serial 3 (gettext-0.13) - dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. --dnl This file is free software, distributed under the terms of the GNU --dnl General Public License. As a special exception to the GNU General --dnl Public License, this file may be distributed as part of a program --dnl that contains a configuration script generated by Autoconf, under --dnl the same distribution terms as the rest of that program. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. - - dnl Subroutines of libtool.m4, - dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision -Index: gettext-0.14.1/autoconf-lib-link/m4/lib-link.m4 -=================================================================== ---- gettext-0.14.1.orig/autoconf-lib-link/m4/lib-link.m4 2008-04-15 14:32:45.000000000 +0100 -+++ gettext-0.14.1/autoconf-lib-link/m4/lib-link.m4 2008-04-15 14:32:47.000000000 +0100 -@@ -1,17 +1,19 @@ --# lib-link.m4 serial 4 (gettext-0.12) --dnl Copyright (C) 2001-2003 Free Software Foundation, Inc. --dnl This file is free software, distributed under the terms of the GNU --dnl General Public License. As a special exception to the GNU General --dnl Public License, this file may be distributed as part of a program --dnl that contains a configuration script generated by Autoconf, under --dnl the same distribution terms as the rest of that program. -+# lib-link.m4 serial 13 (gettext-0.17) -+dnl Copyright (C) 2001-2007 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. +--- gettext-0.16.1.orig/autoconf-lib-link/m4/lib-link.m4 2006-11-27 09:01:58.000000000 -0800 ++++ gettext-0.16.1/autoconf-lib-link/m4/lib-link.m4 2011-03-17 00:36:08.710836720 -0700 +@@ -6,12 +6,14 @@ dnl From Bruno Haible. +-AC_PREREQ(2.50) +AC_PREREQ(2.54) -+ + dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and @@ -77,11 +48,12 @@ Index: gettext-0.14.1/autoconf-lib-link/m4/lib-link.m4 AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) -@@ -82,19 +89,27 @@ +@@ -82,17 +89,24 @@ CPPFLAGS="$ac_save_CPPFLAGS" LIB[]NAME= LTLIB[]NAME= + LIB[]NAME[]_PREFIX= ++ fi AC_SUBST([HAVE_LIB]NAME) AC_SUBST([LIB]NAME) @@ -102,12 +74,8 @@ Index: gettext-0.14.1/autoconf-lib-link/m4/lib-link.m4 +dnl acl_hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], [ -+ dnl Tell automake >= 1.10 to complain if config.rpath is missing. -+ m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) - AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS - AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld - AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host -@@ -107,12 +122,14 @@ + dnl Tell automake >= 1.10 to complain if config.rpath is missing. +@@ -109,12 +123,14 @@ acl_cv_rpath=done ]) wl="$acl_cv_wl" @@ -128,7 +96,7 @@ Index: gettext-0.14.1/autoconf-lib-link/m4/lib-link.m4 dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE(rpath, [ --disable-rpath do not hardcode runtime library paths], -@@ -122,19 +139,24 @@ +@@ -124,20 +140,24 @@ dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. @@ -136,7 +104,7 @@ Index: gettext-0.14.1/autoconf-lib-link/m4/lib-link.m4 +dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem. AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [ -+ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) + AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + dnl Autoconf >= 2.61 supports dots in --with options. @@ -156,16 +124,7 @@ Index: gettext-0.14.1/autoconf-lib-link/m4/lib-link.m4 [ if test "X$withval" = "Xno"; then use_additional=no -@@ -146,7 +168,7 @@ - ]) - else - additional_includedir="$withval/include" -- additional_libdir="$withval/lib" -+ additional_libdir="$withval/$acl_libdirstem" - fi - fi - ]) -@@ -155,6 +177,7 @@ +@@ -158,6 +178,7 @@ LIB[]NAME= LTLIB[]NAME= INC[]NAME= @@ -173,7 +132,7 @@ Index: gettext-0.14.1/autoconf-lib-link/m4/lib-link.m4 rpathdirs= ltrpathdirs= names_already_handled= -@@ -194,22 +217,55 @@ +@@ -197,27 +218,53 @@ found_la= found_so= found_a= @@ -184,18 +143,13 @@ Index: gettext-0.14.1/autoconf-lib-link/m4/lib-link.m4 + shrext= + fi if test $use_additional = yes; then -- if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then +- if test -n "$shlibext" \ +- && { test -f "$additional_libdir/lib$name.$shlibext" \ +- || { test "$shlibext" = dll \ +- && test -f "$additional_libdir/lib$name.dll.a"; }; }; then - found_dir="$additional_libdir" -- found_so="$additional_libdir/lib$name.$shlibext" -- if test -f "$additional_libdir/lib$name.la"; then -- found_la="$additional_libdir/lib$name.la" -- fi -- else -- if test -f "$additional_libdir/lib$name.$libext"; then -- found_dir="$additional_libdir" -- found_a="$additional_libdir/lib$name.$libext" -- if test -f "$additional_libdir/lib$name.la"; then -- found_la="$additional_libdir/lib$name.la" +- if test -f "$additional_libdir/lib$name.$shlibext"; then +- found_so="$additional_libdir/lib$name.$shlibext" + dir="$additional_libdir" + dnl The same code as in the loop below: + dnl First look for a shared library. @@ -203,7 +157,8 @@ Index: gettext-0.14.1/aut |
