help for using patch

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

help for using patch

Stef Pillaert BK-2
I'm sorry but I'm not very familiar with patches. Is it something like:

#patch < patchfile

I have to do?

When I do this, I get:

#Hmm...  Looks like a new-style context diff to me...
#The text leading up to this was:
#--------------------------
#|
#|        * pt-mat.h (tree_matrix_row::preserve_expr): New private data.
#|        (tree_matrix_row::~tree_matrix_row): Delete list contents.
#|        (tree_matrix::~tree_matrix): Delete list contents.
#|        * pt-mat.cc (tree_matrix_row::to_return_list): Set preserve_expr
#|        to true if successful.
#|
#|
#|*** src/pt-mat.h~       Mon Nov 18 22:34:55 1996
#|--- src/pt-mat.h        Tue Sep  2 08:29:04 1997
#--------------------------
#Patching file src/pt-mat.h using Plan A...
#Hunk #1 failed at 46.
 
(the second hunk seemed to have succeeded) and also something like:


#Hmm...  The next patch looks like a new-style context diff to me...
#The text leading up to this was:
#--------------------------
#|*** src/pt-mat.cc~      Mon Jan  6 00:13:42 1997
#|--- src/pt-mat.cc       Tue Sep  2 08:27:54 1997
#--------------------------
#Patching file src/pt-mat.cc using Plan A...
#Hunk #1 succeeded at 581 with fuzz 1 (offset 142 lines).
#done

I suspect it isn't what it should be. Can somebody explain me what I have
to do?

Thanks,

Stef