tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
dosbox: fix build with clang 16
Weijia Wang
2 years ago
c4c7e676
3f616fad
+9
1 changed file
expand all
collapse all
unified
split
pkgs
applications
emulators
dosbox
default.nix
+9
pkgs/applications/emulators/dosbox/default.nix
···
1
{ lib
2
, stdenv
3
, fetchurl
0
4
, autoreconfHook
5
, SDL
6
, SDL_net
···
22
url = "mirror://sourceforge/dosbox/dosbox-${version}.tar.gz";
23
hash = "sha256-wNE91+0u02O2jeYVR1eB6JHNWC6BYrXDZpE3UCIiJgo=";
24
};
0
0
0
0
0
0
0
0
25
26
nativeBuildInputs = [
27
autoreconfHook
···
1
{ lib
2
, stdenv
3
, fetchurl
4
+
, fetchpatch
5
, autoreconfHook
6
, SDL
7
, SDL_net
···
23
url = "mirror://sourceforge/dosbox/dosbox-${version}.tar.gz";
24
hash = "sha256-wNE91+0u02O2jeYVR1eB6JHNWC6BYrXDZpE3UCIiJgo=";
25
};
26
+
27
+
patches = [
28
+
(fetchpatch {
29
+
url = "https://github.com/joncampbell123/dosbox-x/commit/006d5727d36d1ec598e387f2f1a3c521e3673dcb.patch";
30
+
includes = [ "src/gui/render_templates_sai.h" ];
31
+
hash = "sha256-HSO29/LgZRKQ3HQBA0QF5henG8pCSoe1R2joYNPcUcE=";
32
+
})
33
+
];
34
35
nativeBuildInputs = [
36
autoreconfHook