Gentoo Archives: gentoo-user

From: Pavel Sanda <ps@××××××××××.cz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Applying patches without needing overlays and modifying ebuilds
Date: Tue, 26 May 2009 10:56:50
Message-Id: 20090526105617.GA26472@atrey.karlin.mff.cuni.cz
In Reply to: [gentoo-user] Applying patches without needing overlays and modifying ebuilds by Nikos Chantziaras
1 > Does anyone think that a mechanism of applying patches to a package without
2 > the need to modify the ebuild of that package would be a useful feature?
3 >
4 > media-video/smplayer j-random-hack.patch
5
6 i have written script (not at my hand atm) with alike syntax using
7 post_src_unpack pre_src_compile hooks. script needs to push patch inside proper
8 directory /etc/portage/... and remove it after emerge. no editing of files
9 around like the /etc/portage/bashrc trick. i can dig the script out if you are
10 interested.
11
12 pavel