mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
net/torsocks: Fix build on 15
One more function had to be fixed PR: 280467
This commit is contained in:
parent
f6b56c7afc
commit
bf74bdd7fd
1 changed files with 17 additions and 0 deletions
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
|
Loading…
Add table
Reference in a new issue