diff options
-rw-r--r-- | www/mnogosearch/Makefile | 1 | ||||
-rw-r--r-- | www/mnogosearch/files/patch-src-sql-mysql-c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/www/mnogosearch/Makefile b/www/mnogosearch/Makefile index ebb63c6cc1d0..7cc4e081bd57 100644 --- a/www/mnogosearch/Makefile +++ b/www/mnogosearch/Makefile @@ -1,5 +1,6 @@ PORTNAME= mnogosearch PORTVERSION= 3.4.1 +PORTREVISION= 1 CATEGORIES= www databases MASTER_SITES= http://www.mnogosearch.org/Download/ diff --git a/www/mnogosearch/files/patch-src-sql-mysql-c b/www/mnogosearch/files/patch-src-sql-mysql-c new file mode 100644 index 000000000000..a5864284aeb7 --- /dev/null +++ b/www/mnogosearch/files/patch-src-sql-mysql-c @@ -0,0 +1,11 @@ +--- src/sql-mysql.c.orig 2023-02-06 10:23:32.970179000 +0300 ++++ src/sql-mysql.c 2023-02-06 10:24:17.488815000 +0300 +@@ -206,7 +206,7 @@ + { + int myrc; + char qbuf[64]; +- udm_snprintf(qbuf, sizeof(qbuf), "SET storage_engine=%s", ++ udm_snprintf(qbuf, sizeof(qbuf), "SET default_storage_engine=%s", + storage_engine[0] ? storage_engine : "MyISAM"); + if ((myrc= mysql_query(&mydb->mysql, qbuf))) + { |