aports/main/asterisk/40-asterisk-cdefs.patch
Duncan Bellamy 25ffac29e0 main/asterisk: upgrade to 16.11.0
* compile with CFLAGS='-DENABLE_SRTP_AES_256', from #11609
* update APKBUILD to use amove
* update license from SPDX
* add missing descriptions to patches, and openrc sub package
* remove empty doc sub package function
* make single line sub package format the same
* add support for unbound
2020-06-15 17:45:34 +03:00

22 lines
451 B
Diff

include depreciated cdefs.h as needed for compilation with alpine
--- a/main/ast_expr2.c
+++ b/main/ast_expr2.c
@@ -95,6 +95,7 @@
#include "asterisk.h"
#include <sys/types.h>
+#include <sys/cdefs.h>
#include <stdio.h>
#if defined(STANDALONE) || defined(STANDALONE2)
--- a/utils/db1-ast/include/db.h
+++ b/utils/db1-ast/include/db.h
@@ -37,6 +37,7 @@
#define _DB_H 1
#include <sys/types.h>
+#include <sys/cdefs.h>
#include <limits.h>