summaryrefslogtreecommitdiff
path: root/graphics/GraphicsMagick/patches/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/GraphicsMagick/patches/patch-configure')
-rw-r--r--graphics/GraphicsMagick/patches/patch-configure15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/GraphicsMagick/patches/patch-configure b/graphics/GraphicsMagick/patches/patch-configure
new file mode 100644
index 00000000000..ad003a9592d
--- /dev/null
+++ b/graphics/GraphicsMagick/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2013/02/19 00:23:26 wiz Exp $
+
+Detect png-1.6 and 1.7.
+
+--- configure.orig 2012-10-13 21:32:07.000000000 +0000
++++ configure
+@@ -26183,7 +11531,7 @@ fi
+
+
+ if test $passed -gt 0; then
+- for var in 5 4 2 '' ; do
++ for var in 7 6 5 4 2 '' ; do
+ if test "x${var}" = 'x' ; then
+ pnglib='png'
+ else