summaryrefslogtreecommitdiff
path: root/x11-libs/cairo/files/cairo-1.8.8-interix.patch
diff options
context:
space:
mode:
authorRené Neumann <rene.neumann@in.tum.de>2011-08-11 19:41:33 +0200
committerRené Neumann <rene.neumann@in.tum.de>2011-08-11 19:41:33 +0200
commit649ed3773a9fef8712733fbdcc9d09a5bae62f99 (patch)
tree7e44a016031820de7adb3a770c93fe26f21a826e /x11-libs/cairo/files/cairo-1.8.8-interix.patch
parentda28afd29226a8445a65d22865589a71e6e06488 (diff)
downloadoverlay-649ed3773a9fef8712733fbdcc9d09a5bae62f99.tar.gz
overlay-649ed3773a9fef8712733fbdcc9d09a5bae62f99.tar.bz2
overlay-649ed3773a9fef8712733fbdcc9d09a5bae62f99.zip
Patched cairo
Diffstat (limited to '')
-rw-r--r--x11-libs/cairo/files/cairo-1.8.8-interix.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-libs/cairo/files/cairo-1.8.8-interix.patch b/x11-libs/cairo/files/cairo-1.8.8-interix.patch
new file mode 100644
index 0000000..dc20714
--- /dev/null
+++ b/x11-libs/cairo/files/cairo-1.8.8-interix.patch
@@ -0,0 +1,16 @@
+diff -ru cairo-1.8.8.orig/build/configure.ac.tools cairo-1.8.8/build/configure.ac.tools
+--- cairo-1.8.8.orig/build/configure.ac.tools 2009-09-30 13:36:42 +0200
++++ cairo-1.8.8/build/configure.ac.tools 2009-09-30 13:50:50 +0200
+@@ -21,5 +21,12 @@
+ *) PKGCONFIG_REQUIRES="Requires.private"; ;;
+ esac
+
++dnl hmm... on interix, things go really bad with Requires.private, since libpng12
++dnl is missing on the final link commands, so gtk+'s configure checks for cairo
++dnl fail miserably with unresolved symbols to it.
++case "$host_os" in
++interix*) PKGCONFIG_REQUIRES="Requires" ;;
++esac
++
+ AC_SUBST(PKGCONFIG_REQUIRES)
+