add a patch to build polly with -std=c++0x

This commit is contained in:
Sylvestre Ledru 2013-01-24 11:40:05 +00:00
parent 3a1affa7a8
commit a6362421ee
2 changed files with 15 additions and 0 deletions

13
debian/patches/polly-c++0x.diff vendored Normal file
View File

@ -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<Value*, Value*>(OldValues[i], NewValue));
+ Map.insert(std::pair<Value*, Value*>(OldValues[i], NewValue));
}
}

View File

@ -26,3 +26,5 @@ profile_rt.diff
scan-build-clang-path.diff
57-lldb-soname.diff
0050-powerpcspe-fp.diff
polly-c++0x.diff