diff --git a/srcpkgs/dmd2.081/patches/backport-ld-exit.patch b/srcpkgs/dmd2.081/patches/backport-ld-exit.patch new file mode 100644 index 00000000000..a3012be7bee --- /dev/null +++ b/srcpkgs/dmd2.081/patches/backport-ld-exit.patch @@ -0,0 +1,11 @@ +--- dmd/src/dmd/link.d ++++ dmd/src/dmd/link.d +@@ -685,7 +685,7 @@ public int runLINK() + close(fds[0]); + execvp(argv[0], cast(char**)argv.tdata()); + perror(argv[0]); // failed to execute +- return -1; ++ _exit(-1); + } + else if (childpid == -1) + { diff --git a/srcpkgs/dmd2.081/template b/srcpkgs/dmd2.081/template index 6bb0d3160ab..79aad094008 100644 --- a/srcpkgs/dmd2.081/template +++ b/srcpkgs/dmd2.081/template @@ -1,7 +1,7 @@ # Template file for 'dmd2.081' pkgname=dmd2.081 version=2.081.1 -revision=2 +revision=3 create_wrksrc=yes hostmakedepends="which" makedepends="dmd-bootstrap"