Openbsd 4.8无法打补丁
发表于 : 2010-12-08 17:58
patch -p0 < 001_bgpd.patch
|================================================================
|RCS file: /cvs/src/usr.sbin/bgpd/session.c,v
|retrieving revision 1.310
|retrieving revision 1.310.2.1
|diff -u -r1.310 -r1.310.2.1
|--- usr.sbin/bgpd/session.c 27 Jun 2010 19:53:34 -0000 1.310
|+++ usr.sbin/bgpd/session.c 15 Nov 2010 14:15:47 -0000 1.310.2.1
--------------------------
File to patch: /usr/src/001_bgpd.patch
Patching file /usr/src/001_bgpd.patch using Plan A...
Hunk #1 succeeded at 1 with fuzz 2.
No such line 246 in input file, ignoring
Hunk #2 failed at 247.
1 out of 2 hunks failed--saving rejects to /usr/src/001_bgpd.patch.rej
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: usr.sbin/bgpd/rde.c
|===================================================================
|RCS file: /cvs/src/usr.sbin/bgpd/rde.c,v
|retrieving revision 1.297
|retrieving revision 1.297.2.1
|diff -u -r1.297 -r1.297.2.1
|--- usr.sbin/bgpd/rde.c 14 Jul 2010 09:00:08 -0000 1.297
|+++ usr.sbin/bgpd/rde.c 15 Nov 2010 14:15:47 -0000 1.297.2.1
--------------------------
File to patch: /usr/src/001_bgpd.patch
Patching file /usr/src/001_bgpd.patch using Plan A...
Hunk #1 succeeded at 1 with fuzz 2.
No such line 226 in input file, ignoring
Hunk #2 failed at 227.
1 out of 2 hunks failed--saving rejects to /usr/src/001_bgpd.patch.rej
done
无法安装补丁!请教各位大牛应该如何解决!小弟是新手!!thks!!
|================================================================
|RCS file: /cvs/src/usr.sbin/bgpd/session.c,v
|retrieving revision 1.310
|retrieving revision 1.310.2.1
|diff -u -r1.310 -r1.310.2.1
|--- usr.sbin/bgpd/session.c 27 Jun 2010 19:53:34 -0000 1.310
|+++ usr.sbin/bgpd/session.c 15 Nov 2010 14:15:47 -0000 1.310.2.1
--------------------------
File to patch: /usr/src/001_bgpd.patch
Patching file /usr/src/001_bgpd.patch using Plan A...
Hunk #1 succeeded at 1 with fuzz 2.
No such line 246 in input file, ignoring
Hunk #2 failed at 247.
1 out of 2 hunks failed--saving rejects to /usr/src/001_bgpd.patch.rej
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: usr.sbin/bgpd/rde.c
|===================================================================
|RCS file: /cvs/src/usr.sbin/bgpd/rde.c,v
|retrieving revision 1.297
|retrieving revision 1.297.2.1
|diff -u -r1.297 -r1.297.2.1
|--- usr.sbin/bgpd/rde.c 14 Jul 2010 09:00:08 -0000 1.297
|+++ usr.sbin/bgpd/rde.c 15 Nov 2010 14:15:47 -0000 1.297.2.1
--------------------------
File to patch: /usr/src/001_bgpd.patch
Patching file /usr/src/001_bgpd.patch using Plan A...
Hunk #1 succeeded at 1 with fuzz 2.
No such line 226 in input file, ignoring
Hunk #2 failed at 227.
1 out of 2 hunks failed--saving rejects to /usr/src/001_bgpd.patch.rej
done
无法安装补丁!请教各位大牛应该如何解决!小弟是新手!!thks!!