Hello community, here is the log from the commit of package ufraw for openSUSE:Factory checked in at 2017-06-13 16:08:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ufraw (Old) and /work/SRC/openSUSE:Factory/.ufraw.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ufraw" Tue Jun 13 16:08:44 2017 rev:46 rq:503059 version:0.22 Changes: -------- --- /work/SRC/openSUSE:Factory/ufraw/ufraw.changes 2016-08-12 15:43:52.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ufraw.new/ufraw.changes 2017-06-13 16:08:46.261048296 +0200 @@ -1,0 +2,6 @@ +Mon Jun 12 07:24:34 UTC 2017 - [email protected] + +- ufraw-gcc7.patch: pull up the abs() to the call where + the float -> unsigned int conversions happens. + +------------------------------------------------------------------- New: ---- ufraw-gcc7.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ufraw.spec ++++++ --- /var/tmp/diff_new_pack.RYGqLX/_old 2017-06-13 16:08:46.996944587 +0200 +++ /var/tmp/diff_new_pack.RYGqLX/_new 2017-06-13 16:08:46.996944587 +0200 @@ -1,7 +1,7 @@ # # spec file for package ufraw # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -45,6 +45,7 @@ Patch1: %{name}-boundary.patch Patch2: %{name}-glibc210.patch Patch3: narrowing-conversion.patch +Patch4: ufraw-gcc7.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Recommends: %{name}-lang @@ -96,6 +97,7 @@ %patch1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build %ifarch ppc64 ++++++ ufraw-gcc7.patch ++++++ Index: ufraw-0.22/dcraw.cc =================================================================== --- ufraw-0.22.orig/dcraw.cc +++ ufraw-0.22/dcraw.cc @@ -9240,9 +9240,9 @@ canon_a5: filters = 0x16161616; } if (make[0] == 'O') { - i = find_green (12, 32, 1188864, 3576832); - c = find_green (12, 32, 2383920, 2387016); - if (abs(i) < abs(c)) { + i = abs(find_green (12, 32, 1188864, 3576832)); + c = abs(find_green (12, 32, 2383920, 2387016)); + if (i < c) { SWAP(i,c); load_flags = 24; }
