Patch XSupplicant

dan dpoma
Wed Jan 7 06:53:14 PST 2004


I need to use WPA_Supplicant, so I try to patch XSupplicant, but:

[root at localhost xsupplicant5patch]# cat ../xsupplicant.patch | patch -p1
can't find file to patch at input line 15
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|This is a patch for current (Fri Nov 28 16:57:59 PST 2003) Xsupplicant CVS
|version to enable sending PMK from EAP negotiation to wpa_supplicant over
|a UNIX domain socket. A new command line option, '-W', must be used to
|enable this functionality.
|
|
|Index: src/eap.c
|===================================================================
|RCS file: /home/jm/cvsroot/xsupplicant/src/eap.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -u -p -r1.1.1.1 -r1.2
|--- src/eap.c  29 Nov 2003 00:49:36 -0000      1.1.1.1
|+++ src/eap.c  29 Nov 2003 00:56:02 -0000      1.2
--------------------------
File to patch: /root/HostAP/xsupplicant5patch/src/eap.c
patching file /root/HostAP/xsupplicant5patch/src/eap.c
Hunk #1 FAILED at 88.
Hunk #2 FAILED at 172.
Hunk #3 FAILED at 268.
3 out of 3 hunks FAILED -- saving rejects to file 
/root/HostAP/xsupplicant5patch/src/eap.c.rej
can't find file to patch at input line 86
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: src/xsup_driver.c
|===================================================================
|RCS file: /home/jm/cvsroot/xsupplicant/src/xsup_driver.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -u -p -r1.1.1.1 -r1.2
|--- src/xsup_driver.c  29 Nov 2003 00:49:36 -0000      1.1.1.1
|+++ src/xsup_driver.c  29 Nov 2003 00:56:02 -0000      1.2
--------------------------
File to patch:


Thanks





More information about the Hostap mailing list