hexcurse: fix build with gcc15

This commit is contained in:
Xiangyan Sun
2026-05-06 09:59:18 -07:00
parent f88215e151
commit 6c9928e26c
+10
View File
@@ -3,6 +3,7 @@
lib,
fetchFromGitHub,
fetchpatch,
fetchDebianPatch,
ncurses,
}:
@@ -48,6 +49,15 @@ stdenv.mkDerivation (finalAttrs: {
url = "https://github.com/LonnyGomes/hexcurse/commit/cb70d4a93a46102f488f471fad31a7cfc9fec025.patch";
sha256 = "19674zhhp7gc097kl4bxvi0gblq6jzjy8cw8961svbq5y3hv1v5y";
})
# Fix build with GCC 15 (old-style function definitions)
(fetchDebianPatch {
pname = "hexcurse";
version = "1.60.0";
debianRevision = "1";
patch = "gcc-15.patch";
hash = "sha256-nWwYjI18fsJ9LSby6OJoJ0QXENgyVbUY3LpEYWoCBkI=";
})
];
meta = {