diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /dev-tcltk/tkimg/files | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'dev-tcltk/tkimg/files')
-rw-r--r-- | dev-tcltk/tkimg/files/tkimg-1.4-png2.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/dev-tcltk/tkimg/files/tkimg-1.4-png2.patch b/dev-tcltk/tkimg/files/tkimg-1.4-png2.patch deleted file mode 100644 index 195e9be43fa7..000000000000 --- a/dev-tcltk/tkimg/files/tkimg-1.4-png2.patch +++ /dev/null @@ -1,36 +0,0 @@ ---- png/png.c.orig 2010-06-17 06:40:24.000000000 -0700 -+++ png/png.c 2013-04-23 20:57:32.000000000 -0700 -@@ -332,6 +332,16 @@ - png_set_expand(png_ptr); - } - -+ if (png_get_sRGB && png_get_sRGB(png_ptr, info_ptr, &intent)) { -+ png_set_sRGB(png_ptr, info_ptr, intent); -+ } else if (png_get_gAMA) { -+ double gamma; -+ if (!png_get_gAMA(png_ptr, info_ptr, &gamma)) { -+ gamma = 0.45455; -+ } -+ png_set_gamma(png_ptr, 1.0, gamma); -+ } -+ - png_read_update_info(png_ptr,info_ptr); - block.pixelSize = png_get_channels(png_ptr, info_ptr); - block.pitch = png_get_rowbytes(png_ptr, info_ptr); -@@ -353,16 +363,6 @@ - block.offset[3] = 0; - } - -- if (png_get_sRGB && png_get_sRGB(png_ptr, info_ptr, &intent)) { -- png_set_sRGB(png_ptr, info_ptr, intent); -- } else if (png_get_gAMA) { -- double gamma; -- if (!png_get_gAMA(png_ptr, info_ptr, &gamma)) { -- gamma = 0.45455; -- } -- png_set_gamma(png_ptr, 1.0, gamma); -- } -- - png_data= (char **) ckalloc(sizeof(char *) * info_height + - info_height * block.pitch); - |