public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Help applying a qt patch
@ 2007-12-04 22:40 Grant
  2007-12-05  4:03 ` Andrey Vul
  0 siblings, 1 reply; 2+ messages in thread
From: Grant @ 2007-12-04 22:40 UTC (permalink / raw
  To: Gentoo mailing list

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] Help applying a qt patch
  2007-12-04 22:40 [gentoo-user] Help applying a qt patch Grant
@ 2007-12-05  4:03 ` Andrey Vul
  0 siblings, 0 replies; 2+ messages in thread
From: Andrey Vul @ 2007-12-05  4:03 UTC (permalink / raw
  To: gentoo-user

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!\n",'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);}
hail ioccc
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-05  4:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-04 22:40 [gentoo-user] Help applying a qt patch Grant
2007-12-05  4:03 ` Andrey Vul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox