Gentoo Archives: gentoo-user

From: Rumen Yotov <rumen@××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Howto patch ebuilds?
Date: Fri, 30 Jun 2006 08:09:18
Message-Id: 44A4DB7F.1090707@qrypto.org
In Reply to: [gentoo-user] Howto patch ebuilds? by Leonardo
1 Leonardo wrote:
2 > Hi again,
3 >
4 > I'm trying to apply a patch from gentoo bugzilla on a ebuild
5 > that's in portage, but cannot find infos on how to do it.
6 >
7 > Can anybody please tell me what should I do or wher to find the
8 > necessary info?
9 >
10 > Ciao and thanks again to everybody.
11 >
12 > Leo
13 >
14 > __________________________________________________
15 > Do You Yahoo!?
16 > Tired of spam? Yahoo! Mail has the best spam protection around
17 > http://mail.yahoo.com
18 Hi,
19 If you don't have portage-overlay configured:
20 #mkdir /usr/local/portage
21 #echo "PORTDIR_OVERLAY=/usr/local/portage" >> /etc/make.conf
22 ...SKIP ABOVE... if PORTDIR_OVERLAY etc. already there
23 category=category package belongs to (e.g. sys-apps)
24 package=package-name (e.g. 'acl')
25 #mkdir /usr/local/portage/$category
26 #mkdir /usr/local/portage/$category/$package
27 #cp -arv /usr/portage/$category/$package/*
28 /usr/local/portage/$category/$package
29 copy "patch-name..." in /usr/local/portage/$category/$package/files
30 Edit /usr/local/portage/$category/$package/$package-version-rev.ebuild
31 adding in src_unpack() function:
32 epatch ${FILESDIR}/"patch-name..."
33 Save&exit
34 #ebuild
35 /usr/local/portage/$category/$package/$package-version-rev.ebuild digest
36 #emerge $category/$package -av
37 Hope i didn't screwed something so check it again (some things might be
38 made shorter though).
39 HTH.Rumen

Attachments

File name MIME type
smime.p7s application/x-pkcs7-signature

Replies

Subject Author
Re: [gentoo-user] Howto patch ebuilds? Leonardo <leodp@×××××.com>
Re: [gentoo-user] Howto patch ebuilds? "Bo Ørsted Andresen" <bo.andresen@××××.dk>