vbam: fix build with SDL 2.0.14
This commit is contained in:
parent
a6fb0290d1
commit
1887bf47dd
|
@ -2,6 +2,7 @@
|
||||||
, cairo
|
, cairo
|
||||||
, cmake
|
, cmake
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, ffmpeg
|
, ffmpeg
|
||||||
, gettext
|
, gettext
|
||||||
, libGLU, libGL
|
, libGLU, libGL
|
||||||
|
@ -46,6 +47,15 @@ stdenv.mkDerivation rec {
|
||||||
"-DENABLE_SDL='true'"
|
"-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; {
|
meta = with lib; {
|
||||||
description = "A merge of the original Visual Boy Advance forks";
|
description = "A merge of the original Visual Boy Advance forks";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
|
|
Loading…
Reference in a new issue