From 50001eacb70095ac594bfd49c805274e87758156 Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 25 Apr 2010 12:26:53 +0200 Subject: libpng, ajout patch --- base/libpng/libpng14-enable-read-dither.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 base/libpng/libpng14-enable-read-dither.patch (limited to 'base/libpng/libpng14-enable-read-dither.patch') diff --git a/base/libpng/libpng14-enable-read-dither.patch b/base/libpng/libpng14-enable-read-dither.patch new file mode 100644 index 000000000..955b12ac6 --- /dev/null +++ b/base/libpng/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 -- cgit v1.2.3-70-g09d2