Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2007 01:14:40 +0100 (CET)
From:      Ulf Lilleengen <lulf@pvv.ntnu.no>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/109651: [MAINTAINER] make bzrtools use freebsd patch correctly 
Message-ID:  <20070228001440.83FF422842@studby.ntnu.no>
Resent-Message-ID: <200702280020.l1S0K7kZ063388@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         109651
>Category:       ports
>Synopsis:       [MAINTAINER] make bzrtools use freebsd patch correctly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 28 00:20:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Ulf Lilleengen
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD vimes.studby.ntnu.no 7.0-CURRENT FreeBSD 7.0-CURRENT #11: Mon Feb 26 21:35:07 CET 2007 lulf@vimes.studby.ntnu.no:/home/lulf/dev/freebsd/obj/usr/src/sys/VIMES i386


	
>Description:
	bzrtools uses another command line argument on patch for dry runs. Patch
	converts it to use --check, which works.

	Submitted by: Matthew D. Fuller
>How-To-Repeat:
	
>Fix:

	

--- bzrtools_patch.diff begins here ---
Index: files/patch-shelf.py
===================================================================
RCS file: files/patch-shelf.py
diff -N files/patch-shelf.py
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-shelf.py	27 Feb 2007 23:59:07 -0000
@@ -0,0 +1,11 @@
+--- shelf.py.bak	Tue Feb 27 16:17:33 2007
++++ shelf.py	Tue Feb 27 16:40:17 2007
+@@ -250,7 +250,7 @@
+         if reverse:
+             args.append('-R')
+         if dry_run:
+-            args.append('--dry-run')
++            args.append('--check')
+             stdout = stderr = subprocess.PIPE
+         else:
+             stdout = stderr = None
--- bzrtools_patch.diff ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070228001440.83FF422842>