Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   Help applying a qt patch (http://www.linux-archive.org/gentoo-user/12442-help-applying-qt-patch.html)

Grant 12-04-2007 09:40 PM

Help applying a qt patch
 
I've set the ebuild up in an overlay and added:

epatch ${FILESDIR}/qt-4.3.1-r1_gcc3.4_compile_fix.diff

to the ebuild alongside other patches, but the patch always fails with this:

^[[31;01mACCESS DENIED^[[0m rename:
/usr/portage/x11-libs/qt/qt-4.3.1-r1.ebuild
patch: **** Can't rename file
/var/tmp/portage/x11-libs/qt-4.3.1-r1/temp/poIOMqJi to
/usr/portage/x11-libs/qt/qt-4.3.1-r1.ebuild : Permission denied

Here is the patch which reportedly works great:

http://bugs.gentoo.org/attachment.cgi?id=131080&action=view

Could someone tell me what I'm doing wrong?

- Grant
--
gentoo-user@gentoo.org mailing list

"Andrey Vul" 12-05-2007 03:03 AM

Help applying a qt patch
 
On Dec 4, 2007 5:40 PM, Grant <emailgrant@gmail.com> wrote:
> I've set the ebuild up in an overlay and added:
>
> epatch ${FILESDIR}/qt-4.3.1-r1_gcc3.4_compile_fix.diff
mv ${FILESDIR}/qt-4.3.1-r1_gcc3.4_compile_fix.diff
/qt-4.3.1-r1_gcc3.4_compile_fix.diff

> http://bugs.gentoo.org/attachment.cgi?id=131080&action=view
>
> Could someone tell me what I'm doing wrong?

The patch overwrites the *ebuild*, not the *package files*

correct command:
/#patch -N qt-4.3.1-r1_gcc3.4_compile_fix.diff
(/# means root shell, root (/) directory)
--
Andrey Vul
int i;main(){for(;i["]<i;++i){--i;}"];read('-'-'-',i+++"hell
o, world!
",'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);}
hail ioccc
--
gentoo-user@gentoo.org mailing list


All times are GMT. The time now is 09:45 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.