diff options
author | Simon Frankenberger <simon@fraho.eu> | 2019-02-14 18:40:09 +0100 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-03-07 21:28:28 +0000 |
commit | 1ca68219c511f94ea8be55fa94e0d1128b822917 (patch) | |
tree | e8eaeb3f54f5f950908b916793b5ad0c47387169 /unmaintained/sems/sems-0004-musl-fixes.patch | |
parent | 0f1245e2cf61f6125f3ac3dd0a90ddaab283b594 (diff) | |
download | aports-1ca68219c511f94ea8be55fa94e0d1128b822917.tar.bz2 aports-1ca68219c511f94ea8be55fa94e0d1128b822917.tar.xz |
testing/sems: Move back from unmaintained and fix compile
Diffstat (limited to 'unmaintained/sems/sems-0004-musl-fixes.patch')
-rw-r--r-- | unmaintained/sems/sems-0004-musl-fixes.patch | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/unmaintained/sems/sems-0004-musl-fixes.patch b/unmaintained/sems/sems-0004-musl-fixes.patch deleted file mode 100644 index 6302f30b39..0000000000 --- a/unmaintained/sems/sems-0004-musl-fixes.patch +++ /dev/null @@ -1,56 +0,0 @@ -diff --git a/core/AmBasicSipDialog.cpp b/core/AmBasicSipDialog.cpp -index 8a9fc04..d6d5ab7 100644 ---- a/core/AmBasicSipDialog.cpp -+++ b/core/AmBasicSipDialog.cpp -@@ -591,7 +591,7 @@ int AmBasicSipDialog::reply(const AmSipRequest& req, - "remote_tag=%s\n", - req.cseq,code,callid.c_str(), - local_tag.c_str(),remote_tag.c_str()); -- log_stacktrace(L_ERR); -+ // log_stacktrace(L_ERR); - return -1; - } - DBG("reply: transaction found!\n"); -diff --git a/core/log.cpp b/core/log.cpp -index 933657e..efc2ae2 100644 ---- a/core/log.cpp -+++ b/core/log.cpp -@@ -206,6 +206,7 @@ void register_log_hook(AmLoggingFacility* fac) - log_hooks.push_back(fac); - } - -+#ifdef MUSL_SUPPORTS_BACKTRACE - /** - * Print stack-trace through logging function - */ -@@ -300,3 +301,5 @@ void __lds(int ll, unsigned int max_frames) - free(funcname); - free(symbollist); - } -+ -+#endif -diff --git a/core/log.h b/core/log.h -index 253d824..5ffda75 100644 ---- a/core/log.h -+++ b/core/log.h -@@ -33,7 +33,7 @@ - #include <stdio.h> - #include <unistd.h> /* getpid() */ - #include <pthread.h> /* pthread_self() */ --#include <execinfo.h> /* backtrace_symbols() */ -+// #include <execinfo.h> /* backtrace_symbols() */ - - #ifdef __cplusplus - #include <cxxabi.h> /* __cxa_demangle() */ -diff --git a/core/sems.cpp b/core/sems.cpp -index 6f03e5c..d7030eb 100644 ---- a/core/sems.cpp -+++ b/core/sems.cpp -@@ -69,6 +69,7 @@ - using std::string; - - #if defined(__linux__) -+#include <sys/resource.h> - #include <sys/prctl.h> - #endif - |