[Date Prev][Date Next]
Re: solaris patch vs. linux patch
Brett @Google wrote:
Just wondering if anybody knows why solaris patch refuses to process the
bdb 4.7 patch files, where the patch command on linux works perfectly.
Ie: on solaris :
patch -p0 <patch.188.8.131.52
Looks like a context diff to me...
Hunk #1 failed at line 187.
Hunk #3 failed at line 296.
2 out of 4 hunks failed: saving rejects to sequence/sequence.c.rej
Looks like you're using Solaris' old patch, which doesn't understand unified
diffs. You need a recent GNU patch...
Works fine on a linux machine ?
Have tried patch 2.5.9 built from soruce on gnu.org <http://gnu.org>,
this fails also.
(i usually end up patching on linux, and then copying the patched
tarball back to solaris.. but just wondering?)
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/