From 53af75f4aee101194ee191aa122873045213f651 Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Tue, 15 Mar 2016 14:50:13 +0200 Subject: [PATCH] llvm:added patch for gcc 5.3.0 --- .../build/llvm/files/llvm-IntrusiveRefCntPtr.patch | 13 +++++++++++++ programming/build/llvm/pspec.xml | 1 + 2 files changed, 14 insertions(+) create mode 100644 programming/build/llvm/files/llvm-IntrusiveRefCntPtr.patch diff --git a/programming/build/llvm/files/llvm-IntrusiveRefCntPtr.patch b/programming/build/llvm/files/llvm-IntrusiveRefCntPtr.patch new file mode 100644 index 0000000000..a4269479c3 --- /dev/null +++ b/programming/build/llvm/files/llvm-IntrusiveRefCntPtr.patch @@ -0,0 +1,13 @@ +--- llvm/trunk/include/llvm/ADT/IntrusiveRefCntPtr.h 2014/09/23 05:23:29 218294 ++++ llvm/trunk/include/llvm/ADT/IntrusiveRefCntPtr.h 2014/09/23 06:06:43 218295 +@@ -197,6 +197,9 @@ + private: + void retain() { if (Obj) IntrusiveRefCntPtrInfo::retain(Obj); } + void release() { if (Obj) IntrusiveRefCntPtrInfo::release(Obj); } ++ ++ template ++ friend class IntrusiveRefCntPtr; + }; + + template + diff --git a/programming/build/llvm/pspec.xml b/programming/build/llvm/pspec.xml index c053e4fb08..e962a3d0a6 100644 --- a/programming/build/llvm/pspec.xml +++ b/programming/build/llvm/pspec.xml @@ -30,6 +30,7 @@ llvm-3.5.0-fix-cmake-llvm-exports.patch llvm-3.5.0-force-link-pass.o.patch + llvm-IntrusiveRefCntPtr.patch