Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package freeimage for openSUSE:Factory checked in at 2021-04-22 18:04:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/freeimage (Old) and /work/SRC/openSUSE:Factory/.freeimage.new.12324 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "freeimage" Thu Apr 22 18:04:52 2021 rev:9 rq:887828 version:3.18.0 Changes: -------- --- /work/SRC/openSUSE:Factory/freeimage/freeimage.changes 2020-08-28 21:12:42.080071992 +0200 +++ /work/SRC/openSUSE:Factory/.freeimage.new.12324/freeimage.changes 2021-04-22 18:06:30.498748677 +0200 @@ -1,0 +2,7 @@ +Wed Apr 14 11:22:53 UTC 2021 - pgaj...@suse.com + +- added patches + fix build with openexr3 + + freeimage-openexr3.patch + +------------------------------------------------------------------- New: ---- freeimage-openexr3.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ freeimage.spec ++++++ --- /var/tmp/diff_new_pack.4hPGTP/_old 2021-04-22 18:06:31.050749590 +0200 +++ /var/tmp/diff_new_pack.4hPGTP/_new 2021-04-22 18:06:31.054749597 +0200 @@ -1,7 +1,7 @@ # # spec file for package freeimage # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -35,6 +35,8 @@ Patch6: bigendian.patch # PATCH-FIX-UPSTREAM: compile with libraw 0.20.0 - https://734724.bugs.gentoo.org/attachment.cgi?id=651956 Patch7: libraw_0_20.patch +# build with openexr3 +Patch8: freeimage-openexr3.patch BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: jxrlib-devel @@ -95,6 +97,7 @@ %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 # Remove bundled libs to make sure these don't get used during compile rm -rf Source/LibPNG/ Source/LibRawLite/ Source/OpenEXR/ Source/ZLib/ Source/LibOpenJPEG/ Source/LibJPEG/ ++++++ freeimage-openexr3.patch ++++++ Index: FreeImage/Source/FreeImage/PluginEXR.cpp =================================================================== --- FreeImage.orig/Source/FreeImage/PluginEXR.cpp 2021-04-14 13:16:56.226320847 +0200 +++ FreeImage/Source/FreeImage/PluginEXR.cpp 2021-04-14 13:20:02.683435617 +0200 @@ -37,7 +37,7 @@ #include <OpenEXR/ImfRgba.h> #include <OpenEXR/ImfArray.h> #include <OpenEXR/ImfPreviewImage.h> -#include <OpenEXR/half.h> +#include <half.h> // ========================================================== @@ -66,11 +66,11 @@ public: return ((unsigned)n != _io->read_proc(c, 1, n, _handle)); } - virtual Imath::Int64 tellg() { + virtual uint64_t tellg() { return _io->tell_proc(_handle); } - virtual void seekg(Imath::Int64 pos) { + virtual void seekg(uint64_t pos) { _io->seek_proc(_handle, (unsigned)pos, SEEK_SET); } @@ -100,11 +100,11 @@ public: } } - virtual Imath::Int64 tellp() { + virtual uint64_t tellp() { return _io->tell_proc(_handle); } - virtual void seekp(Imath::Int64 pos) { + virtual void seekp(uint64_t pos) { _io->seek_proc(_handle, (unsigned)pos, SEEK_SET); } }; Index: FreeImage/Source/FreeImage/PluginTIFF.cpp =================================================================== --- FreeImage.orig/Source/FreeImage/PluginTIFF.cpp 2021-04-14 13:16:56.254321015 +0200 +++ FreeImage/Source/FreeImage/PluginTIFF.cpp 2021-04-14 13:16:56.274321135 +0200 @@ -39,7 +39,7 @@ #include "Utilities.h" #include <tiffio.h> #include "../Metadata/FreeImageTag.h" -#include <OpenEXR/half.h> +#include <half.h> #include "FreeImageIO.h" #include "PSDParser.h"