diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-10-23 22:46:06 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-10-23 22:46:06 +0200 |
commit | e5e058e2aadafa0d61c11709f7481375c6db504b (patch) | |
tree | 0b22269a2826d5e1d030317a6c6dd200d47e3a6e /extra/gimp/libpng-1.4.patch | |
parent | dc2152db2a0b5e9d4e15307156d7a160cccc008c (diff) | |
download | nutyx-extra-e5e058e2aadafa0d61c11709f7481375c6db504b.tar.gz nutyx-extra-e5e058e2aadafa0d61c11709f7481375c6db504b.tar.bz2 nutyx-extra-e5e058e2aadafa0d61c11709f7481375c6db504b.tar.xz nutyx-extra-e5e058e2aadafa0d61c11709f7481375c6db504b.zip |
gimp, port nettoyé
Diffstat (limited to 'extra/gimp/libpng-1.4.patch')
-rw-r--r-- | extra/gimp/libpng-1.4.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/extra/gimp/libpng-1.4.patch b/extra/gimp/libpng-1.4.patch deleted file mode 100644 index 8f7963d23..000000000 --- a/extra/gimp/libpng-1.4.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -Naur gimp-2.7.0-orig/plug-ins/file-ico/ico-load.c gimp-2.7.0/plug-ins/file-ico/ico-load.c ---- gimp-2.7.0-orig/plug-ins/file-ico/ico-load.c 2010-01-18 19:01:46.000000000 -0500 -+++ gimp-2.7.0/plug-ins/file-ico/ico-load.c 2010-01-18 19:14:43.000000000 -0500 -@@ -286,14 +286,22 @@ - switch (color_type) - { - case PNG_COLOR_TYPE_GRAY: -+#if PNG_LIBPNG_VER < 10400 - png_set_gray_1_2_4_to_8 (png_ptr); -+#else -+ png_set_expand_gray_1_2_4_to_8(png_ptr); -+#endif - if ( bit_depth == 16 ) - png_set_strip_16 (png_ptr); - png_set_gray_to_rgb (png_ptr); - png_set_add_alpha (png_ptr, 0xff, PNG_FILLER_AFTER); - break; - case PNG_COLOR_TYPE_GRAY_ALPHA: -+#if PNG_LIBPNG_VER < 10400 - png_set_gray_1_2_4_to_8 (png_ptr); -+#else -+ png_set_expand_gray_1_2_4_to_8(png_ptr); -+#endif - if ( bit_depth == 16 ) - png_set_strip_16 (png_ptr); - png_set_gray_to_rgb (png_ptr); |