ports/160002: [PATCH] sysutils/parallel: update to 20110822

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Aug 22 16:30:09 UTC 2011


>Number:         160002
>Category:       ports
>Synopsis:       [PATCH] sysutils/parallel: update to 20110822
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 22 16:30:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Jul  9 23:23:51 CST
>Description:
- Update to 20110822

Port maintainer (howeyc at gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- parallel-20110822.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/parallel/Makefile,v
retrieving revision 1.16
diff -u -u -r1.16 Makefile
--- Makefile	22 Jul 2011 21:10:58 -0000	1.16
+++ Makefile	22 Aug 2011 16:20:46 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	parallel
-PORTVERSION=	20110722
+PORTVERSION=	20110822
 CATEGORIES=	sysutils
 MASTER_SITES=	GNU
 
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/sysutils/parallel/distinfo,v
retrieving revision 1.11
diff -u -u -r1.11 distinfo
--- distinfo	22 Jul 2011 21:10:58 -0000	1.11
+++ distinfo	22 Aug 2011 16:20:46 -0000
@@ -1,2 +1,2 @@
-SHA256 (parallel-20110722.tar.bz2) = 9e0d7d8d7891e9243de38d593ed268caa55e967a95c8d70accf0dd4f81738271
-SIZE (parallel-20110722.tar.bz2) = 179658
+SHA256 (parallel-20110822.tar.bz2) = cbfe5b7a01850c1fe1c5487aba817bc2ec543441034e886dddbf0a9ed649d267
+SIZE (parallel-20110822.tar.bz2) = 182782
Index: files/patch-src__parallel
===================================================================
RCS file: /home/ncvs/ports/sysutils/parallel/files/patch-src__parallel,v
retrieving revision 1.4
diff -u -u -r1.4 patch-src__parallel
--- files/patch-src__parallel	22 Jul 2011 21:10:58 -0000	1.4
+++ files/patch-src__parallel	22 Aug 2011 16:20:46 -0000
@@ -1,10 +1,10 @@
---- ./src/parallel.orig	2011-07-22 07:24:21.000000000 -0500
-+++ ./src/parallel	2011-07-22 07:33:44.000000000 -0500
-@@ -3963,28 +3963,42 @@
+--- src/parallel.orig	2011-08-22 07:17:43.000000000 +0800
++++ src/parallel	2011-08-22 23:51:57.455272434 +0800
+@@ -4073,28 +4073,42 @@
  
  # Maximal command line length (for -m and -X)
  sub max_length {
--    # Find the max_length of a command line
+-    # Find the max_length of a command line and cache it
 -    # Returns:
 -    #   number of chars on the longest command line allowed
 +    # FreeBSD code:
@@ -15,7 +15,12 @@
 -	    } else {
 -		# -s is too long: Find the correct
 -		$Limits::Command::line_max_len = binary_find_max_length(0,$::opt_s);
--	    }
++	$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";
+ 	    }
 -	    if($::opt_s <= $Limits::Command::line_max_len) {
 -		$Limits::Command::line_max_len = $::opt_s;
 -	    } else {
@@ -24,20 +29,13 @@
 -	    }
 -	} else {
 -	    $Limits::Command::line_max_len = real_max_length();
--	}
-+        $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;
-+        }
++	    $Limits::Command::line_max_len = $::opt_s;
+ 	}
      }
      return $Limits::Command::line_max_len;
 +
 +#    ORIGINAL code:
-+#    # Find the max_length of a command line
++#    # 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) {
--- parallel-20110822.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list