Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package exiv2 for openSUSE:Factory checked in at 2023-02-02 18:07:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/exiv2 (Old) and /work/SRC/openSUSE:Factory/.exiv2.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "exiv2" Thu Feb 2 18:07:03 2023 rev:74 rq:1062320 version:0.27.6 Changes: -------- --- /work/SRC/openSUSE:Factory/exiv2/exiv2.changes 2023-01-23 18:30:38.491572432 +0100 +++ /work/SRC/openSUSE:Factory/.exiv2.new.32243/exiv2.changes 2023-02-02 18:23:44.129761441 +0100 @@ -1,0 +2,6 @@ +Tue Jan 24 17:42:24 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- add always-use-signed-char-for-conversion.patch for test suite + fixes on non-x86_64 + +------------------------------------------------------------------- New: ---- always-use-signed-char-for-conversion.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ exiv2.spec ++++++ --- /var/tmp/diff_new_pack.yeik8g/_old 2023-02-02 18:23:44.653764640 +0100 +++ /var/tmp/diff_new_pack.yeik8g/_new 2023-02-02 18:23:44.657764664 +0100 @@ -28,6 +28,7 @@ Source1: baselibs.conf Patch0: exiv2-build-date.patch Patch1: CVE-2022-3953.patch +Patch2: always-use-signed-char-for-conversion.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ ++++++ always-use-signed-char-for-conversion.patch ++++++ Treat std::string characters always as signed char even on architectures where char is unsigned. Fixes missing testsuite exceptions. --- a/src/value.cpp +++ b/src/value.cpp @@ -352,13 +352,13 @@ namespace Exiv2 { long StringValueBase::toLong(long n) const { ok_ = true; - return value_.at(n); + return static_cast<long>(static_cast<signed char>(value_.at(n))); } float StringValueBase::toFloat(long n) const { ok_ = true; - return value_.at(n); + return static_cast<float>(static_cast<signed char>(value_.at(n))); } Rational StringValueBase::toRational(long n) const