diff options
author | bapt <bapt@FreeBSD.org> | 2014-04-16 01:24:28 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-04-16 01:24:28 +0800 |
commit | e71869adcfed840bd2a34ce0180a68e96ffc7798 (patch) | |
tree | 73c6ba3347f148c983bacdbcb2ba75e69bf5823f /ports-mgmt/pkg-devel | |
parent | e7d81164e0d0957f697416d9030cf827ae936d92 (diff) | |
download | freebsd-ports-gnome-e71869adcfed840bd2a34ce0180a68e96ffc7798.tar.gz freebsd-ports-gnome-e71869adcfed840bd2a34ce0180a68e96ffc7798.tar.zst freebsd-ports-gnome-e71869adcfed840bd2a34ce0180a68e96ffc7798.zip |
New patch to avoid tons of cores to be created in case of bad failures
This time bump portrevision
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; ++ } + } + } + |