Hello community, here is the log from the commit of package mame for openSUSE:Factory checked in at 2018-02-05 10:53:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mame (Old) and /work/SRC/openSUSE:Factory/.mame.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mame" Mon Feb 5 10:53:27 2018 rev:7 rq:572435 version:0.193 Changes: -------- --- /work/SRC/openSUSE:Factory/mame/mame.changes 2018-01-26 13:40:18.243040337 +0100 +++ /work/SRC/openSUSE:Factory/.mame.new/mame.changes 2018-02-05 10:53:58.873584525 +0100 @@ -1,0 +2,6 @@ +Tue Jan 30 18:04:42 UTC 2018 - stefan.bru...@rwth-aachen.de + +- Add treat_gcc73_and_later_like_gcc72.patch: Current code does not + detect GCC 7.3 and fails to build GLM + +------------------------------------------------------------------- New: ---- treat_gcc73_and_later_like_gcc72.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mame.spec ++++++ --- /var/tmp/diff_new_pack.ErYeoy/_old 2018-02-05 10:54:02.553412430 +0100 +++ /var/tmp/diff_new_pack.ErYeoy/_new 2018-02-05 10:54:02.553412430 +0100 @@ -53,6 +53,7 @@ Source101: mame.ini.in Source102: mame.appdata.xml Source104: mame-mess.appdata.xml +Patch0: treat_gcc73_and_later_like_gcc72.patch BuildRequires: binutils-gold BuildRequires: fdupes BuildRequires: pkgconfig @@ -148,6 +149,8 @@ %prep %setup -q -n mame-mame0%fver +%patch0 -p1 + cp %{SOURCE1} whatsnew-%{version}.txt # Fix rpmlint warning "wrong-file-end-of-line-encoding" sed -i 's/\r$//' LICENSE.md README.md whatsnew-%{version}.txt ++++++ treat_gcc73_and_later_like_gcc72.patch ++++++ >From 96981541728c003a7220828a07099ca1a266e654 Mon Sep 17 00:00:00 2001 From: MetalliC <0vet...@gmail.com> Date: Sat, 27 Jan 2018 17:40:38 +0200 Subject: [PATCH] temp workaround for gcc 7.3 (nw) --- 3rdparty/glm/glm/simd/platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/glm/glm/simd/platform.h b/3rdparty/glm/glm/simd/platform.h index a5510beb920..8aea0bf977b 100644 --- a/3rdparty/glm/glm/simd/platform.h +++ b/3rdparty/glm/glm/simd/platform.h @@ -281,7 +281,7 @@ # define GLM_COMPILER (GLM_COMPILER_GCC70) # elif (__GNUC__ == 7) && (__GNUC_MINOR__ == 1) # define GLM_COMPILER (GLM_COMPILER_GCC71) -# elif (__GNUC__ == 7) && (__GNUC_MINOR__ == 2) +# elif (__GNUC__ == 7) && (__GNUC_MINOR__ >= 2) # define GLM_COMPILER (GLM_COMPILER_GCC72) # elif (__GNUC__ >= 8) # define GLM_COMPILER (GLM_COMPILER_GCC80)