0
0
mirror of https://github.com/termux-pacman/glibc-packages.git synced 2024-11-11 13:09:19 +00:00
glibc-packages/gpkg/libxcursor/src-library.c.patch
Ivan Max 586881af18
new pkgs to gpkg (#126)
gpkg/libpng
gpkg/libxau
gpkg/libxdmcp
gpkg/xcb-proto
gpkg/xorg-util-macros
gpkg/xorgproto
gpkg/xtrans
gpkg/libdrm
gpkg/libgcrypt
gpkg/libgpg-error
gpkg/libpciaccess
gpkg/libx11
gpkg/libxcb
gpkg/libxcomposite
gpkg/libxcursor
gpkg/libxext
gpkg/libxfixes
gpkg/libxi
gpkg/libxinerama
gpkg/libxrandr
gpkg/libxrender
gpkg/libxshmfence
gpkg/libxslt
gpkg/libxxf86vm
2023-10-16 10:40:54 +03:00

18 lines
652 B
Diff

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>
#ifndef ICONDIR
-#define ICONDIR "/usr/X11R6/lib/X11/icons"
+#define ICONDIR "@TERMUX_PREFIX@/X11R6/lib/X11/icons"
#endif
#ifndef XCURSORPATH
-#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 *