void-packages/srcpkgs/dmd2.091/patches/backport-ld-exit.patch
Auri b13248c657 New package: dmd2.091
- libphobos2.091 conflicts with libphobos2.081
- backport clean ld exit
- disable parallel build
2021-02-12 00:50:45 -03:00

11 lines
314 B
Diff

--- dmd/src/dmd/link.d
+++ dmd/src/dmd/link.d
@@ -782,7 +782,7 @@ public int runLINK()
close(fds[0]);
execvp(argv[0], argv.tdata());
perror(argv[0]); // failed to execute
- return -1;
+ _exit(-1);
}
else if (childpid == -1)
{