debase: fix build with gcc15

This commit is contained in:
Xiangyan Sun
2026-03-30 21:47:48 -07:00
parent d3d48af509
commit c4dbfa969b
+4 -1
View File
@@ -1,6 +1,5 @@
{
fetchFromGitHub,
fetchpatch, # Delete at next version bump.
lib,
libgit2,
stdenv,
@@ -28,6 +27,10 @@ stdenv.mkDerivation rec {
substituteInPlace Makefile \
--replace-fail 'git rev-parse HEAD' 'echo aa083074d67938d50336bd3737c960b038d91134' \
--replace-fail '$(GITHASHHEADER): .git/HEAD .git/index' '$(GITHASHHEADER):'
# fix build with gcc15
substituteInPlace lib/Makefile \
--replace-fail './configure' './configure cf_cv_type_of_bool=bool'
'';
patches = [