aboutsummaryrefslogtreecommitdiff
path: root/net/uwsgi/patches/010-uclibc-ng.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net/uwsgi/patches/010-uclibc-ng.patch')
-rw-r--r--net/uwsgi/patches/010-uclibc-ng.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/uwsgi/patches/010-uclibc-ng.patch b/net/uwsgi/patches/010-uclibc-ng.patch
new file mode 100644
index 000000000..e967320d9
--- /dev/null
+++ b/net/uwsgi/patches/010-uclibc-ng.patch
@@ -0,0 +1,11 @@
+--- a/core/uwsgi.c
++++ b/core/uwsgi.c
+@@ -1820,7 +1820,7 @@ void uwsgi_plugins_atexit(void) {
+
+ void uwsgi_backtrace(int depth) {
+
+-#if defined(__GLIBC__) || (defined(__APPLE__) && !defined(NO_EXECINFO)) || defined(UWSGI_HAS_EXECINFO)
++#if (!defined(__UCLIBC__) && defined(__GLIBC__)) || (defined(__APPLE__) && !defined(NO_EXECINFO)) || defined(UWSGI_HAS_EXECINFO)
+
+ #include <execinfo.h>
+