snes9x: fix build with GCC 15

This commit is contained in:
М. Чарльз
2026-02-24 12:22:18 +09:00
parent f568b13456
commit 50b2abd792
2 changed files with 14 additions and 0 deletions
@@ -0,0 +1,10 @@
--- a/external/glslang/SPIRV/SpvBuilder.h
+++ b/external/glslang/SPIRV/SpvBuilder.h
@@ -61,6 +61,7 @@
#include "spirv.hpp"
#include "spvIR.h"
+#include <cstdint>
#include <algorithm>
#include <map>
#include <stack>
+4
View File
@@ -42,6 +42,10 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-INMVyB3alwmsApO7ToAaUWgh7jlg2MeLxqHCEnUO88U=";
};
patches = [
./glslang-include-cstdint.patch
];
nativeBuildInputs = [
pkg-config
python3