如何打上firefly的patch
时间:2004-04-20
来源:互联网
请问我该如何打上firefly的patch,搞了好久,找了好多资料,还是不会,请指教
bash-2.05b# patch -p1 -i freetype-2.1.7-autohint-cjkfonts-20031121.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 -uNrp freetype-2.1.7.orig/src/autohint/ahglobal.c freetype-2.1.7/src/autohint/ahglobal.c
|--- freetype-2.1.7.orig/src/autohint/ahglobal.c 2003-10-16 06:20:56.000000000 +0800
|+++ freetype-2.1.7/src/autohint/ahglobal.c 2003-11-21 11:22:54.000000000 +0800
--------------------------
File to patch: /usr/include/freetype2/freetype/freetype.h
patching file /usr/include/freetype2/freetype/freetype.h
Hunk #1 FAILED at 30.
Hunk #2 FAILED at 43.
Hunk #3 FAILED at 100.
Hunk #4 FAILED at 110.
Hunk #5 FAILED at 129.
Hunk #6 FAILED at 174.
Hunk #7 FAILED at 264.
Hunk #8 FAILED at 344.
Hunk #9 FAILED at 386.
Hunk #10 FAILED at 415.
Hunk #11 FAILED at 475.
Hunk #12 FAILED at 490.
Hunk #13 succeeded at 3077 with fuzz 1 (offset 2575 lines).
12 out of 13 hunks FAILED -- saving rejects to file /usr/include/freetype2/freetype/freetype.h.rej
can't find file to patch at input line 430
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uNrp freetype-2.1.7.orig/src/autohint/ahglobal.h freetype-2.1.7/src/autohint/ahglobal.h
|--- freetype-2.1.7.orig/src/autohint/ahglobal.h 2003-04-22 15:49:24.000000000 +0800
|+++ freetype-2.1.7/src/autohint/ahglobal.h 2003-11-21 11:22:54.000000000 +0
800
--------------------------
File to patch: out of 13 hunks
out: No such file or directory
Skip this patch? [y] n
File to patch: /usr/include/freetype2/freetype/freetype.h
patching file /usr/include/freetype2/freetype/freetype.h
Hunk #1 succeeded at 2969 with fuzz 1 (offset 2918 lines).
can't find file to patch at input line 448
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uNrp freetype-2.1.7.orig/src/autohint/ahglyph.c freetype-2.1.7/src/autohint/ahglyph.c
|--- freetype-2.1.7.orig/src/autohint/ahglyph.c 2003-05-28 13:52:05.000000000 +0800
|+++ freetype-2.1.7/src/autohint/ahglyph.c 2003-11-21 11:22:54.000000000 +0800
--------------------------
File to patch:
不知道在file to patch后面输入什么了,
多谢
bash-2.05b# patch -p1 -i freetype-2.1.7-autohint-cjkfonts-20031121.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 -uNrp freetype-2.1.7.orig/src/autohint/ahglobal.c freetype-2.1.7/src/autohint/ahglobal.c
|--- freetype-2.1.7.orig/src/autohint/ahglobal.c 2003-10-16 06:20:56.000000000 +0800
|+++ freetype-2.1.7/src/autohint/ahglobal.c 2003-11-21 11:22:54.000000000 +0800
--------------------------
File to patch: /usr/include/freetype2/freetype/freetype.h
patching file /usr/include/freetype2/freetype/freetype.h
Hunk #1 FAILED at 30.
Hunk #2 FAILED at 43.
Hunk #3 FAILED at 100.
Hunk #4 FAILED at 110.
Hunk #5 FAILED at 129.
Hunk #6 FAILED at 174.
Hunk #7 FAILED at 264.
Hunk #8 FAILED at 344.
Hunk #9 FAILED at 386.
Hunk #10 FAILED at 415.
Hunk #11 FAILED at 475.
Hunk #12 FAILED at 490.
Hunk #13 succeeded at 3077 with fuzz 1 (offset 2575 lines).
12 out of 13 hunks FAILED -- saving rejects to file /usr/include/freetype2/freetype/freetype.h.rej
can't find file to patch at input line 430
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uNrp freetype-2.1.7.orig/src/autohint/ahglobal.h freetype-2.1.7/src/autohint/ahglobal.h
|--- freetype-2.1.7.orig/src/autohint/ahglobal.h 2003-04-22 15:49:24.000000000 +0800
|+++ freetype-2.1.7/src/autohint/ahglobal.h 2003-11-21 11:22:54.000000000 +0
800
--------------------------
File to patch: out of 13 hunks
out: No such file or directory
Skip this patch? [y] n
File to patch: /usr/include/freetype2/freetype/freetype.h
patching file /usr/include/freetype2/freetype/freetype.h
Hunk #1 succeeded at 2969 with fuzz 1 (offset 2918 lines).
can't find file to patch at input line 448
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uNrp freetype-2.1.7.orig/src/autohint/ahglyph.c freetype-2.1.7/src/autohint/ahglyph.c
|--- freetype-2.1.7.orig/src/autohint/ahglyph.c 2003-05-28 13:52:05.000000000 +0800
|+++ freetype-2.1.7/src/autohint/ahglyph.c 2003-11-21 11:22:54.000000000 +0800
--------------------------
File to patch:
不知道在file to patch后面输入什么了,


多谢
作者: xiaoniao9312 发布时间: 2004-04-20
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28