This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: how to apply the patches for i386
- To: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Subject: Re: [ECOS] how to apply the patches for i386
- From: Jonathan Larmour <jlarmour at cygnus dot co dot uk>
- Date: Wed, 29 Nov 2000 20:32:58 +0000
- CC: "'niky'" <b4506051 at csie dot ntu dot edu dot tw>, ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <B1F6452C89AFD411AE0800A0CC734C23015041@EMAIL1>
Fabrice Gautier wrote:
>
> You're right the filenames are wrong, (it's because the eCos cvs server is
> old and broken.) Someone from cygnus (Jifl?) sent a perl script to correct
> the paths in their patch. It should be in the archives.
Attached.
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault
#! /usr/bin/perl -wi
# From: Jason Merrill <jason@cygnus.com>
# Date: 07 Dec 1997 01:29:36 -0800
#
# When I do a cvs diff, I always pass the output through this script, which
# copies the filename from the Index line into the patch itself.
while (<>)
{
if (/^Index: (.*)/)
{
$full = $1;
print;
for (1..7)
{
$_ = <>;
s/ [^\t]+\t/ $full\t/;
print;
}
}
else
{
print;
}
}