packages/net/uwsgi/patches/001-dont-hardcode-zlib.patch
Peter Stadler 545629e386 uwsgi: bump version and use less workarounds
* adopt pypi name and line numbers in patches
* remove custom tar command and patch for using python3 (changed upstream)

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2021-10-30 01:07:08 -07:00

19 lines
664 B
Diff

--- a/uwsgiconfig.py
+++ b/uwsgiconfig.py
@@ -859,11 +859,11 @@ class uConf(object):
self.cflags.append('-DUWSGI_HAS_EXECINFO')
report['execinfo'] = True
- if self.has_include('zlib.h'):
- self.cflags.append('-DUWSGI_ZLIB')
- self.libs.append('-lz')
- self.gcc_list.append('core/zlib')
- report['zlib'] = True
+# if self.has_include('zlib.h'):
+# self.cflags.append('-DUWSGI_ZLIB')
+# self.libs.append('-lz')
+# self.gcc_list.append('core/zlib')
+ report['zlib'] = False
if uwsgi_os == 'OpenBSD':
try: