From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fa528,a9863307fa7e8381 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-09-07 16:27:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-05!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Dave Uhring Newsgroups: comp.unix.tru64 Subject: Re: rsync-2.5.5 compile error Date: Sat, 07 Sep 2002 18:25:19 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <3d78e907$0$173$edfadb0f@dspool01.news.tele.dk> <3d7a7ed9$0$132$edfadb0f@dspool01.news.tele.dk> User-Agent: KNode/0.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8Bit X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.unix.tru64:8581 christian m�nster wrote: > "Paul A Sand" 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.