patching
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
patching [2009/03/15 14:40] – fixed typos. darkaudax | patching [2009/06/01 18:21] – updated forum link mister_x | ||
---|---|---|---|
Line 27: | Line 27: | ||
The [[http:// | The [[http:// | ||
- | You can obtain the patch in a variety of ways. The wiki page normally provides a download link. As well, patches are included in the aircrack-ng source package in the " | + | You can obtain the patch in a variety of ways. The wiki page normally provides a download link. As well, patches are included in the aircrack-ng source package in the " |
Line 60: | Line 61: | ||
If you want to test applying the patch: | If you want to test applying the patch: | ||
- | patch -Np0 --dryrun | + | patch -Np0 --dry-run |
- | NOTE: There is double dash in front of "dryrun" and " | + | NOTE: There is double dash in front of "dry-run" and " |
It is always a good idea to perform a test prior to applying it for real. This way you can avoid problems. | It is always a good idea to perform a test prior to applying it for real. This way you can avoid problems. | ||
Line 104: | Line 105: | ||
* Play with the " | * Play with the " | ||
* The version of the patch may be wrong for your kernel version. | * The version of the patch may be wrong for your kernel version. | ||
+ | |||
Line 125: | Line 127: | ||
* In some rare cases, a few failures may still be ignored. | * In some rare cases, a few failures may still be ignored. | ||
* The version of the patch may be wrong for your kernel version. | * The version of the patch may be wrong for your kernel version. | ||
+ | * If all hunks fail: The patch may be whitespace-damaged. Try adding the -l option to the patch command line. | ||
+ | * Try applying the patch with the " | ||
* If all else fails, you can try manually updating the source code by reviewing the patch and applying the changes by hand. | * If all else fails, you can try manually updating the source code by reviewing the patch and applying the changes by hand. | ||
patching.txt · Last modified: 2018/10/05 22:57 by mister_x