void-packages/srcpkgs/dmd/files/musl.patch

13 lines
388 B
Diff

--- dmd/src/dmd/link.d
+++ dmd/src/dmd/link.d
@@ -759,8 +759,7 @@
perror("unable to create pipe to linker");
return -1;
}
- // vfork instead of fork to avoid https://issues.dlang.org/show_bug.cgi?id=21089
- childpid = vfork();
+ childpid = fork();
if (childpid == 0)
{
// pipe linker stderr to fds[0]