Modified files: sysutils/parallel Makefile distinfo sysutils/parallel/files patch-src__parallel Update to 20121122 Release Notes: http://savannah.gnu.org/forum/forum.php?forum_id=7460 Fix: Patch included. Patch attached with submission follows: How-To-Repeat: N/A
Author: pawel Date: Fri Jan 4 19:56:03 2013 New Revision: 309937 URL: http://svnweb.freebsd.org/changeset/ports/309937 Log: - Update to version 20121122 [1] - Don't use port name in COMMENT Release Notes: http://savannah.gnu.org/forum/forum.php?forum_id=7460 PR: ports/174645 [1] Submitted by: Chris Howey <howeyc@gmail.com> (maintainer) Modified: head/sysutils/parallel/Makefile head/sysutils/parallel/distinfo head/sysutils/parallel/files/patch-src__parallel Modified: head/sysutils/parallel/Makefile ============================================================================== --- head/sysutils/parallel/Makefile Fri Jan 4 19:26:23 2013 (r309936) +++ head/sysutils/parallel/Makefile Fri Jan 4 19:56:03 2013 (r309937) @@ -2,12 +2,12 @@ # $FreeBSD$ PORTNAME= parallel -PORTVERSION= 20121122 +PORTVERSION= 20121222 CATEGORIES= sysutils MASTER_SITES= GNU MAINTAINER= howeyc@gmail.com -COMMENT= GNU parallel is a shell tool for executing jobs in parallel +COMMENT= Shell tool for executing jobs in parallel LICENSE= GPLv3 Modified: head/sysutils/parallel/distinfo ============================================================================== --- head/sysutils/parallel/distinfo Fri Jan 4 19:26:23 2013 (r309936) +++ head/sysutils/parallel/distinfo Fri Jan 4 19:56:03 2013 (r309937) @@ -1,2 +1,2 @@ -SHA256 (parallel-20121122.tar.bz2) = 0315336141612ba2ec1f76e6c8c58a72f4531777c96b79b91ef64b3980be584f -SIZE (parallel-20121122.tar.bz2) = 236294 +SHA256 (parallel-20121222.tar.bz2) = 0ce96ad4e36734baae7ce6c8d99d004810fbfdf5209d6f86d5b5fc9a92dc17f8 +SIZE (parallel-20121222.tar.bz2) = 237603 Modified: head/sysutils/parallel/files/patch-src__parallel ============================================================================== --- head/sysutils/parallel/files/patch-src__parallel Fri Jan 4 19:26:23 2013 (r309936) +++ head/sysutils/parallel/files/patch-src__parallel Fri Jan 4 19:56:03 2013 (r309937) @@ -1,28 +1,45 @@ ---- ./src/parallel.orig 2012-08-22 21:25:08.000000000 -0500 -+++ ./src/parallel 2012-08-22 21:25:24.000000000 -0500 -@@ -4571,21 +4571,15 @@ - # Returns: - # number of chars on the longest command line allowed - if(not $Limits::Command::line_max_len) { -+ $Limits::Command::line_max_len = `getconf ARG_MAX` - 1024; - if($::opt_s) { -- if(is_acceptable_command_line_length($::opt_s)) { -- $Limits::Command::line_max_len = $::opt_s; +--- ./src/parallel.orig 2012-12-22 14:56:17.000000000 -0600 ++++ ./src/parallel 2012-12-22 14:58:55.000000000 -0600 +@@ -4790,29 +4790,19 @@ + package Limits::Command; + + # Maximal command line length (for -m and -X) +-sub max_length { +- # Find the max_length of a command line and cache it +- # Returns: +- # number of chars on the longest command line allowed +- if(not $Limits::Command::line_max_len) { +- if($opt::s) { +- if(is_acceptable_command_line_length($opt::s)) { +- $Limits::Command::line_max_len = $opt::s; - } else { - # -s is too long: Find the correct -- $Limits::Command::line_max_len = binary_find_max_length(0,$::opt_s); -+ if($::opt_s > $Limits::Command::line_max_len) { -+ print STDERR "$Global::progname: ", -+ "you are setting value for -s greater than $Limits::Command::line_max_len\n"; - } - if($::opt_s <= $Limits::Command::line_max_len) { - $Limits::Command::line_max_len = $::opt_s; +- $Limits::Command::line_max_len = binary_find_max_length(0,$opt::s); +- } +- if($opt::s <= $Limits::Command::line_max_len) { +- $Limits::Command::line_max_len = $opt::s; - } else { - ::warning("Value for -s option ", - "should be < $Limits::Command::line_max_len.\n"); - } +- } - } else { - $Limits::Command::line_max_len = real_max_length(); - } - } - return $Limits::Command::line_max_len; +- } +- } +- return $Limits::Command::line_max_len; ++sub max_length { ++ # FreeBSD code: ++ if(not $Limits::Command::line_max_len) { ++ $Limits::Command::line_max_len = `getconf ARG_MAX` - 1024; ++ if ($opt::s) { ++ if ($opt::s > $Limits::Command::line_max_len) { ++ print STDERR "$Global::progname: ", ++ "you are setting value for -s greater than $Limits::Command::line_max_len\n"; ++ } ++ $Limits::Command::line_max_len = $opt::s; ++ } ++ } ++ return $Limits::Command::line_max_len; + } + + sub real_max_length { _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!