diff options
Diffstat (limited to 'php-williamdes-mariadb-mysql-kbs-layout.patch')
-rw-r--r-- | php-williamdes-mariadb-mysql-kbs-layout.patch | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/php-williamdes-mariadb-mysql-kbs-layout.patch b/php-williamdes-mariadb-mysql-kbs-layout.patch index 9858a8e..21b579e 100644 --- a/php-williamdes-mariadb-mysql-kbs-layout.patch +++ b/php-williamdes-mariadb-mysql-kbs-layout.patch @@ -1,19 +1,18 @@ -diff -up ./src/merge.php.rpm ./src/merge.php diff -up ./src/Search.php.rpm ./src/Search.php ---- ./src/Search.php.rpm 2019-09-12 10:53:45.797567100 +0200 -+++ ./src/Search.php 2019-09-12 11:01:04.702560202 +0200 -@@ -25,7 +25,7 @@ class Search - public const MYSQL = 1; - public const MARIADB = 2; - public const DS = DIRECTORY_SEPARATOR; -- public static $DATA_DIR = __DIR__.self::DS."..".self::DS."dist".self::DS; +--- ./src/Search.php.rpm 2020-01-27 08:31:51.566856296 +0100 ++++ ./src/Search.php 2020-01-27 08:32:31.160706000 +0100 +@@ -31,7 +31,7 @@ class Search + * + * @var string + */ +- public static $DATA_DIR = __DIR__ . self::DS . ".." . self::DS . "dist" . self::DS; + public static $DATA_DIR = '/usr/share/php-williamdes-mariadb-mysql-kbs/dist/'; /** * Load data from disk diff -up ./test/SearchTest.php.rpm ./test/SearchTest.php ---- ./test/SearchTest.php.rpm 2019-09-12 14:45:12.103423385 +0200 -+++ ./test/SearchTest.php 2019-09-12 14:45:15.407409867 +0200 +--- ./test/SearchTest.php.rpm 2020-01-26 21:00:05.000000000 +0100 ++++ ./test/SearchTest.php 2020-01-27 08:31:51.566856296 +0100 @@ -175,4 +175,24 @@ class SearchTest extends TestCase $this->assertEquals("boolean", $type); } |