aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-03-30 01:00:45 +0800
committerdinoex <dinoex@FreeBSD.org>2010-03-30 01:00:45 +0800
commit4276e60c11d41716370927b39a8106c97ab25292 (patch)
tree9c6708d6ac751638a7bbc15f500308f0165051ee /graphics
parent7ddb02daa750ca78f198884444d68f42c7f8b603 (diff)
downloadfreebsd-ports-gnome-4276e60c11d41716370927b39a8106c97ab25292.tar.gz
freebsd-ports-gnome-4276e60c11d41716370927b39a8106c97ab25292.tar.zst
freebsd-ports-gnome-4276e60c11d41716370927b39a8106c97ab25292.zip
- enable PNG_READ_DITHER_SUPPORTED
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