summaryrefslogtreecommitdiff
path: root/graphics/gimp/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2010-06-13 22:43:46 +0000
committerwiz <wiz@pkgsrc.org>2010-06-13 22:43:46 +0000
commit92e0cb52cb783546e352182244f761180817e141 (patch)
tree4a9b97c2969a25f1eeb6596ee96fc25429cef7d5 /graphics/gimp/patches
parent01bd00f60b043c603cfe4fa796bf28af3a849cca (diff)
downloadpkgsrc-92e0cb52cb783546e352182244f761180817e141.tar.gz
Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other problems when looking for or compiling against libpng-1.4.x.
Diffstat (limited to 'graphics/gimp/patches')
-rw-r--r--graphics/gimp/patches/patch-ad21
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/gimp/patches/patch-ad b/graphics/gimp/patches/patch-ad
new file mode 100644
index 00000000000..31ba313b740
--- /dev/null
+++ b/graphics/gimp/patches/patch-ad
@@ -0,0 +1,21 @@
+$NetBSD: patch-ad,v 1.8 2010/06/13 22:44:32 wiz Exp $
+
+--- plug-ins/file-ico/ico-load.c.orig 2009-07-20 20:20:51.000000000 +0000
++++ plug-ins/file-ico/ico-load.c
+@@ -287,14 +287,14 @@ ico_read_png (FILE *fp,
+ switch (color_type)
+ {
+ case PNG_COLOR_TYPE_GRAY:
+- png_set_gray_1_2_4_to_8 (png_ptr);
++ png_set_expand_gray_1_2_4_to_8 (png_ptr);
+ 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:
+- png_set_gray_1_2_4_to_8 (png_ptr);
++ png_set_expand_gray_1_2_4_to_8 (png_ptr);
+ if ( bit_depth == 16 )
+ png_set_strip_16 (png_ptr);
+ png_set_gray_to_rgb (png_ptr);