summarylogtreecommitdiffstats
path: root/0009-standalone-headers.mingw.patch
diff options
context:
space:
mode:
authorSchala2015-06-08 10:41:33 -0700
committerSchala2015-06-08 10:41:33 -0700
commitd4ac703e21570c96aa412a4438b7f974c70edf98 (patch)
tree24ed6e35c3d45f6fa9e7f5c653e56952185ad834 /0009-standalone-headers.mingw.patch
downloadaur-d4ac703e21570c96aa412a4438b7f974c70edf98.tar.gz
added patches from https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-cairo
Diffstat (limited to '0009-standalone-headers.mingw.patch')
-rw-r--r--0009-standalone-headers.mingw.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/0009-standalone-headers.mingw.patch b/0009-standalone-headers.mingw.patch
new file mode 100644
index 000000000000..ce591c78c00c
--- /dev/null
+++ b/0009-standalone-headers.mingw.patch
@@ -0,0 +1,11 @@
+--- cairo-1.12.10/src/Makefile.am.analysis.orig 2013-01-19 16:35:36 +0400
++++ cairo-1.12.10/src/Makefile.am.analysis 2013-01-19 17:16:51 +0400
+@@ -24,7 +24,7 @@
+ @echo Checking that enabled public/private headers can be compiled standalone
+ @status=true; for f in $(enabled_cairo_headers) $(enabled_cairo_private); do \
+ echo " CHECK $$f"; \
+- echo "#include \"$(srcdir)/$$f\"" > headers-standalone-tmp.c; \
++ echo "#include \"$(shell cd $(srcdir) ; pwd -W)/$$f\"" > headers-standalone-tmp.c; \
+ echo "int main(int argc, char * argv[]) { return 0; }" >> headers-standalone-tmp.c; \
+ $(COMPILE) -o headers-standalone-tmp headers-standalone-tmp.c || status=false; \
+ $(RM) headers-standalone-tmp headers-standalone-tmp.c; \