[Date Prev][Date Next]
Re: solaris patch vs. linux patch
-----BEGIN PGP SIGNED MESSAGE-----
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.184.108.40.206
> 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
> Works fine on a linux machine ?
We use --ignore-whitespace on FreeBSD ports (databases/db47) which
solved this problem. Another solution would be to convert the patch to
an Unix file :)
Xin LI <firstname.lastname@example.org> http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
-----END PGP SIGNATURE-----