summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-rpg/openglad/files/openglad-0.98_p20200907-clang.patch')
-rw-r--r--games-rpg/openglad/files/openglad-0.98_p20200907-clang.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/games-rpg/openglad/files/openglad-0.98_p20200907-clang.patch b/games-rpg/openglad/files/openglad-0.98_p20200907-clang.patch
new file mode 100644
index 000000000000..056521c604fb
--- /dev/null
+++ b/games-rpg/openglad/files/openglad-0.98_p20200907-clang.patch
@@ -0,0 +1,10 @@
+Option gets used for C as well leading to gcc warnings and a hard
+error with clang. Option isn't actually needed, so just remove it.
+
+https://bugs.gentoo.org/830571
+--- a/premake4.lua
++++ b/premake4.lua
+@@ -47,3 +47,2 @@
+ defines { "PHYSFS_SUPPORTS_ZIP" }
+- buildoptions { "-std=gnu++0x" }
+