dmd: Fix grep in test after gdb bump

(cherry picked from commit 1ff67969b5)
This commit is contained in:
OPNA2608
2022-06-18 12:03:55 +02:00
committed by Bjørn Forsman
parent 65a9d22c91
commit 71739af235

View File

@@ -88,6 +88,9 @@ stdenv.mkDerivation rec {
rm dmd/test/runnable/gdb4149.d
rm dmd/test/runnable/gdb4181.d
# Grep'd string changed with gdb 12
substituteInPlace druntime/test/exceptions/Makefile \
--replace 'in D main (' 'in _Dmain ('
'' + lib.optionalString stdenv.isLinux ''
substituteInPlace phobos/std/socket.d --replace "assert(ih.addrList[0] == 0x7F_00_00_01);" ""
'' + lib.optionalString stdenv.isDarwin ''