From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 50B141582EF for ; Wed, 05 Mar 2025 14:23:32 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 3C588340CC9 for ; Wed, 05 Mar 2025 14:23:32 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 3D47F1102D2; Wed, 05 Mar 2025 14:23:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 353551102D0 for ; Wed, 05 Mar 2025 14:23:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BAD41343006 for ; Wed, 05 Mar 2025 14:23:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1D440271B for ; Wed, 05 Mar 2025 14:23:29 +0000 (UTC) From: "Takuya Wakazono" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Takuya Wakazono" Message-ID: <1741184524.ac20f906ca4e178bca0fc21c765282e333a83655.pastalian46@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/files/, net-misc/megasync/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-misc/megasync/files/megasync-5.8.0.2-clang.patch net-misc/megasync/megasync-5.8.0.2.ebuild X-VCS-Directories: net-misc/megasync/ net-misc/megasync/files/ X-VCS-Committer: pastalian46 X-VCS-Committer-Name: Takuya Wakazono X-VCS-Revision: ac20f906ca4e178bca0fc21c765282e333a83655 X-VCS-Branch: dev Date: Wed, 05 Mar 2025 14:23:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e7cc15fb-c184-4f9b-a203-2e711e4da623 X-Archives-Hash: d6449dc061593ce37f067f64540c755a commit: ac20f906ca4e178bca0fc21c765282e333a83655 Author: Takuya Wakazono gmail com> AuthorDate: Wed Mar 5 13:46:42 2025 +0000 Commit: Takuya Wakazono gmail com> CommitDate: Wed Mar 5 14:22:04 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ac20f906 net-misc/megasync: fix build with clang Closes: https://bugs.gentoo.org/950311 Signed-off-by: Takuya Wakazono gmail.com> net-misc/megasync/files/megasync-5.8.0.2-clang.patch | 17 +++++++++++++++++ net-misc/megasync/megasync-5.8.0.2.ebuild | 1 + 2 files changed, 18 insertions(+) diff --git a/net-misc/megasync/files/megasync-5.8.0.2-clang.patch b/net-misc/megasync/files/megasync-5.8.0.2-clang.patch new file mode 100644 index 000000000..6ab8f59c3 --- /dev/null +++ b/net-misc/megasync/files/megasync-5.8.0.2-clang.patch @@ -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 guard( other.mMutex ); +- mQueue = other.mQueue; +- } + + ProtectedQueue& operator= (ProtectedQueue& other) + { diff --git a/net-misc/megasync/megasync-5.8.0.2.ebuild b/net-misc/megasync/megasync-5.8.0.2.ebuild index a501f051e..9e9b70b9f 100644 --- a/net-misc/megasync/megasync-5.8.0.2.ebuild +++ b/net-misc/megasync/megasync-5.8.0.2.ebuild @@ -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() {