diff options
Diffstat (limited to 'www-servers/uwsgi/files/uwsgi-2.0.21-libphp-version.patch')
-rw-r--r-- | www-servers/uwsgi/files/uwsgi-2.0.21-libphp-version.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www-servers/uwsgi/files/uwsgi-2.0.21-libphp-version.patch b/www-servers/uwsgi/files/uwsgi-2.0.21-libphp-version.patch new file mode 100644 index 000000000000..8b0276c3cb89 --- /dev/null +++ b/www-servers/uwsgi/files/uwsgi-2.0.21-libphp-version.patch @@ -0,0 +1,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() + |