Skip to content

Commit

Permalink
Merge #266756: dosbox: fix build with clang 16
Browse files Browse the repository at this point in the history
...into staging-next
  • Loading branch information
vcunat committed Nov 16, 2023
2 parents dba5c9e + c4c7e67 commit 391aafc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/applications/emulators/dosbox/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, autoreconfHook
, SDL
, SDL_net
Expand All @@ -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
Expand Down

0 comments on commit 391aafc

Please sign in to comment.