diff options
author | wiz <wiz> | 2010-06-13 22:43:46 +0000 |
---|---|---|
committer | wiz <wiz> | 2010-06-13 22:43:46 +0000 |
commit | c3512e82cfd1ef757581484eb740c7cd398411b9 (patch) | |
tree | 4a9b97c2969a25f1eeb6596ee96fc25429cef7d5 /devel/teem/patches | |
parent | e9a8c2a53822e7578f98d3ebcd4e60f3d153b02a (diff) | |
download | pkgsrc-c3512e82cfd1ef757581484eb740c7cd398411b9.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 'devel/teem/patches')
-rw-r--r-- | devel/teem/patches/patch-ad | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/teem/patches/patch-ad b/devel/teem/patches/patch-ad new file mode 100644 index 00000000000..9ced11c3e9b --- /dev/null +++ b/devel/teem/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2010/06/13 22:44:11 wiz Exp $ + +--- src/nrrd/formatPNG.c.orig 2005-03-01 22:27:40.000000000 +0000 ++++ src/nrrd/formatPNG.c +@@ -216,7 +216,7 @@ _nrrdFormatPNG_read(FILE *file, Nrrd *nr + png_set_palette_to_rgb(png); + /* expand grayscale images to 8 bits from 1, 2, or 4 bits */ + if (type == PNG_COLOR_TYPE_GRAY && depth < 8) +- png_set_gray_1_2_4_to_8(png); ++ png_set_expand_gray_1_2_4_to_8(png); + /* expand paletted or rgb images with transparency to full alpha + channels so the data will be available as rgba quartets */ + if (png_get_valid(png, info, PNG_INFO_tRNS)) |