diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-03-29 19:05:43 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-03-29 19:05:43 +0800 |
commit | 30135db6aa24a7e1c41525ad01a9e09c438a78ee (patch) | |
tree | cb3dae2f2f90be250334f899c719637811e1cf30 /graphics | |
parent | f5570c1f31c4243f7cba62a3c2128279dd67b94d (diff) | |
download | freebsd-ports-gnome-30135db6aa24a7e1c41525ad01a9e09c438a78ee.tar.gz freebsd-ports-gnome-30135db6aa24a7e1c41525ad01a9e09c438a78ee.tar.zst freebsd-ports-gnome-30135db6aa24a7e1c41525ad01a9e09c438a78ee.zip |
- fix build for png-1.4.1
Diffstat (limited to 'graphics')
-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; + } + |