vbam: fix build with SDL 2.0.14

This commit is contained in:
J. Neto 2021-05-08 11:45:17 -03:00 committed by Jonathan Ringer
parent a6fb0290d1
commit 1887bf47dd

View file

@ -2,6 +2,7 @@
, cairo
, cmake
, fetchFromGitHub
, fetchpatch
, ffmpeg
, gettext
, libGLU, libGL
@ -46,6 +47,15 @@ stdenv.mkDerivation rec {
"-DENABLE_SDL='true'"
];
patches = [
(fetchpatch {
# https://github.com/visualboyadvance-m/visualboyadvance-m/pull/793
name = "fix-build-SDL-2.0.14.patch";
url = "https://github.com/visualboyadvance-m/visualboyadvance-m/commit/619a5cce683ec4b1d03f08f316ba276d8f8cd824.patch";
sha256 = "099cbzgq4r9g83bvdra8a0swfl1vpfng120wf4q7h6vs0n102rk9";
})
];
meta = with lib; {
description = "A merge of the original Visual Boy Advance forks";
license = licenses.gpl2;