Merge pull request #273450 from wegank/ericw-tools-gcc-13

ericw-tools: fix build with gcc 11+
This commit is contained in:
Weijia Wang
2023-12-12 15:19:52 +01:00
committed by GitHub
2 changed files with 10 additions and 2 deletions
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub
{ lib, stdenv, fetchFromGitHub, fetchpatch
, gtest, fmt
, cmake, ninja, installShellFiles
}:
@@ -20,6 +20,13 @@ stdenv.mkDerivation rec {
popd
'';
patches = [
(fetchpatch {
url = "https://github.com/ericwa/ericw-tools/commit/c9570260fa895dde5a21272d76f9a3b05d59efdd.patch";
hash = "sha256-dZr2LWuJBAIT//XHXYEz2vhaK2mxtxkSJ4IQla8OXKI=";
})
];
nativeBuildInputs = [ cmake ninja installShellFiles ];
outputs = [ "out" "doc" "man" ];
@@ -44,5 +51,6 @@ stdenv.mkDerivation rec {
description = "Map compile tools for Quake and Hexen 2";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ astro ];
platforms = platforms.unix;
};
}
+1 -1
View File
@@ -8004,7 +8004,7 @@ with pkgs;
eris-go = callPackage ../servers/eris-go { };
ericw-tools = callPackage ../applications/misc/ericw-tools { stdenv = gcc10StdenvCompat; };
ericw-tools = callPackage ../applications/misc/ericw-tools { };
cryfs = callPackage ../tools/filesystems/cryfs { };