From d0c00fd14b2ea038e0e49402ce3c0e33c3d05398 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Thu, 11 Jun 2009 18:11:00 +0100 Subject: Redland is no longer a part of moblin so move to meta-extras --- .../packages/redland/files/crosscompile.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta-extras/packages/redland/files/crosscompile.patch (limited to 'meta-extras/packages/redland/files/crosscompile.patch') diff --git a/meta-extras/packages/redland/files/crosscompile.patch b/meta-extras/packages/redland/files/crosscompile.patch new file mode 100644 index 0000000000..281007a791 --- /dev/null +++ b/meta-extras/packages/redland/files/crosscompile.patch @@ -0,0 +1,29 @@ +Index: redland-1.0.8/raptor/configure.ac +=================================================================== +--- redland-1.0.8.orig/raptor/configure.ac 2008-12-16 17:26:58.000000000 +0000 ++++ redland-1.0.8/raptor/configure.ac 2008-12-16 17:27:41.000000000 +0000 +@@ -279,23 +279,7 @@ + + if test $ac_cv_func_vsnprintf = yes; then + AC_MSG_CHECKING(vsnprintf has C99 compatible return value) +- AC_TRY_RUN([#include +-int is_c99(char *s, ...) { +- char buffer[32]; +- va_list args; +- int r; +- va_start(args, s); +- r = vsnprintf(buffer, 5, s, args); +- va_end(args); +- +- return (r == 7); +-} +- +-int main(int argc, char* argv) { +- return is_c99("1234567"); +-}], AC_MSG_RESULT(no), +- AC_DEFINE(HAVE_C99_VSNPRINTF, 1, [vsnprint has C99 compatible return value]) +- AC_MSG_RESULT(yes)) ++ AC_DEFINE(HAVE_C99_VSNPRINTF, 1, [vsnprint has C99 compatible return value]) + fi + + need_libm=no -- cgit v1.2.3-54-g00ecf