mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
uwsgi: fix compilation with GCC14
Wrong pointer type is used. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=uwsgi
|
||||
PKG_VERSION:=2.0.25.1
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PYPI_NAME:=uWSGI
|
||||
PYPI_SOURCE_NAME:=uwsgi
|
||||
|
||||
11
net/uwsgi/patches/040-gcc14.patch
Normal file
11
net/uwsgi/patches/040-gcc14.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/core/regexp.c
|
||||
+++ b/core/regexp.c
|
||||
@@ -23,7 +23,7 @@ int uwsgi_regexp_build(char *re, uwsgi_p
|
||||
|
||||
#ifdef UWSGI_PCRE2
|
||||
int errnbr;
|
||||
- long unsigned int erroff;
|
||||
+ size_t erroff;
|
||||
|
||||
*pattern = pcre2_compile((const unsigned char *) re, PCRE2_ZERO_TERMINATED, 0, &errnbr, &erroff, NULL);
|
||||
#else
|
||||
Reference in New Issue
Block a user