mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-21 23:34:35 +04:00
Bump rtpproxy to version 2025-11-04. Each downstream patch got merged
and this fix the current compilation error with recvfromto.
rtpp_socket.c: In function 'rtpp_socket_rtp_recv':
rtpp_socket.c:262:31: error: passing argument 5 of 'recvfromto' from incompatible pointer type [-Wincompatible-pointer-types]
262 | sstosa(&packet->raddr), &packet->rlen, sstosa(&packet->_laddr), &llen,
| ^~~~~~~~~~~~~
| |
| socklen_t * {aka unsigned int *}
In file included from rtpp_socket.c:45:
rtpp_network.h:56:3: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'socklen_t *' {aka 'unsigned int *'}
56 | size_t *, struct sockaddr *, size_t *, struct timeval *);
| ^~~~~~~~
2 new trivial pending patch (proposed upstream) are now required to
permit correct compilation.
This bump from 2.x to 3.x but checking the changlog no breaking change
should be triggered by this version jump.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
28 lines
816 B
Diff
28 lines
816 B
Diff
From c4271a63d77185b0df4e1305573e28e4f94b6572 Mon Sep 17 00:00:00 2001
|
|
From: Christian Marangi <ansuelsmth@gmail.com>
|
|
Date: Thu, 20 Nov 2025 12:54:15 +0100
|
|
Subject: [PATCH] Add missing pthread.h in rtpp_proc_async
|
|
|
|
Fix compilation error for missing pthread_t type name.
|
|
|
|
rtpp_proc_async.h:44:34: error: unknown type name 'pthread_t'
|
|
44 | void rtpp_proc_async_setprocname(pthread_t thread_id, const char *pname);
|
|
| ^~~~~~~~~
|
|
|
|
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
|
|
---
|
|
src/rtpp_proc_async.h | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/src/rtpp_proc_async.h
|
|
+++ b/src/rtpp_proc_async.h
|
|
@@ -28,6 +28,8 @@
|
|
#ifndef _RTPP_PROC_ASYNC_H_
|
|
#define _RTPP_PROC_ASYNC_H_
|
|
|
|
+#include <pthread.h>
|
|
+
|
|
struct rtpp_proc_async;
|
|
struct rtpp_anetio_cf;
|
|
struct rtpp_cfg;
|