SHA256
1
0
forked from pool/hugin
hugin/hugin-libpng14.patch
OBS User autobuild cfdc6f9004 Accepting request 37354 from graphics
Copy from graphics/hugin based on submit request 37354 from user adrianSuSE

OBS-URL: https://build.opensuse.org/request/show/37354
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hugin?expand=0&rev=19
2010-04-08 13:12:23 +00:00

16 lines
789 B
Diff

Index: src/foreign/vigra/vigra_impex/png.cxx
===================================================================
--- src/foreign/vigra/vigra_impex.orig/png.cxx
+++ 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;
}