diff options
author | 2010-03-10 16:31:23 +0000 | |
---|---|---|
committer | 2010-03-10 16:31:23 +0000 | |
commit | 3d7f6cda077471fc06ae733e3ec0b1fa8aa894d1 (patch) | |
tree | d7b665952ad69a805548f7a63140530130ef774c /media-gfx/hugin/files | |
parent | Marked ppc/ppc64 stable for bug #308809. (diff) | |
download | gentoo-2-3d7f6cda077471fc06ae733e3ec0b1fa8aa894d1.tar.gz gentoo-2-3d7f6cda077471fc06ae733e3ec0b1fa8aa894d1.tar.bz2 gentoo-2-3d7f6cda077471fc06ae733e3ec0b1fa8aa894d1.zip |
Fix building with libpng14.
(Portage version: 2.2_rc66/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/hugin/files')
-rw-r--r-- | media-gfx/hugin/files/hugin-2010.0.0_rc1-libpng14.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/media-gfx/hugin/files/hugin-2010.0.0_rc1-libpng14.patch b/media-gfx/hugin/files/hugin-2010.0.0_rc1-libpng14.patch new file mode 100644 index 000000000000..fdc026368c4d --- /dev/null +++ b/media-gfx/hugin/files/hugin-2010.0.0_rc1-libpng14.patch @@ -0,0 +1,15 @@ +http://repos.archlinux.org/wsvn/packages/hugin/trunk/libpng14.patch + +--- src/foreign/vigra/vigra_impex/png.cxx ++++ src/foreign/vigra/vigra_impex/png.cxx +@@ -271,8 +271,8 @@ + // 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; + } + |