Unverified Commit 391aafc3 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

Merge #266756: dosbox: fix build with clang 16

...into staging-next
parents dba5c9ef c4c7e676
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{ 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