dosbox: fix build with clang 16

This commit is contained in:
Weijia Wang 2023-11-11 01:49:00 +01:00
parent 3f616fad02
commit c4c7e6764f

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, autoreconfHook
, SDL
, SDL_net
@ -23,6 +24,14 @@ stdenv.mkDerivation rec {
hash = "sha256-wNE91+0u02O2jeYVR1eB6JHNWC6BYrXDZpE3UCIiJgo=";
};
patches = [
(fetchpatch {
url = "https://github.com/joncampbell123/dosbox-x/commit/006d5727d36d1ec598e387f2f1a3c521e3673dcb.patch";
includes = [ "src/gui/render_templates_sai.h" ];
hash = "sha256-HSO29/LgZRKQ3HQBA0QF5henG8pCSoe1R2joYNPcUcE=";
})
];
nativeBuildInputs = [
autoreconfHook
copyDesktopItems