mariadb: Fix output of mariadb-config (#8001)
* Create libmariadb-mariadb_config-mariadb_config.c.patch * Update build.sh
This commit is contained in:
parent
85f03336d7
commit
c8df017063
@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="A drop-in replacement for mysql server"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=2:10.6.4
|
||||
TERMUX_PKG_REVISION=5
|
||||
TERMUX_PKG_REVISION=6
|
||||
TERMUX_PKG_SRCURL=http://ftp.hosteurope.de/mirror/archive.mariadb.org/mariadb-${TERMUX_PKG_VERSION:2}/source/mariadb-${TERMUX_PKG_VERSION:2}.tar.gz
|
||||
TERMUX_PKG_SHA256=75bf9b147a95d38160d01a73b098d50a1960563b46d16a235971fff64d99643c
|
||||
TERMUX_PKG_DEPENDS="libc++, libiconv, liblzma, ncurses, libedit, openssl, pcre2, libcrypt, libandroid-support, libandroid-glob, zlib, liblz4"
|
||||
|
@ -0,0 +1,12 @@
|
||||
diff -uNr mariadb-10.6.5.orig/libmariadb/mariadb_config/mariadb_config.c.in mariadb-10.6.5/libmariadb/mariadb_config/mariadb_config.c.in
|
||||
--- mariadb-10.6.5.orig/libmariadb/mariadb_config/mariadb_config.c.in 2021-11-05 21:03:32.000000000 +0100
|
||||
+++ mariadb-10.6.5/libmariadb/mariadb_config/mariadb_config.c.in 2021-11-17 13:46:21.744760378 +0100
|
||||
@@ -210,7 +210,7 @@
|
||||
}
|
||||
if (!p || !p[0])
|
||||
{
|
||||
- strncpy(installation_dir, "@CMAKE_SYSROOT@@CMAKE_INSTALL_PREFIX@", PATH_MAX - 1);
|
||||
+ strncpy(installation_dir, "@CMAKE_INSTALL_PREFIX@", PATH_MAX - 1);
|
||||
return;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user