git: bf74bdd7fd0e - main - net/torsocks: Fix build on 15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Aug 2024 03:45:48 UTC
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