This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How to generate diffs on binary file from CVS?


On Thu, Jul 26, 2001 at 08:46:55PM -0400, DJ Delorie wrote:
> 
> > What is your plan to provide a diff for the next binutils so that a
> > user can do
> > 
> > # patch -p1 < ..../
> > 
> > to patch the binutils soucre tee to the new version?
> 
> Hmmm... Hadn't thought of that.  Nick?  Alan?  Suggestions?

FYI, this is NOT a patch for the FSF binutils, but something I will
use for my next Linux binutils. It seems to work for me.


H.J.
----
2001-07-26  H.J. Lu  <hjl@gnu.org>

	* binutils-all/windres/bmp1.bmp.uu: New. Uunecoded from
	binutils-all/windres/bmp1.bmp.

	* binutils-all/windres/windres.exp: Regenerate bmp1.bmp from
	bmp1.bmp.uu if bmp1.bmp doesn't exist.

Index: binutils-all/windres/windres.exp
===================================================================
RCS file: /work/cvs/gnu/binutils/binutils/testsuite/binutils-all/windres/windres.exp,v
retrieving revision 1.1.1.2
diff -u -p -r1.1.1.2 windres.exp
--- binutils-all/windres/windres.exp	2001/07/24 19:25:41	1.1.1.2
+++ binutils-all/windres/windres.exp	2001/07/27 00:58:07
@@ -39,6 +39,10 @@ if {[which $WINDRES] == 0} then {
     return
 }
 
+if {![info exists $srcdir/$subdir/bmp1.bmp]} then {
+  exec uudecode -o $srcdir/$subdir/bmp1.bmp $srcdir/$subdir/bmp1.bmp.uu
+}
+
 set wr "$WINDRES --include-dir $srcdir/$subdir"
 
 if [file exists "$srcdir/../../winsup/w32api/include"] {
--- /dev/null	Fri Mar 23 20:37:44 2001
+++ binutils-all/windres/bmp1.bmp.uu	Thu Jul 26 18:00:14 2001
@@ -0,0 +1,6 @@
+begin 644 bmp1.bmp
+M0DUZ`````````'8````H`````0````$````!``0```````0`````````````
+M````````````````````@```@````("``(````"``(``@(```,#`P`"`@(``
+@``#_``#_````__\`_P```/\`_P#__P``____`)``````
+`
+end


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]