summaryrefslogtreecommitdiffstats
path: root/php-williamdes-mariadb-mysql-kbs-layout.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-williamdes-mariadb-mysql-kbs-layout.patch')
-rw-r--r--php-williamdes-mariadb-mysql-kbs-layout.patch17
1 files changed, 8 insertions, 9 deletions
diff --git a/php-williamdes-mariadb-mysql-kbs-layout.patch b/php-williamdes-mariadb-mysql-kbs-layout.patch
index 9a7984e..82b7022 100644
--- a/php-williamdes-mariadb-mysql-kbs-layout.patch
+++ b/php-williamdes-mariadb-mysql-kbs-layout.patch
@@ -1,23 +1,22 @@
diff -up ./src/Search.php.rpm ./src/Search.php
---- ./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
+--- ./src/Search.php.rpm 2021-12-20 10:47:08.194216239 +0100
++++ ./src/Search.php 2021-12-20 10:47:52.898097362 +0100
+@@ -32,7 +32,7 @@ class Search
*
* @var string
*/
-- public static $DATA_DIR = __DIR__ . self::DS . ".." . self::DS . "dist" . self::DS;
+- 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 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);
+--- ./test/SearchTest.php.rpm 2021-12-20 10:47:08.194216239 +0100
++++ ./test/SearchTest.php 2021-12-20 10:48:23.905014907 +0100
+@@ -182,4 +182,23 @@ class SearchTest extends TestCase
+ $this->assertEquals('boolean', $type);
}
-+
+ /**
+ * test RPM Layout
+ *