Skip to content

Commit 8e58b22

Browse files
bkuhlsyann-morin-1998
authored andcommitted
package/llvm-project/clang: update patch to be applied with fuzz 0
Commit 8f88a64 "support/scripts/apply-patches.sh: set the maximum fuzz factor to 0" reduced the fuzz factor. Due to this change, host-clang fails to build with output: Applying 0001-lib-Driver-ToolChains-Gnu-Use-GCC_INSTALL_PREFIX-in-.patch using patch: patching file lib/Driver/ToolChains/Gnu.cpp Hunk #1 FAILED at 1725. Hunk #2 succeeded at 2011 (offset 277 lines). 1 out of 2 hunks FAILED -- saving rejects to file lib/Driver/ToolChains/Gnu.cpp.rej Rebase the patch to fix the problem. Fixes: http://autobuild.buildroot.net/results/75b/75baa62275d64c699d9757f7c756fc03ea717877/ Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
1 parent 55c8c23 commit 8e58b22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package/llvm-project/clang/0001-lib-Driver-ToolChains-Gnu-Use-GCC_INSTALL_PREFIX-in-.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ index 2ad45097dc..90d6b5b748 100644
4444
+++ b/lib/Driver/ToolChains/Gnu.cpp
4545
@@ -1725,6 +1725,8 @@ void Generic_GCC::GCCInstallationDetector::init(
4646

47-
Prefixes.push_back(GCCToolchainDir);
47+
Prefixes.push_back(std::string(GCCToolchainDir));
4848
} else {
4949
+ StringRef GccIinstallPrefix = GCC_INSTALL_PREFIX;
5050
+

0 commit comments

Comments
 (0)