From 5736ce8e21eff86e4508fd232d92eef89b924466 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 25 Nov 2014 14:47:18 +0100 Subject: php-theseer-autoload: swicth from pear to github, 1.16.1 --- Autoload-rpm.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Autoload-rpm.patch (limited to 'Autoload-rpm.patch') diff --git a/Autoload-rpm.patch b/Autoload-rpm.patch new file mode 100644 index 0000000..cfc8ddd --- /dev/null +++ b/Autoload-rpm.patch @@ -0,0 +1,26 @@ +--- phpab.php.rpm 2014-11-25 11:32:11.000000000 +0100 ++++ phpab.php 2014-11-25 14:40:59.288514790 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env php ++#!/usr/bin/php + +@@ -42,12 +42,15 @@ + * 4 - Lint Error + */ + +-define('PHPAB_VERSION', '%development%'); ++define('PHPAB_VERSION', '@VERSION@'); + + if (!ini_get('date.timezone')) { + ini_set('date.timezone', 'UTC'); + } +-require __DIR__ . '/src/autoload.php'; ++require 'TheSeer/DirectoryScanner/autoload.php'; ++require 'TheSeer/Autoload/autoload.php'; ++require 'ezc/Base/base.php'; ++spl_autoload_register(array('\ezcBase','autoload')); + + $factory = new \TheSeer\Autoload\Factory(); + $factory->getCLI()->run(); -- cgit