diff --git a/debian/patches/polly-c++0x.diff b/debian/patches/polly-c++0x.diff new file mode 100644 index 00000000..d9ed7c8d --- /dev/null +++ b/debian/patches/polly-c++0x.diff @@ -0,0 +1,13 @@ +Index: llvm-3.2.src/polly/lib/CodeGen/LoopGenerators.cpp +=================================================================== +--- llvm-3.2.src.orig/polly/lib/CodeGen/LoopGenerators.cpp 2012-11-01 17:45:18.000000000 +0100 ++++ llvm-3.2.src/polly/lib/CodeGen/LoopGenerators.cpp 2013-01-24 12:37:56.801142541 +0100 +@@ -226,7 +226,7 @@ + for (unsigned i = 0; i < OldValues.size(); i++) { + Value *Address = Builder.CreateStructGEP(Struct, i); + Value *NewValue = Builder.CreateLoad(Address); +- Map.insert(std::make_pair(OldValues[i], NewValue)); ++ Map.insert(std::pair(OldValues[i], NewValue)); + } + } + diff --git a/debian/patches/series b/debian/patches/series index b9386c10..0ce3a75d 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -26,3 +26,5 @@ profile_rt.diff scan-build-clang-path.diff 57-lldb-soname.diff 0050-powerpcspe-fp.diff +polly-c++0x.diff +