Leonardo wrote: > Hi again, > > I'm trying to apply a patch from gentoo bugzilla on a ebuild > that's in portage, but cannot find infos on how to do it. > > Can anybody please tell me what should I do or wher to find the > necessary info? > > Ciao and thanks again to everybody. > > Leo > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com Hi, If you don't have portage-overlay configured: #mkdir /usr/local/portage #echo "PORTDIR_OVERLAY=/usr/local/portage" >> /etc/make.conf ...SKIP ABOVE... if PORTDIR_OVERLAY etc. already there category=category package belongs to (e.g. sys-apps) package=package-name (e.g. 'acl') #mkdir /usr/local/portage/$category #mkdir /usr/local/portage/$category/$package #cp -arv /usr/portage/$category/$package/* /usr/local/portage/$category/$package copy "patch-name..." in /usr/local/portage/$category/$package/files Edit /usr/local/portage/$category/$package/$package-version-rev.ebuild adding in src_unpack() function: epatch ${FILESDIR}/"patch-name..." Save&exit #ebuild /usr/local/portage/$category/$package/$package-version-rev.ebuild digest #emerge $category/$package -av Hope i didn't screwed something so check it again (some things might be made shorter though). HTH.Rumen
smime.p7s
Description: S/MIME Cryptographic Signature