|
|
发表于 2005-10-28 18:15:24
|
显示全部楼层
请问要怎么打补丁cws-fakebold?
我是在openoffice-2.0.0.ebuild里面加上一行:
- src_unpack() {
- cd ${WORKDIR}
- unpack ooo-build-${MY_PV}.tar.gz
- #Some fixes for our patchset
- cd ${PATCHDIR}
- epatch ${FILESDIR}/${PV}/gentoo-${PV}.diff
- [color=Blue]epatch ${FILESDIR}/${PV}/cws-fakebold.diff[/color]
复制代码
然后把补丁拷到/usr/portage/../openoffice/file/2.0.0/cws-fakebold.diff
然后ACCEPT_KEYWORDS="~x86" emerge openoffice
结果failed如下:
- >>> Unpacking source...
- >>> Unpacking ooo-build-2.0.0.1.tar.gz to /var/tmp/portage/openoffice-2.0.0/work
- * Applying gentoo-2.0.0.diff ... [ ok ]
- * Applying cws-fakebold.diff ...
- * Failed Patch: cws-fakebold.diff !
- * ( /usr/portage/app-office/openoffice/files/2.0.0/cws-fakebold.diff )
- *
- * Include in your bugreport the contents of:
- *
- * /var/tmp/portage/openoffice-2.0.0/temp/cws-fakebold.diff-13828.out
- !!! ERROR: app-office/openoffice-2.0.0 failed.
- !!! Function epatch, Line 361, Exitcode 0
- !!! Failed Patch: cws-fakebold.diff!
- !!! If you need support, post the topmost build error, NOT this status message.
复制代码 |
|