mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-18 15:28:58 -04:00
net-misc/megasync: fix build with clang
Closes: https://bugs.gentoo.org/950311 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
parent
6ff30a00d2
commit
ac20f906ca
17
net-misc/megasync/files/megasync-5.8.0.2-clang.patch
Normal file
17
net-misc/megasync/files/megasync-5.8.0.2-clang.patch
Normal file
@ -0,0 +1,17 @@
|
||||
https://bugs.gentoo.org/950311
|
||||
https://github.com/meganz/MEGAsync/issues/1055
|
||||
Fix build with clang by removing broken and unused constructor.
|
||||
--- a/src/MEGASync/control/ProtectedQueue.h
|
||||
+++ b/src/MEGASync/control/ProtectedQueue.h
|
||||
@@ -13,11 +13,6 @@ public:
|
||||
ProtectedQueue(){}
|
||||
virtual ~ProtectedQueue(){}
|
||||
|
||||
- ProtectedQueue(const ProtectedQueue& other)
|
||||
- {
|
||||
- std::lock_guard<std::mutex> guard( other.mMutex );
|
||||
- mQueue = other.mQueue;
|
||||
- }
|
||||
|
||||
ProtectedQueue& operator= (ProtectedQueue& other)
|
||||
{
|
@ -83,6 +83,7 @@ PATCHES=(
|
||||
"${FILESDIR}/${PN}-5.7.0.0-fix-install-dir.patch"
|
||||
"${FILESDIR}/${PN}-5.7.0.0-link-zlib.patch"
|
||||
"${FILESDIR}/${PN}-5.7.0.0-rename-libcryptopp.patch"
|
||||
"${FILESDIR}/${PN}-5.8.0.2-clang.patch"
|
||||
)
|
||||
|
||||
nemo_run() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user