From a5f81ddc2feced17319db073399af0a6d11084c8 Mon Sep 17 00:00:00 2001 From: netali Date: Fri, 16 Jun 2023 08:36:06 +0200 Subject: [PATCH] vbam: fix build with openal 1.23.1 This commit fixes the build of vbam with openal 1.23.1 by applying a patch from the master branch of the vbam repo which isn't released in a new version yet. Fixes #237969 --- pkgs/applications/emulators/vbam/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/applications/emulators/vbam/default.nix b/pkgs/applications/emulators/vbam/default.nix index 932f8a59e7d9..acf7b26d9478 100644 --- a/pkgs/applications/emulators/vbam/default.nix +++ b/pkgs/applications/emulators/vbam/default.nix @@ -43,6 +43,13 @@ stdenv.mkDerivation rec { gtk3 ]; + patches = [ + (fetchpatch { + url = "https://github.com/visualboyadvance-m/visualboyadvance-m/commit/1d7e8ae4edc53a3380dfea88329b8b8337db1c52.patch"; + sha256 = "sha256-SV1waz2JSKiM6itwkqwlE3aOZCcOl8iyBr06tyYlefo="; + }) + ]; + cmakeFlags = [ "-DCMAKE_BUILD_TYPE='Release'" "-DENABLE_FFMPEG='true'"