summaryrefslogtreecommitdiff
path: root/www-servers/uwsgi/files/uwsgi-2.0.21-libphp-version.patch
blob: 8b0276c3cb891adf83bf095ab537e71c621d5173 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
https://bugs.gentoo.org/904664
--- a/plugins/php/uwsgiplugin.py
+++ b/plugins/php/uwsgiplugin.py
@@ -14,6 +14,9 @@
 
 php_version = os.popen(PHPPATH + ' --version').read().rstrip().split('.')[0]
 
+if php_version == '8' :
+    php_version = ''
+
 CFLAGS = [os.popen(PHPPATH + ' --includes').read().rstrip(), '-Wno-sign-compare']
 LDFLAGS = os.popen(PHPPATH + ' --ldflags').read().rstrip().split()