aboutsummaryrefslogtreecommitdiff
path: root/graphics/png
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-03-29 17:00:45 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-03-29 17:00:45 +0000
commit166cc79d5c8c167498ddf06460dbf568f4d2994c (patch)
treed4fa9d253db283afaec3063cf92061f6736d6e48 /graphics/png
parent7344bae96873fb6d881af5fa244943cd15594f20 (diff)
downloadports-166cc79d5c8c167498ddf06460dbf568f4d2994c.tar.gz
ports-166cc79d5c8c167498ddf06460dbf568f4d2994c.zip
- enable PNG_READ_DITHER_SUPPORTED
Notes
Notes: svn path=/head/; revision=251740
Diffstat (limited to 'graphics/png')
-rw-r--r--graphics/png/Makefile1
-rw-r--r--graphics/png/files/patch-pngconf.h11
2 files changed, 12 insertions, 0 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile
index 42cab5850d53..8833d56c17a8 100644
--- a/graphics/png/Makefile
+++ b/graphics/png/Makefile
@@ -7,6 +7,7 @@
PORTNAME= png
PORTVERSION= 1.4.1
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF/lib${PORTNAME}/01-lib${PORTNAME}-master/${PORTVERSION}
DISTNAME= lib${PORTNAME}-${PORTVERSION}
diff --git a/graphics/png/files/patch-pngconf.h b/graphics/png/files/patch-pngconf.h
new file mode 100644
index 000000000000..0793fbe98251
--- /dev/null
+++ b/graphics/png/files/patch-pngconf.h
@@ -0,0 +1,11 @@
+--- pngconf.h.orig 2010-02-25 12:38:29.000000000 +0100
++++ pngconf.h 2010-03-28 19:35:29.000000000 +0200
+@@ -499,7 +499,7 @@
+ # ifndef PNG_NO_READ_INVERT
+ # define PNG_READ_INVERT_SUPPORTED
+ # endif
+-#if 0 /* removed from libpng-1.4.0 */
++#if 1 /* removed from libpng-1.4.0 */
+ # ifndef PNG_NO_READ_DITHER
+ # define PNG_READ_DITHER_SUPPORTED
+ # endif