summaryrefslogtreecommitdiffstats
path: root/php-williamdes-mariadb-mysql-kbs-layout.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-27 08:39:12 +0100
committerRemi Collet <remi@remirepo.net>2020-01-27 08:39:12 +0100
commit58c0bc2d7a8b221a0ad28d7a47b95cf5a64e6fc9 (patch)
tree743601a961766464e2871f2e2e61c07f5d4468eb /php-williamdes-mariadb-mysql-kbs-layout.patch
parent529a4aa76afea16c9138bba22d604b5eed3f21f3 (diff)
update to 1.2.9
switch to phpunit8
Diffstat (limited to 'php-williamdes-mariadb-mysql-kbs-layout.patch')
-rw-r--r--php-williamdes-mariadb-mysql-kbs-layout.patch19
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);
}