summaryrefslogtreecommitdiff
path: root/packages/inkscape/files/no-boehm-version-check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/inkscape/files/no-boehm-version-check.patch')
-rw-r--r--packages/inkscape/files/no-boehm-version-check.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/inkscape/files/no-boehm-version-check.patch b/packages/inkscape/files/no-boehm-version-check.patch
new file mode 100644
index 0000000000..4a9c036142
--- /dev/null
+++ b/packages/inkscape/files/no-boehm-version-check.patch
@@ -0,0 +1,28 @@
+--- /tmp/configure.ac 2006-02-19 10:43:44.525208784 +0100
++++ inkscape-0.43/configure.ac 2006-02-19 10:43:55.582527816 +0100
+@@ -133,24 +133,7 @@
+ [gc_ok=no])
+ if test "x$gc_ok" = "xyes"; then
+ AC_MSG_CHECKING([libgc version 6.4+])
+- AC_RUN_IFELSE(
+- [AC_LANG_SOURCE([[
+- #ifdef HAVE_GC_GC_H
+- # include <gc/gc.h>
+- #else
+- # include <gc.h>
+- #endif
+- #include <stdio.h>
+- extern unsigned GC_version;
+- int main(void){
+- unsigned min = ((6 << 16) | (4 << 8) | 0);
+- printf("%d.%d.%d ",GC_version >> 16, (GC_version >> 8) & 0xFF, GC_version & 0xFF);
+- if (GC_version>=min) return 0;
+- return 1;
+- }]])],
+- [gc_ok=yes],
+- [gc_ok=no]
+- )
++ [gc_ok=yes]
+ AC_MSG_RESULT([$gc_ok])
+ fi
+ if test "x$gc_ok" != "xyes"; then