net/torsocks: Fix build on 15
One more function had to be fixed PR: 280467
This commit is contained in:
17
net/torsocks/files/patch-src_lib_recv.c
Normal file
17
net/torsocks/files/patch-src_lib_recv.c
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user