Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 289965 Details for
Bug 387309
sys-devel/clang - fix corrected parsing of the path given by --with-cxx-include-root when USE flag system-cxx-headers is used
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fixes the cxx_include_root path parsing under gentoo
clang-fix_cxx_include_root_parsing_for_gentoo.patch (text/plain), 1.32 KB, created by
stephan wezel
on 2011-10-16 17:57:00 UTC
(
hide
)
Description:
fixes the cxx_include_root path parsing under gentoo
Filename:
MIME Type:
Creator:
stephan wezel
Created:
2011-10-16 17:57:00 UTC
Size:
1.32 KB
patch
obsolete
>--- llvm/tools/clang/lib/Driver/ToolChains.cpp.orig 2011-10-16 19:27:45.505711873 +0200 >+++ llvm/tools/clang/lib/Driver/ToolChains.cpp 2011-10-16 19:30:22.810705290 +0200 >@@ -1563,15 +1563,16 @@ > // and this function would return > // CXX_GCC_ROOT/lib/gcc/CXX_INCLUDE_ARCH/CXX_GCC_VER > if (CxxIncludeRoot != "") { >- // This is of the form /foo/bar/include/c++/4.5.2/ >+ // This is of the form /usr/lib/gcc/<ARCH>/<Version>/include/g++-v4 > if (CxxIncludeRoot.back() == '/') > llvm::sys::path::remove_filename(CxxIncludeRoot); // remove the / >+ llvm::sys::path::remove_filename(CxxIncludeRoot); // remove the g++-v4 >+ llvm::sys::path::remove_filename(CxxIncludeRoot); // remove the include > StringRef Version = llvm::sys::path::filename(CxxIncludeRoot); > llvm::sys::path::remove_filename(CxxIncludeRoot); // remove the version >- llvm::sys::path::remove_filename(CxxIncludeRoot); // remove the c++ >- llvm::sys::path::remove_filename(CxxIncludeRoot); // remove the include >+ llvm::sys::path::remove_filename(CxxIncludeRoot); // remove the ARCH > GccInstallPath = CxxIncludeRoot.str(); >- GccInstallPath.append("/lib/gcc/"); >+ GccInstallPath.append("/"); > GccInstallPath.append(CXX_INCLUDE_ARCH); > GccInstallPath.append("/"); > GccInstallPath.append(Version);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 387309
: 289965