summaryrefslogtreecommitdiffstats
path: root/Horde_Stringprep-syslib.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-11-09 15:18:44 +0100
committerRemi Collet <fedora@famillecollet.com>2014-11-09 15:18:44 +0100
commit8f3f6433b6ce05a38822cc60e6d635d951d324ec (patch)
treee5e6bc0219abb63d619eff2e5e39da541770393e /Horde_Stringprep-syslib.patch
php-horde-Horde-Stringprep: 1.0.0 - new package
Diffstat (limited to 'Horde_Stringprep-syslib.patch')
-rw-r--r--Horde_Stringprep-syslib.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/Horde_Stringprep-syslib.patch b/Horde_Stringprep-syslib.patch
new file mode 100644
index 0000000..bda50a5
--- /dev/null
+++ b/Horde_Stringprep-syslib.patch
@@ -0,0 +1,16 @@
+diff -up Horde_Stringprep-1.0.0/lib/Horde/Stringprep.php.old Horde_Stringprep-1.0.0/lib/Horde/Stringprep.php
+--- Horde_Stringprep-1.0.0/lib/Horde/Stringprep.php.old 2014-11-09 14:58:55.000000000 +0100
++++ Horde_Stringprep-1.0.0/lib/Horde/Stringprep.php 2014-11-09 14:59:50.000000000 +0100
+@@ -34,11 +34,7 @@ class Horde_Stringprep
+ */
+ public static function autoload()
+ {
+- if (file_exists(__DIR__ . '/vendor/autoload.php')) {
+- require_once __DIR__ . '/vendor/autoload.php';
+- } else {
+- require_once __DIR__ . '/../../../bundle/vendor/autoload.php';
+- }
++ require_once('/usr/share/php/Znerol/Component/Stringprep/autoload.php');
+ }
+
+ }