ports/109651: [MAINTAINER] make bzrtools use freebsd patch correctly

Ulf Lilleengen lulf at pvv.ntnu.no
Wed Feb 28 00:20:08 UTC 2007


>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 at 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:



More information about the freebsd-ports-bugs mailing list