mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
It fixes GCC15 build errors. Release notes: https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.27.html https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.28.html https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.29.html https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.30.html Signed-off-by: Nikita Solianik <gxcreator@gmail.com>
16 lines
353 B
Diff
16 lines
353 B
Diff
--- a/uwsgiconfig.py
|
|
+++ b/uwsgiconfig.py
|
|
@@ -5,9 +5,9 @@ uwsgi_version = '2.0.30'
|
|
import os
|
|
import re
|
|
import time
|
|
-uwsgi_os = os.uname()[0]
|
|
-uwsgi_os_k = re.split('[-+_]', os.uname()[2])[0]
|
|
-uwsgi_os_v = os.uname()[3]
|
|
+uwsgi_os = "Linux"
|
|
+uwsgi_os_k = os.environ['LINUX_UNAME_VERSION']
|
|
+uwsgi_os_v = "Linux"
|
|
uwsgi_cpu = os.uname()[4]
|
|
|
|
import sys
|