- Fixed 'sdiff -E' (bug #484892).
This commit is contained in:
parent
8fdc8d1d11
commit
8711fc7d74
12
diffutils-sdiff-E.patch
Normal file
12
diffutils-sdiff-E.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up diffutils-2.8.1/src/sdiff.c.sdiff-E diffutils-2.8.1/src/sdiff.c
|
||||||
|
--- diffutils-2.8.1/src/sdiff.c.sdiff-E 2009-02-13 17:00:38.000000000 +0000
|
||||||
|
+++ diffutils-2.8.1/src/sdiff.c 2009-02-13 17:31:08.000000000 +0000
|
||||||
|
@@ -464,7 +464,7 @@ main (int argc, char *argv[])
|
||||||
|
diffarg (DEFAULT_DIFF_PROGRAM);
|
||||||
|
|
||||||
|
/* parse command line args */
|
||||||
|
- while ((opt = getopt_long (argc, argv, "abBdHiI:lo:stvw:W", longopts, 0))
|
||||||
|
+ while ((opt = getopt_long (argc, argv, "abBdEHiI:lo:stvw:W", longopts, 0))
|
||||||
|
!= -1)
|
||||||
|
{
|
||||||
|
switch (opt)
|
@ -1,7 +1,7 @@
|
|||||||
Summary: A GNU collection of diff utilities
|
Summary: A GNU collection of diff utilities
|
||||||
Name: diffutils
|
Name: diffutils
|
||||||
Version: 2.8.1
|
Version: 2.8.1
|
||||||
Release: 21%{?dist}
|
Release: 22%{?dist}
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
URL: http://www.gnu.org/software/diffutils/diffutils.html
|
URL: http://www.gnu.org/software/diffutils/diffutils.html
|
||||||
Source: ftp://ftp.gnu.org/gnu/diffutils/diffutils-%{version}.tar.gz
|
Source: ftp://ftp.gnu.org/gnu/diffutils/diffutils-%{version}.tar.gz
|
||||||
@ -12,6 +12,7 @@ Source4: sdiff.1
|
|||||||
Patch0: diffutils-2.8.4-i18n.patch
|
Patch0: diffutils-2.8.4-i18n.patch
|
||||||
Patch1: diffutils-2.8.1-badc.patch
|
Patch1: diffutils-2.8.1-badc.patch
|
||||||
Patch2: diffutils-sdiff.patch
|
Patch2: diffutils-sdiff.patch
|
||||||
|
Patch3: diffutils-sdiff-E.patch
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Requires(post): /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
Requires(preun): /sbin/install-info
|
Requires(preun): /sbin/install-info
|
||||||
@ -35,6 +36,7 @@ Install diffutils if you need to compare text files.
|
|||||||
%patch0 -p1 -b .i18n
|
%patch0 -p1 -b .i18n
|
||||||
%patch1 -p1 -b .badc
|
%patch1 -p1 -b .badc
|
||||||
%patch2 -p1 -b .sdiff
|
%patch2 -p1 -b .sdiff
|
||||||
|
%patch3 -p1 -b .sdiff-E
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
@ -77,6 +79,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_infodir}/diff.info*gz
|
%{_infodir}/diff.info*gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 13 2009 Tim Waugh <twaugh@redhat.com> 2.8.1-22
|
||||||
|
- Fixed 'sdiff -E' (bug #484892).
|
||||||
|
|
||||||
* Wed Feb 13 2008 Tim Waugh <twaugh@redhat.com> 2.8.1-21
|
* Wed Feb 13 2008 Tim Waugh <twaugh@redhat.com> 2.8.1-21
|
||||||
- Rebuild for GCC 4.3.
|
- Rebuild for GCC 4.3.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user