Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-dev
| Navigation: |
|
Lists:
gentoo-dev:
< Prev
By Thread
Next >
< Prev
By Date
Next >
|
| Headers: |
|
To:
|
gentoo-dev@g.o
|
|
From:
|
Petteri Räty <betelgeuse@g.o>
|
|
Subject:
|
Re: Re: [gentoo-commits] gentoo-x86 commit in sys-apps/iproute2: ChangeLog iproute2-2.6.24.20080108.ebuild
|
|
Date:
|
Mon, 31 Mar 2008 00:57:45 +0300
|
|
Ciaran McCreesh kirjoitti:
> On Sun, 30 Mar 2008 17:18:44 -0400
> Mark Loeser <halcy0n@g.o> wrote:
>> If it is something we want to move forward with, it should be
>> introduced at the package manager level instead of being an in-tree
>> package manager specific feature.
>
> cat /etc/paludis/hooks/ebuild_unpack_post/patches.bash
> (
> einfo "Looking for user patches"
> cd "${S}"
> patchdir="/etc/paludis/autopatch/${CATEGORY}/${PN}"
> if [[ -d $patchdir ]] ; then
> einfo "Applying user patches"
> for p in $patchdir/*.patch ; do
> einfo "Applying $(basename ${p} )"
> patch -p1 < ${p} || exit 1
> done
> einfo "Done"
> fi
> )
>
> Not that I'd really encourage its use...
>
A similar hook can be rewritten (and I think solar already has) using
Portage bashrc support so we already have the custom patching support.
Regards,
Petteri
|
|