tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
lbreakout2: fix runtime issues
Francesco Gazzetta
2 years ago
fe8acaa8
17544589
+12
1 changed file
expand all
collapse all
unified
split
pkgs
games
lgames
lbreakout2
default.nix
+12
pkgs/games/lgames/lbreakout2/default.nix
···
1
1
{ lib
2
2
, stdenv
3
3
, fetchurl
4
4
+
, fetchpatch
4
5
, SDL
5
6
, SDL_mixer
6
7
, libintl
···
17
18
sha256 = "0vwdlyvh7c4y80q5vp7fyfpzbqk9lq3w8pvavi139njkalbxc14i";
18
19
};
19
20
21
21
+
# Can't exit from pause without this patch
22
22
+
patches = [(fetchpatch {
23
23
+
url = "https://sources.debian.org/data/main/l/lbreakout2/2.6.5-2/debian/patches/sdl_fix_pauses.patch";
24
24
+
hash = "sha256-ycsuxfokpOblLky42MwtJowdEp7v5dZRMFIR4id4ZBI=";
25
25
+
})];
26
26
+
20
27
buildInputs = [
21
28
SDL
22
29
SDL_mixer
···
24
31
libpng
25
32
zlib
26
33
];
34
34
+
35
35
+
# With fortify it crashes at runtime:
36
36
+
# *** buffer overflow detected ***: terminated
37
37
+
# Aborted (core dumped)
38
38
+
hardeningDisable = [ "fortify" ];
27
39
28
40
meta = with lib; {
29
41
homepage = "http://lgames.sourceforge.net/LBreakout2/";