diff options
author | sibel <lesibel at free dot fr> | 2010-07-13 18:22:48 +0200 |
---|---|---|
committer | sibel <lesibel at free dot fr> | 2010-07-13 18:22:48 +0200 |
commit | f5e960b50bd41d7131e430032cc9d4f224d2e76d (patch) | |
tree | 70e927b0b19fe0318e82b5665d276a7703a76fcb /extra/vigra/libpng-1.4.patch | |
parent | 1dd95ce4b2b544770ed18f4416e46ef520673348 (diff) | |
download | nutyx-extra-f5e960b50bd41d7131e430032cc9d4f224d2e76d.tar.gz nutyx-extra-f5e960b50bd41d7131e430032cc9d4f224d2e76d.tar.bz2 nutyx-extra-f5e960b50bd41d7131e430032cc9d4f224d2e76d.tar.xz nutyx-extra-f5e960b50bd41d7131e430032cc9d4f224d2e76d.zip |
maj footprint ettt md5sum foomatic-db
Diffstat (limited to 'extra/vigra/libpng-1.4.patch')
-rw-r--r-- | extra/vigra/libpng-1.4.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/vigra/libpng-1.4.patch b/extra/vigra/libpng-1.4.patch new file mode 100644 index 000000000..3c69e8eb8 --- /dev/null +++ b/extra/vigra/libpng-1.4.patch @@ -0,0 +1,14 @@ +diff -Naur vigra1.6.0-orig/src/impex/png.cxx vigra1.6.0/src/impex/png.cxx +--- vigra1.6.0-orig/src/impex/png.cxx 2010-01-20 19:46:57.000000000 -0500 ++++ vigra1.6.0/src/impex/png.cxx 2010-01-20 19:47:55.000000000 -0500 +@@ -270,8 +270,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; + } + |