From 2c54c5574eacabc4efe4069721dd83c1df8a65cb Mon Sep 17 00:00:00 2001 From: Nitin A Kamble Date: Tue, 31 Aug 2010 21:12:31 -0700 Subject: at: gplv2 recipe at version 3.1.12 Took the 3.1.10.2 version of the gplv2 recipe from the master branch, and upgraded it to 3.1.12 version and then replaced the gplv3 files viz posixtm.[ch] by gplv2 files to make the recipe gplv2. Signed-off-by: Nitin A Kamble --- meta/recipes-extended/at/at-3.1.12/configure.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta/recipes-extended/at/at-3.1.12/configure.patch (limited to 'meta/recipes-extended/at/at-3.1.12') diff --git a/meta/recipes-extended/at/at-3.1.12/configure.patch b/meta/recipes-extended/at/at-3.1.12/configure.patch new file mode 100644 index 0000000000..2458ef357a --- /dev/null +++ b/meta/recipes-extended/at/at-3.1.12/configure.patch @@ -0,0 +1,24 @@ +# Fix cross-compilation issues in configure.ac +# Derived from an OE patch for at-3.1.8 + +Index: at-3.1.12/configure.ac +=================================================================== +--- at-3.1.12.orig/configure.ac ++++ at-3.1.12/configure.ac +@@ -38,12 +38,11 @@ case "$host" in + AC_MSG_RESULT(no) + ;; + esac ++if [ X"${cross_compiling}" = Xno ]; then + AC_MSG_CHECKING(Trying to compile a trivial ANSI C program) +-AC_TRY_RUN([ main(int ac, char **av) { return 0; } ], +- AC_MSG_RESULT(yes), +- AC_MSG_RESULT(no) +- AC_MSG_ERROR(Could not compile and run even a trivial ANSI C program - check CC.), +- AC_MSG_ERROR(Could not compile and run even a trivial ANSI C program - check CC.)) ++AC_RUN_IFELSE([AC_LANG_SOURCE([[ main(int ac, char **av) { return 0; } ]])],[AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no) ++ AC_MSG_ERROR(Could not compile and run even a trivial ANSI C program - check CC.)],[AC_MSG_ERROR(Could not compile and run even a trivial ANSI C program - check CC.)]) ++fi + + AC_MSG_CHECKING(__attribute__((noreturn))) + AC_TRY_COMPILE([], [void __attribute__((noreturn)) panic(void);], -- cgit v1.2.3-54-g00ecf