Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Dave Uhring <dmuhring@yahoo.com>
Subject: Re: rsync-2.5.5 compile error
Date: Sat, 07 Sep 2002 18:25:19 -0500	[thread overview]
Message-ID: <unl2n1raa69hf9@corp.supernews.com> (raw)
In-Reply-To: 3d7a7ed9$0$132$edfadb0f@dspool01.news.tele.dk

christian m�nster wrote:

> "Paul A Sand" <pas@granite.unh.edu> wrote in message
> news:slrnank0fo.2eq.pas@granite.unh.edu...

>> I think there's a patch in the rsync distribution that fixes this.
>> After unpacking and cd'ing to the top of the unpacked tree:
>>
>>     patch -p1 < patches/rsync_zoong_tru64.diff
>>
>> I'm at 5.1A, but this may work for 5.1 too.

> 
> now I am getting :
> 
> Hmm...  I can't seem to find a patch in there anywhere.
> 
>
Christian, please post at the bottom of the previous message.  For an 
explanation of this request see: 
http://fmf.fwn.rug.nl/~anton/topposting.html

I have put your response where it should have been.

Now, there is a patches directory within the source tree.  But the patch 
which you require is marked for rsync-2.5.4 and will not apply without 
the kludge of creating a symlink of rsync-2.5.5 -> rsync-2.5.4.

I copied the patch to /tmp where I built the app, then:

[/tmp] $ ln -s rsync-2.5.5 rsync-2.5.4

Then the patch itself needs to be edited to remove the cruft above the 
actual diff output.  The first lines of the patch are:

--- rsync-2.5.4/batch.c Thu Feb  7 08:20:48 2002
+++ rsync-2.5.4.new/batch.c     Fri Mar 22 09:24:01 2002
@@ -405,7 +405,15 @@
 
        /* FIXME: This will break if s->count is ever not exactly an 
int. */
        write_batch_csums_file(flist_entry, sizeof(int));

With the patch in /tmp, it gets applied with

[/tmp] $ patch -p0 < rsync_zoong_tru64.diff

After compiling the sources, the test failed but that is another matter.
 


  reply	other threads:[~2002-09-07 23:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-06 17:42 rsync-2.5.5 compile error christian m�nster
2002-09-07 13:41 ` Paul A Sand
2002-09-07 22:34   ` christian m�nster
2002-09-07 23:25     ` Dave Uhring [this message]
2002-09-08  0:26     ` Paul A Sand
2002-09-08  1:17       ` Dave Uhring
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox