From: Taylor L. <tl...@tr...> - 2008-02-28 19:29:10
|
Thanks, I went ahead and manually specified the patch files using p0, (Obviously I don't have a lot of experience using patch) but when I ran make I got failures with the rrd files. I can send specifics if its of use... -----Original Message----- From: Buchan Milne [mailto:bg...@st...] Sent: Thursday, February 28, 2008 1:10 PM To: dev...@li... Cc: Taylor Lewick Subject: Re: [Devmon] devmon hobbit patch On Thursday 28 February 2008 18:25:01 Taylor Lewick wrote: > Hi all, have hobbit 4.2.0, and downloaded devmon. Saw a hobbit4.2.0 > patch for devmon, so I copied it to hobbit source code directory and > tried to run it using patch -p0 <hobbit-4.2.0-devmon.patch > > And I get back > > > > can't find file to patch at input line 3 > > Perhaps you used the wrong -p or --strip option? > > The text leading up to this was: > > -------------------------- > > |--- hobbit-4.2.0/lib/hobbitrrd.c.devmon 2008-01-22 06:22:11.000000000 > > +0200 > > |+++ hobbit-4.2.0/lib/hobbitrrd.c 2008-01-25 06:09:27.000000000 > > +0200 > > ------------------------- > > File to patch: > > > > So is there another patch option I can run, or do I need to specify the > file to patch for each file? If you were running patch from inside the hobbit source directory, you should use -p1, e.g.: patch -p1 <hobbit-4.2.0-devmon.patch (sorry, I'm used to using gendiff for creating patches, if it seems more logical to others to have the diff relative to the source directory, I'll change that for the final release of devmon-0.3.0). Yay, someone else testing it! Regards, Buchan |