summaryrefslogtreecommitdiffstats
path: root/pie-noxdg.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-10-30 11:53:32 +0100
committerRemi Collet <remi@php.net>2024-10-30 11:53:32 +0100
commit19c570a6c92997ee6e04e620f683707cea57cd22 (patch)
treed346c3d6b42b92eb3bd4c2ccaea4d8051daa62ec /pie-noxdg.patch
parent3a9b6d7bac8ef00a639559ee5e63f3853275de7d (diff)
refresh dependencies
add patches from composer to skip XDG and drop bundled cacert.rpm
Diffstat (limited to 'pie-noxdg.patch')
-rw-r--r--pie-noxdg.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/pie-noxdg.patch b/pie-noxdg.patch
new file mode 100644
index 0000000..d1ac324
--- /dev/null
+++ b/pie-noxdg.patch
@@ -0,0 +1,14 @@
+diff -up ./vendor/composer/composer/src/Composer/Factory.php.noxdg ./vendor/composer/composer/src/Composer/Factory.php
+--- ./vendor/composer/composer/src/Composer/Factory.php.noxdg 2024-04-20 12:34:54.442117723 +0200
++++ ./vendor/composer/composer/src/Composer/Factory.php 2024-04-20 12:35:39.497640757 +0200
+@@ -702,6 +702,10 @@ class Factory
+
+ private static function useXdg(): bool
+ {
++ // As XDG is very partially implemented
++ // resulting in command/code in ~/.config
++ return false;
++
+ foreach (array_keys($_SERVER) as $key) {
+ if (strpos((string) $key, 'XDG_') === 0) {
+ return true;