suncrow 发表于 2005-9-9 23:18:01

弱弱地问一下,Path文件如何使用??

弱弱地问一下,Path文件如何使用??

用sh执行吗????但是出现错误怎么办????

# sh rmvb.patch
diff: MPlayer-1.0pre7/Gui/mplayer/gtk/fs.c: 没有那个文件或目录
diff: MPlayer-1.0pre7_new/Gui/mplayer/gtk/fs.c: 没有那个文件或目录
rmvb.patch: line 2: ---: command not found
rmvb.patch: line 3: +++: command not found
rmvb.patch: line 4: @@: command not found
rmvb.patch: line 22: syntax error: unexpected end of file

druggo 发表于 2005-9-9 23:36:21

偶尔用过,好像是:
patch -p1 < xxx.patch

suncrow 发表于 2005-9-9 23:41:20

# patch -p1 < mplayer-1.pre4-chinese.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uNr MPlayer-1.0pre4/libvo/font_load_ft.c MPlayer-1.0pre4-yqh/libvo/font_load_ft.c
|--- MPlayer-1.0pre4/libvo/font_load_ft.c       2003-12-08 21:30:30.000000000 +0800
|+++ MPlayer-1.0pre4-yqh/libvo/font_load_ft.c   2004-05-02 01:22:16.000000000 +0800
--------------------------
File to patch:
Skip this patch?
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uNr MPlayer-1.0pre4/libvo/sub.c MPlayer-1.0pre4-yqh/libvo/sub.c
|--- MPlayer-1.0pre4/libvo/sub.c      2003-10-28 05:36:29.000000000+0800
|+++ MPlayer-1.0pre4-yqh/libvo/sub.c    2004-05-02 01:21:55.000000000+0800
--------------------------
File to patch:
Skip this patch?
Skipping patch.
1 out of 1 hunk ignored



何故????谢谢~~~~~~~~~~~~~~~~~~~~~~~~~

druggo 发表于 2005-9-9 23:58:19

俺很少用,无法解释……

你哪里弄来的补丁,应该有使用说明的啊。

jiangtao9999 发表于 2005-9-9 23:58:48

所在的目录错了?
页: [1]
查看完整版本: 弱弱地问一下,Path文件如何使用??