diff options
Diffstat (limited to 'media-libs/freeimage/files/freeimage-3.18.0-tiff-4.4.0.patch')
-rw-r--r-- | media-libs/freeimage/files/freeimage-3.18.0-tiff-4.4.0.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/media-libs/freeimage/files/freeimage-3.18.0-tiff-4.4.0.patch b/media-libs/freeimage/files/freeimage-3.18.0-tiff-4.4.0.patch new file mode 100644 index 000000000000..a0c39064aa34 --- /dev/null +++ b/media-libs/freeimage/files/freeimage-3.18.0-tiff-4.4.0.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/848531 +https://bugs.gentoo.org/848534 +https://www.asmail.be/msg0055228425.html +--- a/Source/Metadata/XTIFF.cpp ++++ b/Source/Metadata/XTIFF.cpp +@@ -750,5 +750,5 @@ + } + // type of storage may differ (e.g. rationnal array vs float array type) +- if((unsigned)_TIFFDataSize(tif_tag_type) != FreeImage_TagDataWidth(tag_type)) { ++ if((unsigned)TIFFFieldSetGetSize(fld) != FreeImage_TagDataWidth(tag_type)) { + // skip tag or _TIFFmemcpy will fail + continue; |