summaryrefslogtreecommitdiff
path: root/meta-extras/packages/redland/files/crosscompile.patch
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2009-06-11 18:11:00 +0100
committerJoshua Lock <josh@linux.intel.com>2009-06-11 18:11:00 +0100
commitd0c00fd14b2ea038e0e49402ce3c0e33c3d05398 (patch)
treefe0cb8f673aeedac0611c6af904aafd2b1927274 /meta-extras/packages/redland/files/crosscompile.patch
parent1dfc30d98db07ff5bc1fc3c063fe32f2d881514e (diff)
downloadopenembedded-core-d0c00fd14b2ea038e0e49402ce3c0e33c3d05398.tar.gz
openembedded-core-d0c00fd14b2ea038e0e49402ce3c0e33c3d05398.tar.bz2
openembedded-core-d0c00fd14b2ea038e0e49402ce3c0e33c3d05398.tar.xz
openembedded-core-d0c00fd14b2ea038e0e49402ce3c0e33c3d05398.zip
Redland is no longer a part of moblin so move to meta-extras
Diffstat (limited to 'meta-extras/packages/redland/files/crosscompile.patch')
-rw-r--r--meta-extras/packages/redland/files/crosscompile.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-extras/packages/redland/files/crosscompile.patch b/meta-extras/packages/redland/files/crosscompile.patch
new file mode 100644
index 000000000..281007a79
--- /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 <stdarg.h>
+-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