FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 12-04-2007, 09:40 PM
Grant
 
Default 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
 
Old 12-05-2007, 03:03 AM
"Andrey Vul"
 
Default 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
 

Thread Tools




All times are GMT. The time now is 04:19 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org