diff --git a/debian/changelog b/debian/changelog index e8ccd96f..d88cebd1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,10 @@ llvm-toolchain-7 (1:7~+rc3-4) UNRELEASED; urgency=medium * Make OpenMP packages coinstallable * Make libc++ packages coinstallable + [ John Paul Adrian Glaubitz ] + * Add patch to fix missing MultiArch include dir + on powerpcspe (Closes: #908791) + -- Sylvestre Ledru Thu, 13 Sep 2018 15:26:41 +0200 llvm-toolchain-7 (1:7~+rc3-3) unstable; urgency=medium diff --git a/debian/patches/powerpcspe-add-missing-include-path.diff b/debian/patches/powerpcspe-add-missing-include-path.diff new file mode 100644 index 00000000..c3a0b532 --- /dev/null +++ b/debian/patches/powerpcspe-add-missing-include-path.diff @@ -0,0 +1,18 @@ +Description: Fix missing include paths on powerpcspe +Author: John Paul Adrian Glaubitz +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908791 +Forwarded: https://reviews.llvm.org/D52066 +Last-Update: 2018-09-13 + +--- llvm-toolchain-7-7~+rc3.orig/clang/lib/Driver/ToolChains/Linux.cpp ++++ llvm-toolchain-7-7~+rc3/clang/lib/Driver/ToolChains/Linux.cpp +@@ -700,7 +700,8 @@ void Linux::AddClangSystemIncludeArgs(co + "/usr/include/mips64el-linux-gnu", + "/usr/include/mips64el-linux-gnuabi64"}; + const StringRef PPCMultiarchIncludeDirs[] = { +- "/usr/include/powerpc-linux-gnu"}; ++ "/usr/include/powerpc-linux-gnu", ++ "/usr/include/powerpc-linux-gnuspe"}; + const StringRef PPC64MultiarchIncludeDirs[] = { + "/usr/include/powerpc64-linux-gnu"}; + const StringRef PPC64LEMultiarchIncludeDirs[] = { diff --git a/debian/patches/series b/debian/patches/series index b9e45846..bb39eeb4 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -52,6 +52,7 @@ remove-test-freezing.diff 0048-Set-html_static_path-_static-everywhere.patch 0049-Use-Debian-provided-MathJax-everywhere.patch impl-path-hurd.diff +powerpcspe-add-missing-include-path.diff # OpenMP @@ -72,4 +73,3 @@ libcxx-silent-failure-arm64.diff D51108-rust-powerpc.diff disable-sse2-old-x86.diff -