对源码包打补丁方法Patch
生活随笔
收集整理的這篇文章主要介紹了
对源码包打补丁方法Patch
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
今天編譯netkit-ftp,里面要打補丁,不知道怎么打,遂記錄一下
參考文章:Patch打補丁學習筆記
我的補丁打不了,找不到文件,算了,先不打了
[root@ubuntu /arnold_test/20211219_ftpCrossCompile/netkit-ftp-0.17]6# patch -p1<readline-2.0.patch can't find file to patch at input line 7 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |This patch corrects a config mistake in GNU readline-2.0 that causes |it to mishandle signals, resulting in problems with ftp's ^C handling. | | |*** signals.c.dist Wed Aug 3 11:25:57 1994 |--- signals.c Wed Aug 14 13:23:30 1996 -------------------------- File to patch: Skip this patch? [y] y Skipping patch. 1 out of 1 hunk ignored [root@ubuntu /arnold_test/20211219_ftpCrossCompile/netkit-ftp-0.17]7# 與50位技術專家面對面20年技術見證,附贈技術全景圖總結
以上是生活随笔為你收集整理的对源码包打补丁方法Patch的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linux type命令(用来显示指定命
- 下一篇: ubuntu makefile交叉编译报