From: David A. L. <dl...@ly...> - 2012-04-24 10:28:04
|
On Apr 23, 2012, at 1:24 PM, Nicklas Bo Jensen wrote: > He did reply to my message: > On Wed, Apr 11, 2012 at 7:30 PM, John Myers <ato...@gm...> wrote: > Hi Nicklas, > > Sorry, The getting started page needs to be updated. I've always just applied the patch files one at a time, so I never checked to see if this method works. But I get the same error when trying to apply the patches with ../avr-llvm/patches/*.diff | patch -p0 > > You can try something like the below instead. > echo ../avr-llvm/llvm/trunk/patches/*.diff > patch -p0 > > > --John The way I've always used 'patch', that should be 'cat' and '|': cat ../avr-llvm/llvm/trunk/patches/*.diff | patch -p0 The "echo ... > patch -p0" may appear to succeed, but all it did was echo the pathnames of the patch files, and the text "-p0", into a new file in the current directory, called "patch". The 'cat', on the other hand, outputs the contents of the files, and the '|' provides that content to the 'patch' command. Cheers, --Dave |