Index: head/ports-mgmt/pkg-devel/files/patch-fix-waitpid =================================================================== --- head/ports-mgmt/pkg-devel/files/patch-fix-waitpid (nonexistent) +++ head/ports-mgmt/pkg-devel/files/patch-fix-waitpid (revision 351349) @@ -0,0 +1,25 @@ +diff --git src/main.c src/main.c +index ad44520..b5c5320 100644 +--- src/main.c ++++ src/main.c +@@ -38,6 +38,7 @@ + + #include + #include ++#include + #include + #include + #include +@@ -434,8 +435,10 @@ start_process_worker(void) + if (child_pid == -1) + err(EX_OSERR, "Failed to fork worker process"); + +- if (waitpid(child_pid, &status, WEXITED) == -1) +- err(EX_OSERR, "Child process pid=%d", child_pid); ++ while (waitpid(child_pid, &status, 0) == -1) { ++ if (errno != EINTR) ++ err(EX_OSERR, "Child process pid=%d", child_pid); ++ } + + ret = WEXITSTATUS(status); + Property changes on: head/ports-mgmt/pkg-devel/files/patch-fix-waitpid ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property