Leonardo wrote: > Thanks Rumen, > that was it; now I have problems applying the patch, but I think > I can figure it out. > > Thanks to Neil too. > > Ciao, Leo > > --- Rumen Yotov <[EMAIL PROTECTED]> wrote: >> 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 >> > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com Hi, To trouble-shoot the patching process try the following: 1.Comment the "epatch ..." line in src_unpack(); #ebuild /usr/local/portage/$category/$package-version-rev.ebuild unpack #cd /var/tmp/portage/$package-version-rev./work/$package-version-rev./ patch -pX[0|1|2] --dry-run -i /path/to/patch/file/file-patch Watch for errors, if any. If patching is successful run: #ebuild /usr/local/portage/$category/$package-version-rev.ebuild compile #ebuild /usr/local/portage/$category/$package-version-rev.ebuild install #ebuild /usr/local/portage/$category/$package-version-rev.ebuild qmerge #ebuild /usr/local/portage/$category/$package-version-rev.ebuild clean Last one is optional (it just cleans the WORKDIR under /var/tmp/portage) Replace "epatch ..." with patch...-optional(watch out for path issues). PS: please don't top-post (preferred ML-policy). HTH.Rumen
smime.p7s
Description: S/MIME Cryptographic Signature