Hello community, here is the log from the commit of package libdevil for openSUSE:Factory checked in at 2015-06-30 10:17:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libdevil (Old) and /work/SRC/openSUSE:Factory/.libdevil.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libdevil" Changes: -------- --- /work/SRC/openSUSE:Factory/libdevil/libdevil.changes 2013-10-04 07:25:49.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libdevil.new/libdevil.changes 2015-06-30 10:17:07.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Jun 26 15:44:59 UTC 2015 - antoine.belv...@laposte.net + +- Fix compilation with GCC 5: add DevIL-1.7.8-gcc5.patch. + +------------------------------------------------------------------- New: ---- DevIL-1.7.8-gcc5.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libdevil.spec ++++++ --- /var/tmp/diff_new_pack.AYdmlV/_old 2015-06-30 10:17:08.000000000 +0200 +++ /var/tmp/diff_new_pack.AYdmlV/_new 2015-06-30 10:17:08.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package libdevil # -# 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 @@ -33,6 +33,8 @@ Patch1: DevIL-%{version}-CVE-2009-3994.patch # From Gentoo Patch2: DevIL-%{version}-libpng14.patch +# From Fedora +Patch3: DevIL-%{version}-gcc5.patch BuildRequires: Mesa-devel BuildRequires: OpenEXR-devel BuildRequires: SDL-devel @@ -144,6 +146,7 @@ %patch0 %patch1 %patch2 -p1 +%patch3 -p1 # FIXME: src-IL/src/il_wdp.c unclear license: https://jxrlib.codeplex.com can stand as replacement # make sure we don't compile this accidentally > src-IL/src/il_wdp.c ++++++ DevIL-1.7.8-gcc5.patch ++++++ diff -up devil-1.7.8/include/IL/il.h~ devil-1.7.8/include/IL/il.h --- devil-1.7.8/include/IL/il.h~ 2009-03-08 08:10:08.000000000 +0100 +++ devil-1.7.8/include/IL/il.h 2015-06-18 12:34:38.656310094 +0200 @@ -65,7 +65,7 @@ extern "C" { #ifdef RESTRICT_KEYWORD #define RESTRICT restrict -#define CONST_RESTRICT const restrict +#define CONST_RESTRICT const __restrict #else #define RESTRICT #define CONST_RESTRICT const