From nobody Sat Aug 24 03:45:48 2024 X-Original-To: dev-commits-ports-main@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 4WrNBh6DN8z5V31T; Sat, 24 Aug 2024 03:45:48 +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 4WrNBh5jjyz4DWn; Sat, 24 Aug 2024 03:45:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724471148; 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=fcvVdWdI4wgUnM+wTPOLIIvxIEqw+gf5iYzvF+kxK3E=; b=VJ/2XlwetmRAA2JfmMXEb9FuRHdwwyBKZTfU6noRWCjUrpK2WY+de3FE3xkqViDnD0bXa2 8Yheqm1YsmDXbNs10Mw+cXXPEKEg+c9OXTWkt3xH3A07r7b6C2tvgIh6R4Y2LU9n+t882I CZP/epw84SFROiwXGtFMbpxCvrjPqQ0CunoAGBTRZhrW3Kjn65VVWqlTcGmttBWoeaebFK Il9wS6KI7tLTDsobgH15C/HT6ellXpftWIopP3+lJnLEwv+6QxqOCG8KttpDGn3glJVawL pkupOxTevGUrSIdMhiYKhBsTGdBGC9hdgmRqmt09uPajmfqooQt3L/uBPOadPQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724471148; a=rsa-sha256; cv=none; b=xZVtuElw92ZDQryKseT9sl0KK8GhA3+LzyuV3t4ktVVXal1YyUDOR5QNGkzexmVyBqdE4I XvX+5yljVUa8Mwz36Cxw6LVvju9gO548S4HN/9McTmg6CiIFpsh114/QOlYBte8ApPo2jN 217jmaWmj6lmKTXSfHGw/NN9ejQvBT/xa4l65iktPodNd+L7DcxYjIenR9RM0ZuOPrlTSm TheyJ88AFYR3Kpv2Ak9Xs6x6QT1Boa7GaJN33xZzeGTscLHUjZ7341lYR0yF409JAYRuiZ xnJ5wFpxOV0F0IHopgzW61MqN4vnZ2f8E19Zc5/gEd/2d8fwxkNivmXO+Vq9aA== 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=1724471148; 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=fcvVdWdI4wgUnM+wTPOLIIvxIEqw+gf5iYzvF+kxK3E=; b=rdXChWv9Nm7Rnn9tGlaKi53dgxxeSRX7UU7vNCEX4Ke9+0hP+BipyxB/O4yaeY2AyZ+ZaB +wNWlngN0aAKNcC4dITqkyYLY4vPkMBaCUJvOjf0/E+11oOIawxnmvb/0+wQXtFTzO5CAS Fqh6OStD5Elw7q6hwP7uD4w4d16lFn+aKB6L8R972SKiiyv1CsLQAQMk2y+RAnA9LF/WDa whldiuad0hmKQPLJEJdnLmgaDLUK1I+tRVhe6PKQdWpD8ZEB9piFqLUSw2GDsJGoVDBZ9b lQcXzreWkQzZqNuJnMkdnd+BFoAo3O07+N1jH5RcPwh8BqgutDQlmx+i+0W9kA== 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 4WrNBh5KT9zfD1; Sat, 24 Aug 2024 03:45:48 +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 47O3jm5u001228; Sat, 24 Aug 2024 03:45:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47O3jmih001225; Sat, 24 Aug 2024 03:45:48 GMT (envelope-from git) Date: Sat, 24 Aug 2024 03:45:48 GMT Message-Id: <202408240345.47O3jmih001225@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: bf74bdd7fd0e - main - net/torsocks: Fix build on 15 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@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: bf74bdd7fd0e4eb099261f16eea56fe54d1dce86 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=bf74bdd7fd0e4eb099261f16eea56fe54d1dce86 commit bf74bdd7fd0e4eb099261f16eea56fe54d1dce86 Author: Yuri Victorovich AuthorDate: 2024-08-24 03:10:09 +0000 Commit: Yuri Victorovich CommitDate: 2024-08-24 03:45:44 +0000 net/torsocks: Fix build on 15 One more function had to be fixed PR: 280467 --- net/torsocks/files/patch-src_lib_recv.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/net/torsocks/files/patch-src_lib_recv.c b/net/torsocks/files/patch-src_lib_recv.c new file mode 100644 index 000000000000..f82038b33ccd --- /dev/null +++ b/net/torsocks/files/patch-src_lib_recv.c @@ -0,0 +1,17 @@ +--- src/lib/recv.c.orig 2024-08-24 03:06:10 UTC ++++ src/lib/recv.c +@@ -173,6 +173,8 @@ error: + return ret; + } + ++#if __FreeBSD_cc_version < 1500000 ++ + /* + * Libc hijacked symbol recvmsg(2). + */ +@@ -186,3 +188,5 @@ LIBC_RECVMSG_DECL + + return tsocks_recvmsg(LIBC_RECVMSG_ARGS); + } ++ ++#endif