snes9x: fix build with GCC 15
This commit is contained in:
@@ -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>
|
||||
@@ -42,6 +42,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-INMVyB3alwmsApO7ToAaUWgh7jlg2MeLxqHCEnUO88U=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./glslang-include-cstdint.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
python3
|
||||
|
||||
Reference in New Issue
Block a user