1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

net/yate: Update to 6.4.0

This commit is contained in:
Neel Chauhan 2022-01-03 13:53:47 -08:00
parent deb3482f01
commit 5644fc08a7
2 changed files with 22 additions and 2 deletions

View File

@ -0,0 +1,20 @@
--- engine/Thread.cpp.orig 2022-01-03 18:04:16 UTC
+++ engine/Thread.cpp
@@ -525,7 +525,7 @@ int ThreadPrivate::setAffinity(ThreadPrivate* t, const
#else
pid_t tid = -1;
if (!t)
- tid = (pid_t)syscall(SYS_gettid);
+ tid = (pid_t)syscall(SYS_getpid);
else {
// there is a race between getting the TID and this call
// try to hold off for a while, maybe it will get set
@@ -593,7 +593,7 @@ int ThreadPrivate::getAffinity(ThreadPrivate* t, DataB
#else
pid_t tid = -1;
if (!t)
- tid = (pid_t)syscall(SYS_gettid);
+ tid = (pid_t)syscall(SYS_getpid);
else {
// there is a race between getting the TID and this call
// try to hold off for a while, maybe it will get set

View File

@ -1,6 +1,6 @@
--- modules/Makefile.in.orig 2017-03-28 09:13:48 UTC
--- modules/Makefile.in.orig 2021-02-09 15:56:37 UTC
+++ modules/Makefile.in
@@ -370,7 +370,7 @@ server/mgcpgw.yate: LOCALFLAGS = -I@top_
@@ -374,7 +374,7 @@ server/mgcpgw.yate: LOCALFLAGS = -I@top_srcdir@/libs/y
server/mgcpgw.yate: LOCALLIBS = -lyatemgcp -L../libs/ysdp -lyatesdp
server/lksctp.yate: EXTERNFLAGS = @SCTP_FLAGS@