summaryrefslogtreecommitdiffstats
path: root/games/snes9x
diff options
context:
space:
mode:
Diffstat (limited to 'games/snes9x')
-rw-r--r--games/snes9x/2afe4a11d43e8767cbeb90372177d4b580384e9a.patch29
-rw-r--r--games/snes9x/b383b94c8c94e3a28b09e7dd3d72cac2a783ba55.patch28
-rw-r--r--games/snes9x/snes9x.SlackBuild3
3 files changed, 60 insertions, 0 deletions
diff --git a/games/snes9x/2afe4a11d43e8767cbeb90372177d4b580384e9a.patch b/games/snes9x/2afe4a11d43e8767cbeb90372177d4b580384e9a.patch
new file mode 100644
index 0000000000..cb08f0d87a
--- /dev/null
+++ b/games/snes9x/2afe4a11d43e8767cbeb90372177d4b580384e9a.patch
@@ -0,0 +1,29 @@
+From 2afe4a11d43e8767cbeb90372177d4b580384e9a Mon Sep 17 00:00:00 2001
+From: BearOso <bearoso@gmail.com>
+Date: Mon, 1 May 2023 11:38:54 -0500
+Subject: [PATCH] CI acting funky. See if this fixes it.
+
+---
+ vulkan/vulkan_context.hpp | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/vulkan/vulkan_context.hpp b/vulkan/vulkan_context.hpp
+index cfc29eda2..33ec20c5f 100644
+--- a/vulkan/vulkan_context.hpp
++++ b/vulkan/vulkan_context.hpp
+@@ -7,6 +7,8 @@
+ #undef WINVER
+ #define WINVER 0x599
+ #endif
++#include <cstdio>
++#include <cstdint>
+ #include "vk_mem_alloc.hpp"
+ #include "vulkan/vulkan.hpp"
+ #include "vulkan_swapchain.hpp"
+@@ -64,4 +66,4 @@ class Context
+ vk::CommandBuffer one_time_use_cmd;
+ };
+
+-} // namespace Vulkan
+\ No newline at end of file
++} // namespace Vulkan
diff --git a/games/snes9x/b383b94c8c94e3a28b09e7dd3d72cac2a783ba55.patch b/games/snes9x/b383b94c8c94e3a28b09e7dd3d72cac2a783ba55.patch
new file mode 100644
index 0000000000..af1866533e
--- /dev/null
+++ b/games/snes9x/b383b94c8c94e3a28b09e7dd3d72cac2a783ba55.patch
@@ -0,0 +1,28 @@
+From b383b94c8c94e3a28b09e7dd3d72cac2a783ba55 Mon Sep 17 00:00:00 2001
+From: BearOso <bearoso@gmail.com>
+Date: Sun, 30 Apr 2023 17:18:39 -0500
+Subject: [PATCH] slang: Fix CI build.
+
+---
+ vulkan/slang_shader.hpp | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/vulkan/slang_shader.hpp b/vulkan/slang_shader.hpp
+index 8af9f48d9..6e24bcd8d 100644
+--- a/vulkan/slang_shader.hpp
++++ b/vulkan/slang_shader.hpp
+@@ -1,6 +1,7 @@
+ #pragma once
+ #include <string>
+ #include <vector>
++#include <cstdint>
+
+ struct SlangShader
+ {
+@@ -101,4 +102,4 @@ struct SlangShader
+ int ubo_binding;
+ std::vector<Uniform> uniforms;
+ std::vector<Sampler> samplers;
+-};
+\ No newline at end of file
++};
diff --git a/games/snes9x/snes9x.SlackBuild b/games/snes9x/snes9x.SlackBuild
index ad26551806..a48e38a0a1 100644
--- a/games/snes9x/snes9x.SlackBuild
+++ b/games/snes9x/snes9x.SlackBuild
@@ -84,6 +84,9 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+patch -p1 < $CWD/2afe4a11d43e8767cbeb90372177d4b580384e9a.patch
+patch -p1 < $CWD/b383b94c8c94e3a28b09e7dd3d72cac2a783ba55.patch
+
WITHPULSE=yes
if [ "$PULSE" = "no" ] || ! pkg-config --exists libpulse; then
PULSEOPT="-DUSE_PULSEAUDIO=OFF"