summaryrefslogtreecommitdiff
path: root/x11-libs/cairo/files/cairo-1.8.10-libpng14.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--x11-libs/cairo/files/cairo-1.8.10-libpng14.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-libs/cairo/files/cairo-1.8.10-libpng14.patch b/x11-libs/cairo/files/cairo-1.8.10-libpng14.patch
new file mode 100644
index 0000000..1872367
--- /dev/null
+++ b/x11-libs/cairo/files/cairo-1.8.10-libpng14.patch
@@ -0,0 +1,11 @@
+--- configure.ac
++++ configure.ac
+@@ -161,7 +161,7 @@
+ AC_ARG_VAR([png_REQUIRES], [module name for libpng to search for using pkg-config])
+ if test "x$png_REQUIRES" = x; then
+ # libpng13 is GnuWin32's libpng-1.2.8 :-(
+- for l in libpng12 libpng13 libpng10 libpng; do
++ for l in libpng14 libpng12 libpng13 libpng10 libpng; do
+ if $PKG_CONFIG --exists $l ; then
+ png_REQUIRES=$l
+ use_png=yes