Index: files/patch-Telegram_ThirdParty_rlottie_src_lottie_rapidjson_document.h =================================================================== --- files/patch-Telegram_ThirdParty_rlottie_src_lottie_rapidjson_document.h (nonexistent) +++ files/patch-Telegram_ThirdParty_rlottie_src_lottie_rapidjson_document.h (working copy) @@ -0,0 +1,30 @@ +--- Telegram/ThirdParty/rlottie/src/lottie/rapidjson/document.h.orig 2020-01-23 12:47:53 UTC ++++ Telegram/ThirdParty/rlottie/src/lottie/rapidjson/document.h +@@ -24,6 +24,9 @@ + #include "encodedstream.h" + #include // placement new + #include ++#ifdef __cpp_impl_three_way_comparison ++#include ++#endif + + RAPIDJSON_DIAG_PUSH + #ifdef __clang__ +@@ -175,12 +178,17 @@ class GenericMemberIterator { (public) + + //! @name relations + //@{ ++#ifdef __cpp_impl_three_way_comparison ++ template bool operator==(const GenericMemberIterator& that) const { return ptr_ == that.ptr_; } ++ template std::strong_ordering operator<=>(const GenericMemberIterator& that) const { return ptr_ <=> that.ptr_; } ++#else + bool operator==(ConstIterator that) const { return ptr_ == that.ptr_; } + bool operator!=(ConstIterator that) const { return ptr_ != that.ptr_; } + bool operator<=(ConstIterator that) const { return ptr_ <= that.ptr_; } + bool operator>=(ConstIterator that) const { return ptr_ >= that.ptr_; } + bool operator< (ConstIterator that) const { return ptr_ < that.ptr_; } + bool operator> (ConstIterator that) const { return ptr_ > that.ptr_; } ++#endif + //@} + + //! @name dereference Property changes on: files/patch-Telegram_ThirdParty_rlottie_src_lottie_rapidjson_document.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: files/patch-Telegram_lib__base_base_thread__safe__wrap.h =================================================================== --- files/patch-Telegram_lib__base_base_thread__safe__wrap.h (nonexistent) +++ files/patch-Telegram_lib__base_base_thread__safe__wrap.h (working copy) @@ -0,0 +1,18 @@ +--- Telegram/lib_base/base/thread_safe_wrap.h.orig 2020-01-29 09:41:30 UTC ++++ Telegram/lib_base/base/thread_safe_wrap.h +@@ -19,13 +19,13 @@ class thread_safe_wrap { (public) + + template + auto with(Callback &&callback) { +- QMutexLocker lock(&_mutex); ++ QMutexLocker lock((QBasicMutex *)&_mutex); + return callback(_value); + } + + template + auto with(Callback &&callback) const { +- QMutexLocker lock(&_mutex); ++ QMutexLocker lock((QBasicMutex *)&_mutex); + return callback(_value); + } + Property changes on: files/patch-Telegram_lib__base_base_thread__safe__wrap.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property