Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Aug 2024 03:45:48 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bf74bdd7fd0e - main - net/torsocks: Fix build on 15
Message-ID:  <202408240345.47O3jmih001225@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bf74bdd7fd0e4eb099261f16eea56fe54d1dce86

commit bf74bdd7fd0e4eb099261f16eea56fe54d1dce86
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-08-24 03:10:09 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408240345.47O3jmih001225>