Merge #266756: dosbox: fix build with clang 16

...into staging-next
This commit is contained in:
Vladimír Čunát 2023-11-16 22:03:50 +01:00
commit 391aafc3d6
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

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