- 论坛徽章:
- 0
|
原帖由 YouRDj 于 2007-1-5 13:26 发表
#cd /usr/src
#patch < /root/openssh6x.patch
指明的应该是你补丁的位置,patch作用的路径是当前路径,所以就不用写了
我按楼主的说明,将补丁放到/root
然后
#cd /usr/src
#patch < /root/openssh6x.patch
出现如下提示:mail# patch < /root/openssh6x.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: crypto/openssh/auth.h
|===================================================================
|RCS file: /home/ncvs/src/crypto/openssh/auth.h,v
|retrieving revision 1.15.2.1
|diff -u -d -r1.15.2.1 auth.h
|--- crypto/openssh/auth.h 11 Sep 2005 16:50:34 -0000 1.15.2.1
|+++ crypto/openssh/auth.h 30 Sep 2006 16:38:10 -0000
--------------------------
File to patch:
不知何解,
我的/usr/src下面只有一个sys目录 |
|