QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1020|回复: 4

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

[复制链接]
发表于 2005-9-9 23:18:01 | 显示全部楼层 |阅读模式
弱弱地问一下,Path文件如何使用??

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

[root@MagicLinux .mplayer]# 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
发表于 2005-9-9 23:36:21 | 显示全部楼层
偶尔用过,好像是:
patch -p1 < xxx.patch
回复

使用道具 举报

 楼主| 发表于 2005-9-9 23:41:20 | 显示全部楼层
[root@MagicLinux mplayer]# 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? [y]
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? [y]
Skipping patch.
1 out of 1 hunk ignored



何故????谢谢~~~~~~~~~~~~~~~~~~~~~~~~~
回复

使用道具 举报

发表于 2005-9-9 23:58:19 | 显示全部楼层
俺很少用,无法解释……

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

使用道具 举报

发表于 2005-9-9 23:58:48 | 显示全部楼层
所在的目录错了?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-25 22:52 , Processed in 0.047444 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表