- Applied patch from Toshio Kuratomi to avoid problems with DOS-format
newlines (bug #154283).
This commit is contained in:
parent
2b9a57c2ea
commit
7599689248
10
patch-stripcr.patch
Normal file
10
patch-stripcr.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- patch-2.5.4/pch.c.stripcr 1999-08-30 07:20:08.000000000 +0100
|
||||
+++ patch-2.5.4/pch.c 2005-04-29 16:39:40.000000000 +0100
|
||||
@@ -419,7 +419,6 @@
|
||||
if (s[0] == '+' && s[1] == '0' && !ISDIGIT (s[2]))
|
||||
p_says_nonexistent[NEW] = 1 + ! p_timestamp[NEW];
|
||||
p_indent = indent;
|
||||
- p_strip_trailing_cr = strip_trailing_cr;
|
||||
p_start = this_line;
|
||||
p_sline = p_input_line;
|
||||
retval = UNI_DIFF;
|
@ -1,7 +1,7 @@
|
||||
Summary: The GNU patch command, for modifying/upgrading files.
|
||||
Name: patch
|
||||
Version: 2.5.4
|
||||
Release: 22
|
||||
Release: 23
|
||||
License: GPL
|
||||
URL: http://www.gnu.org/software/patch/patch.html
|
||||
Group: Development/Tools
|
||||
@ -11,6 +11,7 @@ Patch2: patch-2.5.4-suffix.patch
|
||||
Patch3: patch-2.5.4-sigsegv.patch
|
||||
Patch4: patch-2.5.4-ifdef.patch
|
||||
Patch5: patch-2.5.4-program_name.patch
|
||||
Patch6: patch-stripcr.patch
|
||||
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
@ -30,6 +31,7 @@ applications.
|
||||
%patch3 -p1 -b .sigsegv
|
||||
%patch4 -p1 -b .ifdef
|
||||
%patch5 -p1 -b .program_name
|
||||
%patch6 -p1 -b .stripcr
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
|
||||
@ -56,6 +58,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Fri Apr 29 2005 Tim Waugh <twaugh@redhat.com> 2.5.4-23
|
||||
- Applied patch from Toshio Kuratomi to avoid problems with DOS-format
|
||||
newlines (bug #154283).
|
||||
|
||||
* Wed Mar 2 2005 Tim Waugh <twaugh@redhat.com> 2.5.4-22
|
||||
- Rebuild for new GCC.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user