libxt: update to 1.2.1

This commit is contained in:
Leonid Pliushch 2021-02-07 18:49:57 +00:00
parent abd9957b76
commit 1b12b8b303
No known key found for this signature in database
GPG Key ID: 45F2964132545795
2 changed files with 13 additions and 14 deletions

View File

@ -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 <leonid.pliushch@gmail.com>"
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"

View File

@ -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,
-#endif
&timeout) != -1) {
while (XCheckIfEvent(XtDisplay(w),event,isMine,(char*)&q)) {
if (q.done) return TRUE;
while (XCheckIfEvent(XtDisplay(w), event, isMine, (char *) &q)) {
if (q.done)