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 /graphics/hugin/patches/patch-ad | |
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 'graphics/hugin/patches/patch-ad')
-rw-r--r-- | graphics/hugin/patches/patch-ad | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/hugin/patches/patch-ad b/graphics/hugin/patches/patch-ad new file mode 100644 index 00000000000..034225aa88b --- /dev/null +++ b/graphics/hugin/patches/patch-ad @@ -0,0 +1,15 @@ +$NetBSD: patch-ad,v 1.1 2010/06/13 22:44:35 wiz Exp $ + +--- src/foreign/vigra/vigra_impex/png.cxx.orig 2010-03-02 23:17:21.000000000 +0000 ++++ src/foreign/vigra/vigra_impex/png.cxx +@@ -271,8 +271,8 @@ namespace vigra { + // expand gray values to at least one byte size + if ( color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8 ) { + if (setjmp(png->jmpbuf)) +- vigra_postcondition( false,png_error_message.insert(0, "error in png_set_gray_1_2_4_to_8(): ").c_str()); +- png_set_gray_1_2_4_to_8(png); ++ vigra_postcondition( false,png_error_message.insert(0, "error in png_set_expand_gray_1_2_4_to_8(): ").c_str()); ++ png_set_expand_gray_1_2_4_to_8(png); + bit_depth = 8; + } + |