Index: Makefile =================================================================== --- Makefile (revision 385970) +++ Makefile (working copy) @@ -2,11 +2,10 @@ # $FreeBSD$ PORTNAME= moreutils -PORTVERSION= 0.53 -PORTREVISION= 1 +PORTVERSION= 0.55 CATEGORIES= sysutils MASTER_SITES= DEBIAN_POOL -DISTNAME= ${PORTNAME}_${PORTVERSION} +DISTNAME= ${PORTNAME}_${PORTVERSION}.orig MAINTAINER= sunpoet@FreeBSD.org COMMENT= Additional Unix utilities @@ -21,7 +20,7 @@ ALL_TARGET= errnos.h ${CANNED_MANPAGES:R} USES= perl5 shebangfix -WRKSRC= ${WRKDIR}/${PORTNAME} +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} CANNED_MANPAGES=errno.1 \ ifdata.1 \ Index: distinfo =================================================================== --- distinfo (revision 385970) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (moreutils_0.53.tar.gz) = 4f1842467759b6747f28a624c317a315f0b54a44440d2c8e2eec4d10144696fc -SIZE (moreutils_0.53.tar.gz) = 47613 +SHA256 (moreutils_0.55.orig.tar.gz) = da9d5cd145ceea967a65dd50031d168d66199c3eb41b9390b57f35d4a5808ab5 +SIZE (moreutils_0.55.orig.tar.gz) = 46500 Index: files/patch-moreutils-parallel.c =================================================================== --- files/patch-moreutils-parallel.c (revision 385970) +++ files/patch-moreutils-parallel.c (working copy) @@ -1,6 +1,14 @@ ---- ./parallel.c.orig 2010-07-06 12:06:47.000000000 -0700 -+++ ./parallel.c 2010-11-17 15:49:57.000000000 -0800 -@@ -87,6 +87,7 @@ +--- parallel.c.orig 2015-01-19 18:03:51 UTC ++++ parallel.c +@@ -31,6 +31,7 @@ + #include + #include + #include ++#include + + #ifdef __sun + # include /* getloadavg() */ +@@ -112,6 +113,7 @@ void exec_child(char **command, char **a return; } @@ -8,7 +16,7 @@ int wait_for_child(int options) { id_t id_ignored = 0; siginfo_t infop; -@@ -101,6 +102,18 @@ +@@ -126,6 +128,18 @@ int wait_for_child(int options) { } return 1; } @@ -25,5 +33,5 @@ +#endif + - int main(int argc, char **argv) { - int maxjobs = -1; + static int pipe_child(int fd, int orig_fd) + {