diff --git a/net/yate/files/patch-engine_Thread.cpp b/net/yate/files/patch-engine_Thread.cpp new file mode 100644 index 000000000000..bc72bb3894bf --- /dev/null +++ b/net/yate/files/patch-engine_Thread.cpp @@ -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 diff --git a/net/yate/files/patch-modules_Makefile.in b/net/yate/files/patch-modules_Makefile.in index 542d6de9f656..92edeeecb4e8 100644 --- a/net/yate/files/patch-modules_Makefile.in +++ b/net/yate/files/patch-modules_Makefile.in @@ -1,11 +1,11 @@ ---- 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@ -server/lksctp.yate: EXTERNLIBS = -lsctp +server/lksctp.yate: EXTERNLIBS = ilbccodec.yate: ../libs/ilbc/libilbc.a ilbccodec.yate: LOCALFLAGS = @ILBC_INC@