diff options
Diffstat (limited to 'main/kamailio/0004-remove-spurious-execinfo.patch')
-rw-r--r-- | main/kamailio/0004-remove-spurious-execinfo.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/main/kamailio/0004-remove-spurious-execinfo.patch b/main/kamailio/0004-remove-spurious-execinfo.patch new file mode 100644 index 0000000000..161bee384e --- /dev/null +++ b/main/kamailio/0004-remove-spurious-execinfo.patch @@ -0,0 +1,30 @@ +diff --git a/modules/ims_dialog/dlg_hash.c b/modules/ims_dialog/dlg_hash.c +index 26817ac..0f340b0 100644 +--- a/modules/ims_dialog/dlg_hash.c ++++ b/modules/ims_dialog/dlg_hash.c +@@ -17,7 +17,8 @@ + #include "dlg_profile.h" + #include "dlg_handlers.h" + #include "dlg_db_handler.h" +-#include <execinfo.h> ++ ++// #include <execinfo.h> + + #define MAX_LDG_LOCKS 2048 + #define MIN_LDG_LOCKS 2 +@@ -70,6 +71,7 @@ static int dlg_hash_size_out = 4096; + }\ + }while(0) + ++#ifdef ALPINE_SUPPORTS_BACKTRACE + inline static int backtrace2str(char* buf, int size) + { + void* bt[32]; +@@ -87,6 +89,7 @@ inline static int backtrace2str(char* buf, int size) + } + return 0; + } ++#endif + + /*! + * \brief Initialize the global dialog table |