diff --git a/packages/glib/build.sh b/packages/glib/build.sh index 6c4904c09..12d11ff36 100644 --- a/packages/glib/build.sh +++ b/packages/glib/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Library providing core building blocks for libraries and TERMUX_PKG_LICENSE="LGPL-2.1" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=2.70.2 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=https://ftp.gnome.org/pub/gnome/sources/glib/${TERMUX_PKG_VERSION:0:4}/glib-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=0551459c85cd3da3d58ddc9016fd28be5af503f5e1615a71ba5b512ac945806f TERMUX_PKG_DEPENDS="libffi, libiconv, pcre, libandroid-support, zlib" diff --git a/packages/glib/glib-gspawn.c.patch b/packages/glib/glib-gspawn.c.patch index cb49e6447..e68eaed80 100644 --- a/packages/glib/glib-gspawn.c.patch +++ b/packages/glib/glib-gspawn.c.patch @@ -5,7 +5,7 @@ * */ - chosen_search_path = "/bin:/usr/bin:."; -+ chosen_search_path = "@TERMUX_PREFIX/bin:."; ++ chosen_search_path = "@TERMUX_PREFIX@/bin:."; } if (search_path || search_path_from_envp)