summaryrefslogtreecommitdiff
path: root/graphics
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
parent- fix build for png-1.4.1 (diff)
- enable PNG_READ_DITHER_SUPPORTED
Notes
Notes: svn path=/head/; revision=251740
Diffstat (limited to 'graphics')
-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