Hello community, here is the log from the commit of package xstereograph for openSUSE:Factory checked in at 2015-06-30 10:42:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xstereograph (Old) and /work/SRC/openSUSE:Factory/.xstereograph.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "xstereograph" Changes: -------- --- /work/SRC/openSUSE:Factory/xstereograph/xstereograph.changes 2013-02-15 18:55:46.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.xstereograph.new/xstereograph.changes 2015-06-30 10:42:50.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jun 28 13:21:05 UTC 2015 - tjcw@physics.org + +- trunc.patch: 'trunc' is a system function, re-set-up the local version as 'my_trunc' + +------------------------------------------------------------------- New: ---- trunc.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xstereograph.spec ++++++ --- /var/tmp/diff_new_pack.gXXHBS/_old 2015-06-30 10:42:50.000000000 +0200 +++ /var/tmp/diff_new_pack.gXXHBS/_new 2015-06-30 10:42:50.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package xstereograph # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -43,6 +43,7 @@ Patch6: %{name}-%{version}-libpng15.patch # libpng16.patch not sent to upstream (is project alive?) Patch7: %{name}-%{version}-libpng16.patch +Patch8: trunc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -70,6 +71,7 @@ %patch5 %patch6 %patch7 +%patch8 -p0 %build # This package failed when testing with -Wl,-as-needed being default. ++++++ trunc.patch ++++++ --- libsx-2.03/src/colorsel.c.orig 2015-06-28 14:14:45.765337556 +0100 +++ libsx-2.03/src/colorsel.c 2015-06-28 14:16:12.564387032 +0100 @@ -63,6 +63,7 @@ static void show_best_match(Widget w, CSelData *cdata); */ +#define trunc my_trunc int trunc(float v) { return (int)(0.5+v);