diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-15 17:24:28 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-15 17:24:28 +0000 |
commit | ceb24859ae8f86c83407be7f1aab6fa48ddfff32 (patch) | |
tree | 73c6ba3347f148c983bacdbcb2ba75e69bf5823f /ports-mgmt/pkg-devel | |
parent | Fix build on head. (diff) |
New patch to avoid tons of cores to be created in case of bad failures
This time bump portrevision
Notes
Notes:
svn path=/head/; revision=351353
Diffstat (limited to 'ports-mgmt/pkg-devel')
-rw-r--r-- | ports-mgmt/pkg-devel/Makefile | 1 | ||||
-rw-r--r-- | ports-mgmt/pkg-devel/files/patch-signal | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/ports-mgmt/pkg-devel/Makefile b/ports-mgmt/pkg-devel/Makefile index 418cf5fc1fc4..806308afb371 100644 --- a/ports-mgmt/pkg-devel/Makefile +++ b/ports-mgmt/pkg-devel/Makefile @@ -2,6 +2,7 @@ PORTNAME= pkg DISTVERSION= 1.3.0.a8 +PORTREVISION= 1 CATEGORIES= ports-mgmt MASTER_SITES= \ http://files.etoilebsd.net/pkg/ \ diff --git a/ports-mgmt/pkg-devel/files/patch-signal b/ports-mgmt/pkg-devel/files/patch-signal new file mode 100644 index 000000000000..542303e4a279 --- /dev/null +++ b/ports-mgmt/pkg-devel/files/patch-signal @@ -0,0 +1,15 @@ +diff --git src/main.c src/main.c +index b5c5320..2398687 100644 +--- src/main.c ++++ src/main.c +@@ -444,6 +444,10 @@ start_process_worker(void) + + if (WIFEXITED(status) && ret != EX_NEEDRESTART) + break; ++ if (WIFSIGNALED(status)) { ++ /* Process got some terminating signal, hence stop the loop */ ++ break; ++ } + } + } + |