On Sat, Jan 19, 2008 at 05:43:18PM +0000, Ferris McCormick wrote:
> This is random musing based based on perhaps my own problems.
>   I need a local color.file to see well what I have going on, and
> current xorg ignores that.  Thus, at every build, there is in
> oscolor.c a "constant" I must change from 1 to 0.

While I don't have any need for your specific change, I do have the same
problem with some other unrelated patches for unrelated packages. Instead
of manually changing the code for every version bump, you can set up your
bashrc to define a post_src_unpack function, which checks if
${CATEGORY}/${PN} == x11-base/xorg-server, and if so, applies the patch.
solar's old bashrc which does this is still found at
<http://dev.gentoo.org/~solar/bashrc>, and I've put up the function as
I'm using it at <http://dev.gentoo.org/~truedfx/bashrc>.
-- 
gentoo-dev@lists.gentoo.org mailing list

Reply via email to