Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 35089

Summary: gnome-applets-2.4.1-r2 failed because of bad patching during upack
Product: Gentoo Linux Reporter: Erlend Pedersen :. <erlenp>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Erlend Pedersen :. 2003-12-04 14:13:52 UTC
The multiload_mem_fix.patch is applied using erroneous epatch options. If acpi
is in USE, EPATCH_OPTS is set and used, but not unset. Adding the following to
the ebuild took care of it for me:

src_unpack() {
        unpack ${A}
 
        # http://bugzilla.gnome.org/show_bug.cgi?id=88553
        # http://www.its.caltech.edu/~dmoore/battstat/
        if [ -n "`use acpi`" ]; then
                EPATCH_OPTS="-d ${S}/battstat"
                epatch ${FILESDIR}/battstat-acpi-events-2.3.90.diff
+               unset EPATCH_OPTS
        fi
                                                                                
        cd ${S}/multiload
        epatch ${FILESDIR}/${P}-multiload_mem_fix.patch
                                                                                


Reproducible: Always
Steps to Reproduce:
1. USE="acpi" emerge =gnome-base/gnome-applets-2.4.1-r2
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-12-04 14:23:05 UTC

*** This bug has been marked as a duplicate of 34909 ***