Annotation of pkgsrc/pkgtools/pkgdiff/files/patchdiff.1, revision 1.6
1.6 ! wiz 1: .\" $NetBSD: patchdiff.1,v 1.5 2011/02/02 10:36:20 wiz Exp $
1.1 wiz 2: .\"
1.4 wiz 3: .\" Copyright (c) 2000-2011 by Thomas Klausner <wiz@NetBSD.org>
1.5 wiz 4: .\" All rights reserved.
5: .\"
6: .\" Redistribution and use in source and binary forms, with or without
7: .\" modification, are permitted provided that the following conditions
8: .\" are met:
9: .\" 1. Redistributions of source code must retain the above copyright
10: .\" notice, this list of conditions and the following disclaimer.
11: .\" 2. Redistributions in binary form must reproduce the above copyright
12: .\" notice, this list of conditions and the following disclaimer in the
13: .\" documentation and/or other materials provided with the distribution.
14: .\"
1.6 ! wiz 15: .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR
1.5 wiz 16: .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
17: .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1.6 ! wiz 18: .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR
1.5 wiz 19: .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20: .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21: .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22: .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23: .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24: .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25: .\" POSSIBILITY OF SUCH DAMAGE.
1.1 wiz 26: .\"
1.4 wiz 27: .Dd January 31, 2011
1.2 wiz 28: .Dt PATCHDIFF 1
1.1 wiz 29: .Os
30: .Sh NAME
31: .Nm patchdiff
32: .Nd compare sets of patches
33: .Sh SYNOPSIS
34: .Nm
35: .Sh DESCRIPTION
36: .Nm
37: is a perl script that simplifies comparing a set of previously
38: existing patches with a new one created with
39: .Xr mkpatches 1 .
1.2 wiz 40: .Pp
1.1 wiz 41: .Nm
42: must be called from the package's main directory, that is
1.2 wiz 43: .Pa ${PKGSRC}/category/program .
44: For each patch existing in either the
1.4 wiz 45: .Pa patches
46: directory, it is compared with its backup file
47: .Pq Pa patch-foo.orig
48: using
1.1 wiz 49: .Xr diff 1 .
1.4 wiz 50: If no relevant differences are found, the original patch is restored.
1.1 wiz 51: .Sh SEE ALSO
52: .Xr diff 1 ,
53: .Xr patchdiff 1 ,
54: .Xr pkgdiff 1
CVSweb <webmaster@jp.NetBSD.org>