Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37682163
en ru br
ALT Linux repos
S:3.18.0-alt9
5.0: 3.11.0-alt2

Group :: System/Libraries
RPM: libfreeimage

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: libfreeimage-3.18.0-libtiff5.patch
Download


commit dc5ed2ff4718538b71f4f42550b3405021a952a4
Author: Yuri N. Sedunov <aris@altlinux.org>
Date:   Tue Jun 7 13:35:51 2022 +0300
    Metadata/XTIFF.cpp: fixed for libtiff5
diff --git a/FreeImage/Source/Metadata/XTIFF.cpp b/FreeImage/Source/Metadata/XTIFF.cpp
index d5be902..110062f 100644
--- a/FreeImage/Source/Metadata/XTIFF.cpp
+++ b/FreeImage/Source/Metadata/XTIFF.cpp
@@ -749,7 +749,7 @@ tiff_write_exif_tags(TIFF *tif, TagLib::MDMODEL md_model, FIBITMAP *dib) {
 				continue;
 			}
 			// 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;
 			}
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin