libx11: fix dlopen() failure on libxcursor library

This commit is contained in:
Leonid Pliushch 2018-11-28 19:32:12 +02:00 committed by Yaksh Bariya
parent cda7e75358
commit 5b7c95f7c6
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 13 additions and 0 deletions

View File

@ -3,6 +3,7 @@ TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
TERMUX_PKG_HOMEPAGE=https://xorg.freedesktop.org/
TERMUX_PKG_DESCRIPTION="X11 client-side library"
TERMUX_PKG_VERSION=1.6.7
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/releases/individual/lib/libX11-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=910e9e30efba4ad3672ca277741c2728aebffa7bc526f04dcfa74df2e52a1348
TERMUX_PKG_DEPENDS="libandroid-support, libxcb"

View File

@ -0,0 +1,12 @@
diff -uNr libX11-1.6.7/src/CrGlCur.c libX11-1.6.7.mod/src/CrGlCur.c
--- libX11-1.6.7/src/CrGlCur.c 2018-10-09 17:27:08.000000000 +0300
+++ libX11-1.6.7.mod/src/CrGlCur.c 2018-11-28 19:31:06.941489053 +0200
@@ -55,7 +55,7 @@
#endif
#ifndef LIBXCURSOR
-#define LIBXCURSOR "libXcursor.so.1"
+#define LIBXCURSOR "libXcursor.so"
#endif
static char libraryName[] = LIBXCURSOR;