mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
games-emulation/snes9x: Add patch to fix some build failures
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
This commit is contained in:
parent
e50e5019d8
commit
10df240119
35
games-emulation/snes9x/files/snes9x-1.63-compile.patch
Normal file
35
games-emulation/snes9x/files/snes9x-1.63-compile.patch
Normal file
@ -0,0 +1,35 @@
|
||||
diff --git a/external/glslang/SPIRV/SpvBuilder.h b/external/glslang/SPIRV/SpvBuilder.h
|
||||
index 02e9cf40..f5d9c2c6 100644
|
||||
--- a/external/glslang/SPIRV/SpvBuilder.h
|
||||
+++ b/external/glslang/SPIRV/SpvBuilder.h
|
||||
@@ -61,6 +61,7 @@ namespace spv {
|
||||
#include <set>
|
||||
#include <sstream>
|
||||
#include <stack>
|
||||
+#include <cstdint>
|
||||
#include <unordered_map>
|
||||
#include <map>
|
||||
|
||||
diff --git a/unix/Makefile.in b/unix/Makefile.in
|
||||
index a87cd079..7c78a0a5 100644
|
||||
--- a/unix/Makefile.in
|
||||
+++ b/unix/Makefile.in
|
||||
@@ -37,7 +37,7 @@ GASM = @CXX@
|
||||
INCLUDES += -I. -I.. -I../apu/ -I../apu/bapu -I../jma/ -I../filter/
|
||||
|
||||
CCFLAGS = @S9XFLGS@ @S9XDEFS@ $(DEFS)
|
||||
-CFLAGS = $(CCFLAGS)
|
||||
+CFLAGS += $(CCFLAGS)
|
||||
|
||||
.SUFFIXES: .o .cpp .c .cc .h .m .i .s .obj
|
||||
|
||||
diff --git a/gtk/CMakeLists.txt b/gtk/CMakeLists.txt
|
||||
index 6d13d493..ef56eea2 100644
|
||||
--- a/gtk/CMakeLists.txt
|
||||
+++ b/gtk/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.18)
|
||||
+cmake_minimum_required(VERSION 4.0)
|
||||
project(snes9x-gtk VERSION 1.63)
|
||||
|
||||
option(USE_SLANG "Build support for Vulkan output and .slangp shaders" ON)
|
||||
@ -72,6 +72,7 @@ PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.63-flags.patch
|
||||
"${FILESDIR}"/${PN}-1.63-optional-wayland.patch
|
||||
"${FILESDIR}"/${PN}-1.63-vulkan-fix.patch
|
||||
"${FILESDIR}"/${PN}-1.63-compile.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user