Files
telephony/net/asterisk/patches/150-musl-12x.patch
Paul Donald 00f56ba48a asterisk: bump to 23.1.0
remove deprecated modules from 22-23

See https://docs.asterisk.org/Asterisk_23_Documentation/Upgrading/
and https://docs.asterisk.org/Asterisk_23_Documentation/WhatsNew/

starting in v23, astdb2sqlite3 is removed. Users still running on v10 Berkley DB
must have upgraded DB prior to v23. Similarly, all Berkley DB functionality is
removed.

patch 150 refreshed to remove Berkley DB stuff.
other patches refreshed.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2025-12-04 13:06:45 +01:00

21 lines
366 B
Diff

--- a/include/asterisk/compat.h
+++ b/include/asterisk/compat.h
@@ -130,14 +130,16 @@ void timersub(struct timeval *tvend, str
#include <errno.h>
-#ifdef SOLARIS
+#ifndef __BEGIN_DECLS
#define __BEGIN_DECLS
#define __END_DECLS
+#endif
#ifndef __P
#define __P(p) p
#endif
+#ifdef SOLARIS
#include <alloca.h>
#include <strings.h>
#include <pthread.h>