Index: devel/leatherman/Makefile =================================================================== --- devel/leatherman/Makefile (revision 511996) +++ devel/leatherman/Makefile (working copy) @@ -2,6 +2,7 @@ PORTNAME= leatherman PORTVERSION= 1.7.1 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= puppet@FreeBSD.org Index: devel/leatherman/files/patch-execution_src_posix_execution.cc =================================================================== --- devel/leatherman/files/patch-execution_src_posix_execution.cc (nonexistent) +++ devel/leatherman/files/patch-execution_src_posix_execution.cc (working copy) @@ -0,0 +1,20 @@ +--- execution/src/posix/execution.cc.orig 2019-08-10 21:37:06 UTC ++++ execution/src/posix/execution.cc +@@ -487,9 +487,14 @@ namespace leatherman { namespace execution { + kill(-child, SIGKILL); + } + // Wait for the child to exit +- if (waitpid(child, &status, 0) == -1) { +- LOG_DEBUG(format_error(_("waitpid failed"))); +- return; ++ while (waitpid(child, &status, 0) == -1) { ++ if ( errno == EINTR ) { ++ LOG_DEBUG(format_error(_("waitpid was interrupted by a signal, retrying"))); ++ continue; ++ } else { ++ LOG_DEBUG(format_error(_("waitpid failed"))); ++ return; ++ } + } + if (WIFEXITED(status)) { + status = static_cast(WEXITSTATUS(status)); Property changes on: devel/leatherman/files/patch-execution_src_posix_execution.cc ___________________________________________________________________ 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:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property