diff --git a/packages/libxt/build.sh b/packages/libxt/build.sh index aa558cc8b..bcd7a2779 100644 --- a/packages/libxt/build.sh +++ b/packages/libxt/build.sh @@ -3,10 +3,9 @@ TERMUX_PKG_HOMEPAGE=https://xorg.freedesktop.org/ TERMUX_PKG_DESCRIPTION="X11 toolkit intrinsics library" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="Leonid Pliushch " -TERMUX_PKG_VERSION=1.2.0 -TERMUX_PKG_REVISION=15 +TERMUX_PKG_VERSION=1.2.1 TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/releases/individual/lib/libXt-${TERMUX_PKG_VERSION}.tar.bz2 -TERMUX_PKG_SHA256=b31df531dabed9f4611fc8980bc51d7782967e2aff44c4105251a1acb5a77831 +TERMUX_PKG_SHA256=679cc08f1646dbd27f5e48ffe8dd49406102937109130caab02ca32c083a3d60 TERMUX_PKG_DEPENDS="libice, libsm, libuuid, libx11, libxau, libxcb, libxdmcp" TERMUX_PKG_BUILD_DEPENDS="xorg-util-macros" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-malloc0returnsnull" diff --git a/packages/libxt/src-Shell.c.patch b/packages/libxt/src-Shell.c.patch index 56af74671..751491993 100644 --- a/packages/libxt/src-Shell.c.patch +++ b/packages/libxt/src-Shell.c.patch @@ -1,13 +1,13 @@ -diff -uNr libXt-1.2.0/src/Shell.c libXt-1.2.0.mod/src/Shell.c ---- libXt-1.2.0/src/Shell.c 2019-06-22 02:29:55.000000000 +0300 -+++ libXt-1.2.0.mod/src/Shell.c 2019-06-29 23:41:30.634530801 +0300 -@@ -1961,9 +1961,7 @@ - if (_XtWaitForSomething (app, - FALSE, TRUE, TRUE, TRUE, - TRUE, +diff -uNr libXt-1.2.1/src/Shell.c libXt-1.2.1.mod/src/Shell.c +--- libXt-1.2.1/src/Shell.c 2021-01-24 14:47:39.000000000 +0000 ++++ libXt-1.2.1.mod/src/Shell.c 2021-02-07 18:54:12.908568145 +0000 +@@ -2017,9 +2017,7 @@ + + while (timeout > 0) { + if (_XtWaitForSomething(app, FALSE, TRUE, TRUE, TRUE, TRUE, -#ifdef XTHREADS - FALSE, + FALSE, -#endif - &timeout) != -1) { - while (XCheckIfEvent(XtDisplay(w),event,isMine,(char*)&q)) { - if (q.done) return TRUE; + &timeout) != -1) { + while (XCheckIfEvent(XtDisplay(w), event, isMine, (char *) &q)) { + if (q.done)