libxcursor: update src-library.c.patch

This commit is contained in:
Leonid Pliushch 2019-05-19 00:59:11 +03:00 committed by Yaksh Bariya
parent 887a8ce2dd
commit 8ad11521da
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -1,6 +1,6 @@
diff -uNr libXcursor-1.1.15/src/library.c libXcursor-1.1.15.mod/src/library.c
--- libXcursor-1.1.15/src/library.c 2017-11-28 16:25:02.000000000 +0200
+++ libXcursor-1.1.15.mod/src/library.c 2018-06-19 20:46:42.448373801 +0300
diff -uNr libXcursor-1.2.0/src/library.c libXcursor-1.2.0.mod/src/library.c
--- libXcursor-1.2.0/src/library.c 2019-03-11 02:37:56.000000000 +0200
+++ libXcursor-1.2.0.mod/src/library.c 2019-05-19 00:58:12.270343791 +0300
@@ -25,11 +25,11 @@
#include <string.h>
@ -10,8 +10,8 @@ diff -uNr libXcursor-1.1.15/src/library.c libXcursor-1.1.15.mod/src/library.c
#endif
#ifndef XCURSORPATH
-#define XCURSORPATH "~/.icons:/usr/share/icons:/usr/share/pixmaps:"ICONDIR
+#define XCURSORPATH "~/.icons:@TERMUX_PREFIX@/share/icons:@TERMUX_PREFIX@/share/pixmaps:"ICONDIR
-#define XCURSORPATH "~/.local/share/icons:~/.icons:/usr/share/icons:/usr/share/pixmaps:"ICONDIR
+#define XCURSORPATH "~/.local/share/icons:~/.icons:@TERMUX_PREFIX@/share/icons:@TERMUX_PREFIX@/share/pixmaps:"ICONDIR
#endif
const char *