html2text: fix build with clang 16

This commit is contained in:
Weijia Wang 2023-11-10 09:39:38 +01:00
parent a38b57a3ad
commit 7cbcabc834

View File

@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
substituteInPlace configure \
--replace /bin/echo echo \
--replace CXX=unknown ':'
'' + lib.optionalString stdenv.cc.isClang ''
substituteInPlace HTMLParser.C \
--replace "register " ""
'';
# the --prefix has no effect