Skip to content

Commit

Permalink
lzwolf: fix build with gcc-14
Browse files Browse the repository at this point in the history
  • Loading branch information
xokdvium committed Dec 25, 2024
1 parent 0d31f32 commit 0c19a23
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/games/lzwolf/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ stdenv.mkDerivation rec {
url = "https://bitbucket.org/soturi/lzwolf/commits/41f212026dff4f089d1c0921cb49ab1a2b81e0d6/raw";
hash = "sha256-EgSdDaZovD7DyZ0BkuX8ZdsrX7J7v8/D6y5P1NWGJew=";
})
# Fixes build with gcc >= 14. Picked patch from the original ecwolf repo.
(fetchpatch {
name = "tmemory.h-const-correctness.patch";
url = "https://bitbucket.org/ecwolf/ecwolf/commits/400aaf96a36a14ab8eab18a670ba6439046f3bb0/raw";
hash = "sha256-2YwHEctBPyprs0DVsazimGEgmiCba24zh2dFfw9tOnU=";
})
];

postPatch = ''
Expand Down

0 comments on commit 0c19a23

Please sign in to comment.