Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package icc-examin for openSUSE:Factory checked in at 2021-08-10 10:27:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/icc-examin (Old) and /work/SRC/openSUSE:Factory/.icc-examin.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "icc-examin" Tue Aug 10 10:27:35 2021 rev:6 rq:910579 version:0.56 Changes: -------- --- /work/SRC/openSUSE:Factory/icc-examin/icc-examin.changes 2019-12-09 21:34:44.322109605 +0100 +++ /work/SRC/openSUSE:Factory/.icc-examin.new.1899/icc-examin.changes 2021-08-10 10:28:03.969770819 +0200 @@ -1,0 +2,7 @@ +Tue Aug 3 08:19:01 UTC 2021 - Christophe Giboudeaux <[email protected]> + +- Add patch to fix build with modern compilers: + * 0001-core-fix-for-FreeBSD-clang-4.0.patch +- Spec cleanup + +------------------------------------------------------------------- New: ---- 0001-core-fix-for-FreeBSD-clang-4.0.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ icc-examin.spec ++++++ --- /var/tmp/diff_new_pack.uSkwbZ/_old 2021-08-10 10:28:04.573770118 +0200 +++ /var/tmp/diff_new_pack.uSkwbZ/_new 2021-08-10 10:28:04.577770113 +0200 @@ -1,7 +1,7 @@ # # spec file for package icc-examin # -# Copyright (c) 2019 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 @@ -25,6 +25,8 @@ URL: http://www.oyranos.org/icc-examin Source: %{name}_%{version}.orig.tar.bz2 Patch0: icc-examin-gcc7.patch +# PATCH-FIX-UPSTREAM +Patch1: 0001-core-fix-for-FreeBSD-clang-4.0.patch BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: expat @@ -79,8 +81,7 @@ %lang_package %prep -%setup -q -%patch0 -p1 +%autosetup -p1 %build %cmake \ @@ -93,14 +94,6 @@ find %{buildroot} -type f -name "*.ttf" -delete -print %suse_update_desktop_file -n iccexamin # some openSUSE magic -%if 0%{?suse_version} <1500 -%post -%mime_database_post - -%postun -%mime_database_postun -%endif - %files lang -f %{name}.lang %files @@ -109,6 +102,6 @@ %{_bindir}/iccexamin %{_datadir}/applications/iccexamin.desktop %{_datadir}/pixmaps/iccexamin.svg -%{_mandir}/man1/iccexamin.1%{ext_man} +%{_mandir}/man1/iccexamin.1%{?ext_man} %changelog ++++++ 0001-core-fix-for-FreeBSD-clang-4.0.patch ++++++ >From b55e5483fac3ee47437f7b7d31343de8d6290e45 Mon Sep 17 00:00:00 2001 From: Boris Samorodov <[email protected]> Date: Mon, 20 Mar 2017 19:59:03 +0100 Subject: [PATCH] * [core]: fix for FreeBSD clang-4.0 Thanks for the patch. Will close issue #5 --- icc_profile_tags.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icc_profile_tags.cpp b/icc_profile_tags.cpp index 2d63c06..4c00f74 100644 --- a/icc_profile_tags.cpp +++ b/icc_profile_tags.cpp @@ -349,12 +349,12 @@ ICCtag::getText (std::string text) # ifdef DEBUG_ICCTAG DBG_NUM_S ((int)strchr(txt, 13)) # endif - while (strchr(txt, 13) > 0) { // \r 013 0x0d + while (strchr(txt, 13)) { // \r 013 0x0d pos = strchr(txt, 13); # ifdef DEBUG_ICCTAG //cout << (int)pos << " "; DBG # endif - if (pos > 0) { + if (pos) { if (*(pos+1) == '\n') *pos = ' '; else -- 2.32.0
