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

Bug 339922

Summary: sys-devel/clang-2.8: dropped prefix patch
Product: Gentoo/Alt Reporter: Bernard Cafarelli <voyageur>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bernard Cafarelli gentoo-dev 2010-10-06 09:07:26 UTC
Bumping clang to 2.8, the -2.7-darwin-prefix.patch patch does not apply anymore, ebuild snippet:
    # Fix toolchain lookup for Darwin/Prefix.
    epatch "${FILESDIR}"/${PN}-2.7-darwin-prefix.patch
    sed -e "s|@GENTOO_PORTAGE_CHOST@|${CHOST%%-darwin*}-darwin|g" \
        -e "s|@GENTOO_PORTAGE_EPREFIX@|${EPREFIX}|g" \
        -i tools/clang/lib/Driver/ToolChains.cpp \
        || die "fixing toolchain lookup"

As clang-9999 ebuild does not have this part, I dropped it from 2.8. Can you check if it works fine for you? thanks
Comment 1 Fabian Groffen gentoo-dev 2010-10-06 09:32:26 UTC
yup, I will, thanks!
Comment 2 Fabian Groffen gentoo-dev 2010-10-24 12:11:25 UTC
Fixes are still necessary, but patch had to be updated.

The bits are not in 9999 because I think that will break it most of the time (failing patch).