diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-29 11:05:43 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-29 11:05:43 +0000 |
commit | d40e1ed6175b3b0fe15287b8743e7df3b390de39 (patch) | |
tree | 1948e0588afcf3c77538db9ed39ceb1fb4f9a42c /graphics/enblend | |
parent | c069ab0c68c79c4f9e417985c538a9d96d24ca6a (diff) | |
download | ports-d40e1ed6175b3b0fe15287b8743e7df3b390de39.tar.gz ports-d40e1ed6175b3b0fe15287b8743e7df3b390de39.zip |
Notes
Diffstat (limited to 'graphics/enblend')
-rw-r--r-- | graphics/enblend/files/patch-png.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/enblend/files/patch-png.cxx b/graphics/enblend/files/patch-png.cxx new file mode 100644 index 000000000000..2a513b548c54 --- /dev/null +++ b/graphics/enblend/files/patch-png.cxx @@ -0,0 +1,11 @@ +--- src/vigra_impex/png.cxx.orig 2007-11-25 00:46:55.000000000 +0100 ++++ src/vigra_impex/png.cxx 2010-03-29 11:49:42.000000000 +0200 +@@ -276,7 +276,7 @@ + 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); ++ png_set_expand_gray_1_2_4_to_8(png); + bit_depth = 8; + } + |