games-rpg/openglad: fix build with clang

Closes: https://bugs.gentoo.org/830571
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2022-01-04 03:05:36 -05:00
parent 36d52f1305
commit a9feb245fd
2 changed files with 15 additions and 1 deletions

View File

@@ -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" }

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -29,6 +29,10 @@ BDEPEND="
dev-util/premake:5
virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${P}-clang.patch
)
src_prepare() {
default