Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 860759 Details for
Bug 904664
www-servers/uwsgi-2.0.21 failed to emerge with USE=php
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to build uwsgi php plugin w/ php-8.x
uwsgi.patch (text/plain), 997 bytes, created by
hsk17
on 2023-04-25 12:06:33 UTC
(
hide
)
Description:
patch to build uwsgi php plugin w/ php-8.x
Filename:
MIME Type:
Creator:
hsk17
Created:
2023-04-25 12:06:33 UTC
Size:
997 bytes
patch
obsolete
>--- a/www-servers/uwsgi/uwsgi-2.0.21.ebuild 2023-04-13 05:10:20.000000000 +0200 >+++ b/www-servers/uwsgi/uwsgi-2.0.21.ebuild 2023-04-25 13:58:01.411662451 +0200 >@@ -152,6 +152,7 @@ > PATCHES=( > "${FILESDIR}"/${P}-php82.patch > "${FILESDIR}"/${P}-python-unicode.patch >+ "${FILESDIR}"/${P}-libphp-version.patch > ) > > pkg_setup() { >--- a/www-servers/uwsgi/files/uwsgi-2.0.21-libphp-version.patch 1970-01-01 01:00:00.000000000 +0100 >+++ b/www-servers/uwsgi/files/uwsgi-2.0.21-libphp-version.patch 2023-04-25 13:44:50.020114803 +0200 >@@ -0,0 +1,12 @@ >+--- a/plugins/php/uwsgiplugin.py 2022-10-24 12:21:58.000000000 +0200 >++++ b/plugins/php/uwsgiplugin.py 2023-04-25 13:16:29.381332413 +0200 >+@@ -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() >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 904664
:
860351
| 860759