dhex: fix build for gcc>=15

Upstream has been notified by email about the required change, and were
positive, but I think we should patch it ourself in the meantime.
This commit is contained in:
Bjørn Forsman
2026-01-10 11:47:28 +01:00
parent f75fe7131e
commit 6946bc8c99
+5
View File
@@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
sha256 = "06y4lrp29f2fh303ijk1xhspa1d4x4dm6hnyw3dd8szi3k6hnwsj";
};
postPatch = ''
# Fix build for gcc>=15
substituteInPlace ./output.h --replace-fail 'void initcolors();' 'void initcolors(tOutput*);'
'';
buildInputs = [ ncurses ];
installPhase = ''