commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2015-02-22 17:20:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "llvm" Changes: -------- --- /work/SRC/openSUSE:Factory/llvm/llvm.changes 2015-01-30 06:11:30.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2015-02-22 17:20:56.000000000 +0100 @@ -1,0 +2,7 @@ +Fri Feb 20 13:40:11 UTC 2015 - rguenther@suse.com + +- Add llvm-fix-intrusiverefcntptr.patch to fix build of LLVM tools + with GCC 5. +- Add llvm-fix-find-gcc5-install.patch to properly find installed GCC 5. + +------------------------------------------------------------------- New: ---- llvm-fix-find-gcc5-install.patch llvm-fix-intrusiverefcntptr.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lldb.spec ++++++ --- /var/tmp/diff_new_pack.xnauHz/_old 2015-02-22 17:20:58.000000000 +0100 +++ /var/tmp/diff_new_pack.xnauHz/_new 2015-02-22 17:20:58.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package lldb # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++++++ llvm.spec ++++++ --- /var/tmp/diff_new_pack.xnauHz/_old 2015-02-22 17:20:58.000000000 +0100 +++ /var/tmp/diff_new_pack.xnauHz/_new 2015-02-22 17:20:58.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package llvm # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -65,6 +65,8 @@ Patch11: libcxxabi-exceptions.patch Patch12: libcxx-libdir.patch Patch13: llvm-remove-clang-only-flags.patch +Patch14: llvm-fix-intrusiverefcntptr.patch +Patch15: llvm-fix-find-gcc5-install.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: binutils-devel >= 2.21.90 BuildRequires: bison @@ -171,6 +173,8 @@ %patch11 %patch12 %patch13 -p1 +%patch14 +%patch15 # Move into right place mv cfe-%{version}.src tools/clang ++++++ llvm-fix-find-gcc5-install.patch ++++++ Index: cfe-3.5.0.src/lib/Driver/ToolChains.cpp =================================================================== --- cfe-3.5.0.src/lib/Driver/ToolChains.cpp.orig 2015-02-20 14:03:49.512242844 +0100 +++ cfe-3.5.0.src/lib/Driver/ToolChains.cpp 2015-02-20 15:07:11.965048162 +0100 @@ -1135,10 +1135,11 @@ Generic_GCC::GCCVersion Linux::GCCVersio GoodVersion.Major < 0) return BadVersion; GoodVersion.MajorStr = First.first.str(); - if (Second.first.getAsInteger(10, GoodVersion.Minor) || - GoodVersion.Minor < 0) - return BadVersion; GoodVersion.MinorStr = Second.first.str(); + if (!Second.first.str().empty () && + (Second.first.getAsInteger(10, GoodVersion.Minor) || + GoodVersion.Minor < 0)) + return BadVersion; // First look for a number prefix and parse that if present. Otherwise just // stash the entire patch string in the suffix, and leave the number ++++++ llvm-fix-intrusiverefcntptr.patch ++++++ Index: include/llvm/ADT/IntrusiveRefCntPtr.h =================================================================== --- include/llvm/ADT/IntrusiveRefCntPtr.h.orig 2014-07-06 00:20:59.000000000 +0200 +++ include/llvm/ADT/IntrusiveRefCntPtr.h 2015-02-20 14:05:08.687151938 +0100 @@ -197,6 +197,9 @@ public: private: void retain() { if (Obj) IntrusiveRefCntPtrInfo<T>::retain(Obj); } void release() { if (Obj) IntrusiveRefCntPtrInfo<T>::release(Obj); } + + template <typename X> + friend class IntrusiveRefCntPtr; }; template<class T, class U> -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de