Initial version of inkscape.
[fedora-mingw.git] / inkscape / mingw32-inkscape-20081027-no-gc-version-check-when-crosscompiling.patch
diff --git a/inkscape/mingw32-inkscape-20081027-no-gc-version-check-when-crosscompiling.patch b/inkscape/mingw32-inkscape-20081027-no-gc-version-check-when-crosscompiling.patch
new file mode 100644 (file)
index 0000000..59c912d
--- /dev/null
@@ -0,0 +1,13 @@
+Index: configure.ac
+===================================================================
+--- configure.ac       (revision 20065)
++++ configure.ac       (working copy)
+@@ -192,7 +192,7 @@
+                                 break], [gc_ok=no], [$gc_libs])
+                   break],
+                  [gc_ok=no])
+-if test "x$gc_ok" = "xyes"; then
++if test "x$gc_ok" = "xyes" && "x$cross_compiling" = "xno" ; then
+       AC_MSG_CHECKING([libgc version 6.4+])
+       AC_RUN_IFELSE(
+               [AC_LANG_SOURCE([[