summaryrefslogtreecommitdiffstats
path: root/extra/libgd/libpng14-enable-read-dither.patch
diff options
context:
space:
mode:
authorpierre <pierre@nutyx.(none)>2010-05-10 17:54:30 +0200
committerpierre <pierre@nutyx.(none)>2010-05-10 17:54:30 +0200
commitfebc8847b1706bf65a5d6689e08a27d338ad946f (patch)
tree0fa861a7ba7ed16b2990b49d1d1eb9ee93066e7e /extra/libgd/libpng14-enable-read-dither.patch
parent5d817c8ab3c775814c30f11dcdb71cb46649b2c6 (diff)
downloadnutyx-extra-febc8847b1706bf65a5d6689e08a27d338ad946f.tar.gz
nutyx-extra-febc8847b1706bf65a5d6689e08a27d338ad946f.tar.bz2
nutyx-extra-febc8847b1706bf65a5d6689e08a27d338ad946f.tar.xz
nutyx-extra-febc8847b1706bf65a5d6689e08a27d338ad946f.zip
Maj de libgd ... patch abscent
Diffstat (limited to 'extra/libgd/libpng14-enable-read-dither.patch')
-rw-r--r--extra/libgd/libpng14-enable-read-dither.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/libgd/libpng14-enable-read-dither.patch b/extra/libgd/libpng14-enable-read-dither.patch
new file mode 100644
index 000000000..955b12ac6
--- /dev/null
+++ b/extra/libgd/libpng14-enable-read-dither.patch
@@ -0,0 +1,15 @@
+diff -Naur libpng-1.4.0-orig/pngconf.h libpng-1.4.0/pngconf.h
+--- libpng-1.4.0-orig/pngconf.h 2010-01-27 20:38:27.000000000 -0500
++++ libpng-1.4.0/pngconf.h 2010-01-27 20:44:44.000000000 -0500
+@@ -497,11 +497,9 @@
+ # ifndef PNG_NO_READ_INVERT
+ # define PNG_READ_INVERT_SUPPORTED
+ # endif
+-#if 0 /* removed from libpng-1.4.0 */
+ # ifndef PNG_NO_READ_DITHER
+ # define PNG_READ_DITHER_SUPPORTED
+ # endif
+-#endif /* 0 */
+ # ifndef PNG_NO_READ_BACKGROUND
+ # define PNG_READ_BACKGROUND_SUPPORTED
+ # endif