SHA256
3
0
forked from pool/patch

- Version 2.6.1.64:

+ Support for most features of the "diff --git" format: renames
    and copies, permission changes, symlink diffs.  (Binary diffs
    are not supported yet; patch will complain and skip them.)
  + Support for double-quoted filenames: when a filename in a
    context diff starts with a double quote, it is interpreted as
    a C string literal.  The escape sequences \\, \", \a, \b, \f, \n,
    \r, \t, \v, and \ooo (a three-digit octal number between 0 and
    255) are recognized.
  + Refuse to patch read-only files by default, or at least warn
    when patching such files with --force or --batch.
  + Refuse to apply a normal patch to a symlink.  (Previous
    versions of patch were wrongly replacing the symlink with a
    regular file.)
  + When a timestamp specifies a time zone, honor that instead of
    assuming the local time zone (--set-date) or Universal
    Coordinated Time (--set-utc).
  + Support for nanosecond precision timestamps.
  + Many portability and bug fixes.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=14
This commit is contained in:
Andreas Gruenbacher 2010-05-02 12:11:50 +00:00 committed by Git OBS Bridge
parent 212b886518
commit 3b8bf5d048
5 changed files with 33 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a5fbb52fed5c34cb3571296bbc4b48908c3ffacae5d010f0c48f5b762a4e478b
size 254560

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d063523f39300792ea4512bfb6a82003d1f74d72387cc4763a8972ace3403ed9
size 590607

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Sun May 2 14:01:47 CEST 2010 - agruen@suse.de
- Version 2.6.1.64:
+ Support for most features of the "diff --git" format: renames
and copies, permission changes, symlink diffs. (Binary diffs
are not supported yet; patch will complain and skip them.)
+ Support for double-quoted filenames: when a filename in a
context diff starts with a double quote, it is interpreted as
a C string literal. The escape sequences \\, \", \a, \b, \f, \n,
\r, \t, \v, and \ooo (a three-digit octal number between 0 and
255) are recognized.
+ Refuse to patch read-only files by default, or at least warn
when patching such files with --force or --batch.
+ Refuse to apply a normal patch to a symlink. (Previous
versions of patch were wrongly replacing the symlink with a
regular file.)
+ When a timestamp specifies a time zone, honor that instead of
assuming the local time zone (--set-date) or Universal
Coordinated Time (--set-utc).
+ Support for nanosecond precision timestamps.
+ Many portability and bug fixes.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jan 31 16:22:05 CET 2010 - agruen@suse.de Sun Jan 31 16:22:05 CET 2010 - agruen@suse.de

View File

@ -18,13 +18,13 @@
# norootforbuild # norootforbuild
Url: ftp://alpha.gnu.org/gnu/diffutils/ Url: ftp://alpha.gnu.org/gnu/diffutils/
%define ver 2.6.1-9-gf376c5d %define ver 2.6.1.64-4762
Name: patch Name: patch
License: GPLv3+ License: GPLv3+
Group: Productivity/Text/Utilities Group: Productivity/Text/Utilities
AutoReqProv: on AutoReqProv: on
Version: 2.6.1.9 Version: 2.6.1.64
Release: 1 Release: 1
Summary: GNU patch Summary: GNU patch
Source: ftp://alpha.gnu.org/gnu/patch/patch-%ver.tar.bz2 Source: ftp://alpha.gnu.org/gnu/patch/patch-%ver.tar.bz2

View File

@ -1,8 +1,8 @@
Index: patch-2.5.9-122-gba37782/src/patch.c Index: patch-2.6.1.64-4762/src/patch.c
=================================================================== ===================================================================
--- patch-2.5.9-122-gba37782.orig/src/patch.c --- patch-2.6.1.64-4762.orig/src/patch.c
+++ patch-2.5.9-122-gba37782/src/patch.c +++ patch-2.6.1.64-4762/src/patch.c
@@ -572,6 +572,7 @@ static struct option const longopts[] = @@ -622,6 +622,7 @@ static struct option const longopts[] =
{"posix", no_argument, NULL, CHAR_MAX + 7}, {"posix", no_argument, NULL, CHAR_MAX + 7},
{"quoting-style", required_argument, NULL, CHAR_MAX + 8}, {"quoting-style", required_argument, NULL, CHAR_MAX + 8},
{"reject-format", required_argument, NULL, CHAR_MAX + 9}, {"reject-format", required_argument, NULL, CHAR_MAX + 9},
@ -10,7 +10,7 @@ Index: patch-2.5.9-122-gba37782/src/patch.c
{NULL, no_argument, NULL, 0} {NULL, no_argument, NULL, 0}
}; };
@@ -841,6 +842,11 @@ get_some_switches (void) @@ -902,6 +903,11 @@ get_some_switches (void)
else else
usage (stderr, 2); usage (stderr, 2);
break; break;