Bug 136700 - New USE flag "magic" for net-p2p/mldonkey/fix performance bug
Bug#: 136700 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: net-p2p@gentoo.org Reported By: spiralvoice@web.de
Component: Ebuilds
URL: 
Summary: New USE flag "magic" for net-p2p/mldonkey/fix performance bug
Keywords:  
Status Whiteboard: 
Opened: 2006-06-13 12:33 0000
Description:   Opened: 2006-06-13 12:33 0000
This new USE flag en-/disables the use of sys-apps/file in MLDonkey

------- Comment #1 From spiralvoice 2006-06-13 12:35:30 0000 -------
Created an attachment (id=89078) [details]
Patch for mldonkey-2.7.6.ebuild

------- Comment #2 From spiralvoice 2006-06-13 13:13:12 0000 -------
Created an attachment (id=89084) [details]
backported patch from current CVS

This patch fixes a serious performance problem when MLDonkey
downloads lots of new files or torrents with a lot (>100) subfiles.
This patch is a backport of patch 5159 currently in MLDonkey CVS.

Insert this line

        epatch ${FILESDIR}/${P}-magic.patch

after

src_unpack() {
        unpack ${A}
        cd ${S}

to use it in the ebuild.

------- Comment #3 From Karol Wojtaszek (RETIRED) 2006-06-18 10:01:36 0000 -------
Patch added to portage