patch problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

patch problems



I forget who posted it, but someone had the following problem:

adam@amanda > patch -p1 < SSLpatch
  Looks like a unified context diff.
Hunk #1 failed at line 44.
Hunk #2 failed at line 53.
Hunk #3 failed at line 203.
Hunk #4 failed at line 212.
Hunk #5 failed at line 223.
Hunk #6 failed at line 231.

I've just had the same on solaris 2.6, and the problem was the version
of patch. Just get 2.5 from gnu:

ftp://src.doc.ic.ac.uk/gnu/patch-2.5.tar.gz

(Don't forget to refresh your source tree as it will be slightly mangled
from the failed attempt).

cheers,
Adam
--
Adam Laurie                   Tel: +44 (181) 742 0755
A.L. Digital Ltd.             Fax: +44 (181) 742 5995
Voysey House                  
Barley Mow Passage            http://www.aldigital.co.uk
London W4 4GB                 mailto:adam@algroup.co.uk
UNITED KINGDOM                PGP key on keyservers