File treat_gcc73_and_later_like_gcc72.patch of Package mame

From 96981541728c003a7220828a07099ca1a266e654 Mon Sep 17 00:00:00 2001
From: MetalliC <0vetal0@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)
openSUSE Build Service is sponsored by