From f236e9b323517fa254853cdaa440f7f739c809dc Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 09:54:08 +0000 Subject: [PATCH] =?UTF-8?q?auto-import=20changelog=20data=20from=20patch-2?= =?UTF-8?q?.5.4-4.src.rpm=20Wed=20Jul=2012=202000=20Prospector=20=20-=20automatic=20rebuild=20Tue=20Jun=2013=202000?= =?UTF-8?q?=20Trond=20Eivind=20Glomsr=F8d=20=20-=20Use=20%?= =?UTF-8?q?makeinstall,=20%{=5Ftmppath}=20and=20%{=5Fmandir}=20Fri=20May?= =?UTF-8?q?=2012=202000=20Trond=20Eivind=20Glomsr=F8d=20?= =?UTF-8?q?=20-=20added=20URL=20Wed=20Feb=2016=202000=20Bernhard=20Rosenkr?= =?UTF-8?q?aenzer=20=20-=202.5.4=20-=20Fix=20up=20LFS=20s?= =?UTF-8?q?upport=20on=20Alpha=20(Bug=20#5732)=20Mon=20Feb=2007=202000=20B?= =?UTF-8?q?ill=20Nottingham=20=20-=20handle=20compress?= =?UTF-8?q?ed=20manpages=20Sun=20Jun=2006=201999=20Alan=20Cox=20=20-=20Fix=20the=20case=20where=20stderr=20isnt=20flushe?= =?UTF-8?q?d=20for=20ask().=20Now=20the=20'no=20such=20file'=20=20=20=20?= =?UTF-8?q?=20appears=20before=20the=20skip=20patch=20question,=20not=20at?= =?UTF-8?q?=20the=20very=20end,=20Doh!=20Mon=20Mar=2022=201999=20Jeff=20Jo?= =?UTF-8?q?hnson=20=20-=20(ultra=3F)=20sparc=20was=20getti?= =?UTF-8?q?ng=20large=20file=20system=20support.=20Sun=20Mar=2021=201999?= =?UTF-8?q?=20Cristian=20Gafton=20=20-=20auto=20rebuild?= =?UTF-8?q?=20in=20the=20new=20build=20environment=20(release=207)=20Fri?= =?UTF-8?q?=20Dec=2018=201998=20Cristian=20Gafton=20=20?= =?UTF-8?q?-=20build=20against=20glibc=202.1=20Tue=20Sep=2001=201998=20Jef?= =?UTF-8?q?f=20Johnson=20=20-=20bump=20release=20to=20pres?= =?UTF-8?q?erve=20newer=20than=20back-ported=204.2.=20Tue=20Jun=2009=20199?= =?UTF-8?q?8=20Prospector=20System=20=20-=20translations?= =?UTF-8?q?=20modified=20for=20de,=20fr=20Tue=20Jun=2009=201998=20Jeff=20J?= =?UTF-8?q?ohnson=20=20-=20Fix=20for=20problem=20#682=20se?= =?UTF-8?q?gfault.=20Fri=20Apr=2024=201998=20Prospector=20System=20=20-=20translations=20modified=20for=20de,=20fr,=20tr?= =?UTF-8?q?=20Tue=20Apr=2007=201998=20Cristian=20Gafton=20=20-=20added=20buildroot=20Tue=20Oct=2021=201997=20Cristian?= =?UTF-8?q?=20Gafton=20=20-=20updated=20to=202.5=20Mon?= =?UTF-8?q?=20Jun=2002=201997=20Erik=20Troan=20=20-=20buil?= =?UTF-8?q?t=20against=20glibc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cvsignore | 1 + patch-2.5-stderr.patch | 11 +++++ patch.spec | 100 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 113 insertions(+) create mode 100644 patch-2.5-stderr.patch create mode 100644 patch.spec diff --git a/.cvsignore b/.cvsignore index e69de29..9697754 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +patch-2.5.4.tar.gz diff --git a/patch-2.5-stderr.patch b/patch-2.5-stderr.patch new file mode 100644 index 0000000..d7a461c --- /dev/null +++ b/patch-2.5-stderr.patch @@ -0,0 +1,11 @@ +--- patch-2.5/util.c~ Thu Jul 10 09:16:12 1997 ++++ patch-2.5/util.c Sun Jun 6 18:16:30 1999 +@@ -568,6 +568,8 @@ + int r; + va_list args; + ++ fflush(stderr); /* Ensure pending errors are written before the question */ ++ + vararg_start (args, format); + vfprintf (stdout, format, args); + va_end (args); diff --git a/patch.spec b/patch.spec new file mode 100644 index 0000000..fd3ac5a --- /dev/null +++ b/patch.spec @@ -0,0 +1,100 @@ +Summary: The GNU patch command, for modifying/upgrading files. +Name: patch +Version: 2.5.4 +Release: 4 +Copyright: GPL +URL: http://www.gnu.org/software/patch/patch.html +Group: Development/Tools +Source: ftp://ftp.gnu.org/gnu/patch/patch-%{version}.tar.gz +Patch1: patch-2.5-stderr.patch +Buildroot: %{_tmppath}/%{name}-%{version}-root + +%description +The patch program applies diff files to originals. The diff command +is used to compare an original to a changed file. Diff lists the +changes made to the file. A person who has the original file can then +use the patch command with the diff file to add the changes to their +original file (patching the file). + +Patch should be installed because it is a common way of upgrading +applications. + +%prep +%setup -q +%patch1 -p1 -b .stderr + +%build +REAL_CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" +%define optflags \$REAL_CFLAGS +%configure + +# XXX unset CPPFLAGS on (ultra?)sparc to avoid large file system support +%ifarch sparc sparc64 +make CPPFLAGS="" +%else +make +%endif + +%install +rm -rf $RPM_BUILD_ROOT +%makeinstall + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc NEWS README +/usr/bin/* +%{_mandir}/*/* + +%changelog +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Tue Jun 13 2000 Trond Eivind Glomsrød +- Use %%makeinstall, %%{_tmppath} and %%{_mandir} + +* Fri May 12 2000 Trond Eivind Glomsrød +- added URL + +* Wed Feb 16 2000 Bernhard Rosenkraenzer +- 2.5.4 +- Fix up LFS support on Alpha (Bug #5732) + +* Mon Feb 7 2000 Bill Nottingham +- handle compressed manpages + +* Sun Jun 06 1999 Alan Cox +- Fix the case where stderr isnt flushed for ask(). Now the 'no such file' + appears before the skip patch question, not at the very end, Doh! + +* Mon Mar 22 1999 Jeff Johnson +- (ultra?) sparc was getting large file system support. + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 7) + +* Fri Dec 18 1998 Cristian Gafton +- build against glibc 2.1 + +* Tue Sep 1 1998 Jeff Johnson +- bump release to preserve newer than back-ported 4.2. + +* Tue Jun 09 1998 Prospector System +- translations modified for de, fr + +* Tue Jun 9 1998 Jeff Johnson +- Fix for problem #682 segfault. + +* Fri Apr 24 1998 Prospector System +- translations modified for de, fr, tr + +* Tue Apr 07 1998 Cristian Gafton +- added buildroot + +* Wed Oct 21 1997 Cristian Gafton +- updated to 2.5 + +* Mon Jun 02 1997 Erik Troan +- built against glibc diff --git a/sources b/sources index e69de29..2520be1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ee5ae84d115f051d87fcaaef3b4ae782 patch-2.5.4.tar.gz