From nobody Sat May 14 16:20:15 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 05EDA1ADADD5; Sat, 14 May 2022 16:20:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L0rMg6Zc0z3Hc9; Sat, 14 May 2022 16:20:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652545215; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=klSIhp0o/OzZCtvaT/qTDKTMeuTklaQ5t54mXwbr0Fk=; b=XZXw528pz90HgYMLYOujIAQxCph2GCr0F0MgkfRm3Zs9fQsMUKiUlKGqedh30WtO0qWPf1 oioRd/c+8s2vqbJFgeL46FQv7+/yV38Xua2py6JAMU2Mye+FmziKCPqsWnzDCygsUYEKon jnMUA+P/qeOOhmDyhxr2b1Oj+w5/zcFnHXC8M+APGElf7+zPO1iPUx2hjhmfI3Q+gD9KnI 4Qea1ACnOS19HomPmzTFdntLi0vaUuX68z50aiOY+fOsZqiY7gE2+G8J59Gq2UOQjf7isQ XZhzVpdqnI6lwZvjyzTsNZkcnduczEQJ1z9HWnrC6RS41LRzIx8JPyOciy5KFQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C22BB1A7B3; Sat, 14 May 2022 16:20:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24EGKFUN086964; Sat, 14 May 2022 16:20:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24EGKFq9086957; Sat, 14 May 2022 16:20:15 GMT (envelope-from git) Date: Sat, 14 May 2022 16:20:15 GMT Message-Id: <202205141620.24EGKFq9086957@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitri Goutnik Subject: git: 7508209535a0 - main - sysutils/fusefs-encfs: Unbreak build with llvm13 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dmgk X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7508209535a01298ef91e7f6d4e1b33a5e5ffd97 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652545215; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=klSIhp0o/OzZCtvaT/qTDKTMeuTklaQ5t54mXwbr0Fk=; b=eG/GdvKQKcftBWvS34Lc2KgwcHJ+KaMsYmdM7I3PsEs326KhGa/aBhM3LzWw+sOC0hLAYG jmzpFHCIBWAntnCrxyDC4vusgzBERE/IDtiijF9DvDmDeI1FuMKWkG/BxJEStKCc9wMOHO pzvPW3RUpNA380YLsG8glPHgkAcCJ/jsKJNiObyciAlYM1sfjydKWqE2QHAg3Q3mw130Nj jhmkYG21BNtGpLQQYvPXuMsAqK4hg2SHm18xCLqw1RgmEeuFAjD4prITa24QBzSHRdTdoi wxcq7xbDdsTDJr3FH4C3f72ZNEK/o2GwG1mEGOlWCHxz6wANQP9GhMGztFjbBQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652545215; a=rsa-sha256; cv=none; b=IxH11JL9OUhtRg0GpjA2YdHtosW45YZJZmPRN7orTvFfcb/fysrrpL7T6wI3HMdhdEbGL5 FpaZVGwURdujO4Y12Ta56TY/50M9gVKxr1q6t6Hr67DHKsa8GjZGlMe673ZBAlStyOcQZY mlvVwiPinEGVOEbG0VVWoe7aKiRu2s2NkeVVhyzSjx0VBZ9eCOo6RoV2TsSilStougp/kG 8GG7ToeI+xtuBaXhiPfJTectpGGEii09F/p+mu87TTrzTv6R98cPek3avVQGAwlj9NJ1OQ qeDfG7jaKwtmWEbU/veqSyUYpo+f7EFXPZ2ch+hDKoZtehVQyG4TXf7q34xlkg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dmgk: URL: https://cgit.FreeBSD.org/ports/commit/?id=7508209535a01298ef91e7f6d4e1b33a5e5ffd97 commit 7508209535a01298ef91e7f6d4e1b33a5e5ffd97 Author: Dmitri Goutnik AuthorDate: 2022-05-14 16:10:33 +0000 Commit: Dmitri Goutnik CommitDate: 2022-05-14 16:19:26 +0000 sysutils/fusefs-encfs: Unbreak build with llvm13 /wrkdirs/usr/ports/sysutils/fusefs-encfs/work/encfs-1.9.5/encfs/NullCipher.cpp:81:36: error: no matching constructor for initialization of 'std::shared_ptr' std::shared_ptr gNullKey(new NullKey(), NullDestructor()); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Solution was taken from eacf34a1cf4b6b81e54d4fe74ad931ee93d1d8ef --- sysutils/fusefs-encfs/files/patch-encfs_NullCipher.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sysutils/fusefs-encfs/files/patch-encfs_NullCipher.cpp b/sysutils/fusefs-encfs/files/patch-encfs_NullCipher.cpp new file mode 100644 index 000000000000..08e4db20abe8 --- /dev/null +++ b/sysutils/fusefs-encfs/files/patch-encfs_NullCipher.cpp @@ -0,0 +1,11 @@ +--- encfs/NullCipher.cpp.orig 2022-05-14 16:04:54 UTC ++++ encfs/NullCipher.cpp +@@ -76,7 +76,7 @@ class NullDestructor { + NullDestructor &operator=(const NullDestructor &) = delete; // copy assignment + NullDestructor& operator=(NullDestructor&& other) = delete; // move assignment + +- void operator()(NullKey *&) {} ++ void operator()(NullKey *) {} + }; + std::shared_ptr gNullKey(new NullKey(), NullDestructor()); +