dosbox-staging: add patch to fix darwin build

This commit is contained in:
TomaSajt 2024-05-29 11:02:01 +02:00
parent d552665012
commit 949dcfa9c9
No known key found for this signature in database
GPG Key ID: F011163C050122A1

View File

@ -2,6 +2,7 @@
lib, lib,
stdenv, stdenv,
fetchFromGitHub, fetchFromGitHub,
fetchpatch,
SDL2, SDL2,
SDL2_image, SDL2_image,
SDL2_net, SDL2_net,
@ -41,6 +42,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-XGssEyX+AVv7/ixgGTRtPFjsUSX0FT0fhP+TXsFl2fY="; hash = "sha256-XGssEyX+AVv7/ixgGTRtPFjsUSX0FT0fhP+TXsFl2fY=";
}; };
patches = [
(fetchpatch {
name = "darwin-allow-bypass-wraps.patch";
url = "https://github.com/dosbox-staging/dosbox-staging/commit/9f0fc1dc762010e5f7471d01c504d817a066cae3.patch";
hash = "sha256-IzxRE1Vr+M8I5hdy80UwebjJ5R1IlH9ymaYgs6VwAO4=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
gtest gtest
makeWrapper makeWrapper