uwsgi: add experimental pcre2 patch and drop pcre
[feed/packages.git] / net / uwsgi / patches / 010-uclibc-ng.patch
1 --- a/core/uwsgi.c
2 +++ b/core/uwsgi.c
3 @@ -1825,7 +1825,7 @@ void uwsgi_plugins_atexit(void) {
4
5 void uwsgi_backtrace(int depth) {
6
7 -#if defined(__GLIBC__) || (defined(__APPLE__) && !defined(NO_EXECINFO)) || defined(UWSGI_HAS_EXECINFO)
8 +#if (!defined(__UCLIBC__) && defined(__GLIBC__)) || (defined(__APPLE__) && !defined(NO_EXECINFO)) || defined(UWSGI_HAS_EXECINFO)
9
10 #include <execinfo.h>
11