mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
banjorecomp: fix building with gcc16
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
n64recomp,
|
||||
directx-shader-compiler,
|
||||
bk_rom_compressor,
|
||||
fetchpatch,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -55,6 +56,17 @@ llvmPackages_21.stdenv.mkDerivation (finalAttrs: {
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
patches = [
|
||||
# Fix building with gcc16
|
||||
(fetchpatch {
|
||||
name = "rmlui-cstdint.patch";
|
||||
url = "https://github.com/mikke89/RmlUi/commit/8c27b0a5cb601a3c57ecddc6ce8769ca93a97cb8.patch";
|
||||
stripLen = 1;
|
||||
extraPrefix = "lib/RecompFrontend/recompui/lib/RmlUi/";
|
||||
hash = "sha256-G4Qzawd2HkBh19B3jpIp4QZcrQDnUCvkXlw23nkBKHo=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
copyDesktopItems
|
||||
|
||||
Reference in New Issue
Block a user