Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339922 - sys-devel/clang-2.8: dropped prefix patch
Summary: sys-devel/clang-2.8: dropped prefix patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-06 09:07 UTC by Bernard Cafarelli
Modified: 2010-10-24 12:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).