termux-packages/x11-packages/libxcursor/src-library.c.patch

18 lines
614 B
Diff
Raw Normal View History

2018-09-10 00:42:26 +02:00
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
@@ -25,11 +25,11 @@
#include <string.h>
#ifndef ICONDIR
-#define ICONDIR "/usr/X11R6/lib/X11/icons"
+#define ICONDIR "@TERMUX_PREFIX@/X11R6/lib/X11/icons"
#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
#endif
const char *