Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 877958 Details for
Bug 919376
dev-php/ca-bundle-1.3.1: Supplied autoload.php does not respect EPREFIX
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to include $EPREFIX in autoload.php paths
dev-php-ca-bundle-Respect-EPREFIX-in-autoload.php.patch (text/plain), 1.32 KB, created by
Moritz Brunner
on 2023-12-06 19:06:34 UTC
(
hide
)
Description:
Patch to include $EPREFIX in autoload.php paths
Filename:
MIME Type:
Creator:
Moritz Brunner
Created:
2023-12-06 19:06:34 UTC
Size:
1.32 KB
patch
obsolete
>From 293ad4b01346a98c8c79f7b2887f4dae47ee736b Mon Sep 17 00:00:00 2001 >From: Moritz Brunner <moritz.brunner+gentoo@posteo.de> >Date: Wed, 6 Dec 2023 19:55:48 +0100 >Subject: [PATCH] dev-php/ca-bundle: Respect EPREFIX in autoload.php > >The provided autoload.php file hardcodes library PHP paths to >/usr/share/php/..., which is invalid in Prefix installations, since the >path will most likely not exist. > >This commit modifies autoload.php during the installation to include >the correct EPREFIX before the file is copied to the final image >destination. > >Closes: https://bugs.gentoo.org/919376 >Signed-off-by: Moritz Brunner <moritz.brunner+gentoo@posteo.de> >--- > dev-php/ca-bundle/ca-bundle-1.3.1.ebuild | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/dev-php/ca-bundle/ca-bundle-1.3.1.ebuild b/dev-php/ca-bundle/ca-bundle-1.3.1.ebuild >index e16650d74abd..a1ddef36f689 100644 >--- a/dev-php/ca-bundle/ca-bundle-1.3.1.ebuild >+++ b/dev-php/ca-bundle/ca-bundle-1.3.1.ebuild >@@ -16,7 +16,9 @@ RDEPEND=" > dev-php/fedora-autoloader" > > src_install() { >+ sed -e "s@/usr/share/php@${EPREFIX}&@g" "${FILESDIR}"/autoload.php > \ >+ "${T}"/autoload.php || die > insinto /usr/share/php/Composer/CaBundle >- doins src/CaBundle.php "${FILESDIR}/autoload.php" >+ doins src/CaBundle.php "${T}/autoload.php" > dodoc README.md > } >-- >2.43.0.windows.1 >
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 919376
:
877958
|
878162