From nobody Thu Jul 25 16:59:02 2024 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 4WVHCp4y8pz5SM3m; Thu, 25 Jul 2024 16:59:02 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WVHCp44t7z4vFS; Thu, 25 Jul 2024 16:59:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721926742; 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=U+Wv3/nhRYDBK7IxPd5woP71yCyphnXo3BzUXpeQuvQ=; b=iJv6orNtnnNAB56MLvS8mF1yFmS12dZIoMkPd8mFtLY3C10v7Ph5zY4sZTR011dqW0vEdj N8OsVoPS7CqGvenNiN1FgTF/+Ucl3In9x76YXuQ7lOT1ibkQiJ23ZzpBIc5lizZDd2vkgl i/utNUYNs34pP3W2ff0BFsFPu+CSWg3s3nui5G2hMAsdsF4EJ27llwUw1GJ6MnbtGbjziF 3U8PTV1nw6oXSj6Gi7aqgJn5He4aac+mxxlmE/v9YWBZUu7ggy7hx1MKaf+dxUdqC0XYbh bdRD0XTYUlJzLommYBw6Uud8xt2OUcAnGoOH4Bf/QnfF+0U0lTd68T3dp1GqNA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721926742; a=rsa-sha256; cv=none; b=Cv0qehaAIwd0cAx4D2N6e19Aib91kSVS2d6Ki6f2GyK6qUuOiXcRR84MYSCAOnAPOa445c +yrz2yjOU+W8L64OUrzGTeq8GPc5ODx7OH7h7AXrb/ePADhq9/neZZSPekgGSafjJ6K5uY v6b5JKvuId+eRNvaM6zKyyhNVNS5S3uQmiPmTvZDbwSM+NgcTG7z+PASTBiKUJSVjWmhFa eSZqiDXbMGAMiMIKcdtInQsPvhzO2M6NmqlUc1t0L5EdLU2/j99n64UYAO8Wj+YX+x8ngO QpzrJAksM5s8pCyRA88+wLYFk/PiKgzzDihI0e0/GvB2sOz/cYM4W3WR3hwFxw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721926742; 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=U+Wv3/nhRYDBK7IxPd5woP71yCyphnXo3BzUXpeQuvQ=; b=d8cApzbTuWAAHY9UxMkZ1xb3Q9yIv+obdiOaXemy9+/CRIDtVze/lpFfS0ZpT8+nGUevz9 hzGVkihf/zbjetGxNWZmHYRCwgAEA5JtvQ7DpciXgRzLgp68t1lVtHewnMHzW54vKDjSQN LDznOMk5I8Jt9Bv0VcJqx69IfX4ZRg1G1vKPus45Cea2O6l/khnlGGfKxQaKyXB26x12Y1 mjomBGxc6pPJcSte3lk4JJBWn4uRPryUGIBD8dFBYfyCehonHdNqIvZnUwGRZ1SH0JfdvD v7D41OQqsBtGGuWUOP3AQUKzqaB9TQSdat5BTb0e3QjBbFuqR9qrdkqCt6C7lA== 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 4WVHCp3h3Lz13KC; Thu, 25 Jul 2024 16:59:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46PGx2xx070384; Thu, 25 Jul 2024 16:59:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46PGx2hR070381; Thu, 25 Jul 2024 16:59:02 GMT (envelope-from git) Date: Thu, 25 Jul 2024 16:59:02 GMT Message-Id: <202407251659.46PGx2hR070381@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: a6fa62515538 - main - net/torsocks: Fix build on 15 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a6fa625155380d7e90e4f1226ee0940e09104433 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=a6fa625155380d7e90e4f1226ee0940e09104433 commit a6fa625155380d7e90e4f1226ee0940e09104433 Author: Yuri Victorovich AuthorDate: 2024-07-25 16:54:43 +0000 Commit: Yuri Victorovich CommitDate: 2024-07-25 16:58:56 +0000 net/torsocks: Fix build on 15 Reported by: fallout --- net/torsocks/files/patch-src_lib_getpeername.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/net/torsocks/files/patch-src_lib_getpeername.c b/net/torsocks/files/patch-src_lib_getpeername.c new file mode 100644 index 000000000000..15bceb1ab32e --- /dev/null +++ b/net/torsocks/files/patch-src_lib_getpeername.c @@ -0,0 +1,19 @@ +- workaround for https://gitlab.torproject.org/tpo/core/torsocks/-/issues/40023 + +--- src/lib/getpeername.c.orig 2024-07-25 16:31:28 UTC ++++ src/lib/getpeername.c +@@ -22,6 +22,8 @@ + + #include "torsocks.h" + ++#if __FreeBSD_cc_version < 1500000 ++ + /* getpeername(2) */ + TSOCKS_LIBC_DECL(getpeername, LIBC_GETPEERNAME_RET_TYPE, + LIBC_GETPEERNAME_SIG) +@@ -105,3 +107,5 @@ LIBC_GETPEERNAME_DECL + + return tsocks_getpeername(LIBC_GETPEERNAME_ARGS); + } ++ ++#endif