mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-23 14:56:16 +00:00
20 lines
641 B
Diff
20 lines
641 B
Diff
+++ ./src/Pixmap.c 2018-06-19 20:42:12.691693246 +0300
|
|
@@ -652,7 +652,7 @@
|
|
}
|
|
|
|
#ifndef PROJECT_ROOT
|
|
-#define PROJECT_ROOT "/usr/X11R6"
|
|
+#define PROJECT_ROOT "@TERMUX_PREFIX@/X11R6"
|
|
#endif
|
|
|
|
static char *pixmap_path = NULL;
|
|
@@ -665,7 +665,7 @@
|
|
XrmRepresentation rep_type;
|
|
XrmValue value;
|
|
static char *default_path =
|
|
- (char*)"%H/%T/%N:%P/include/X11/%T/%N:/usr/X11R6/include/X11/%T/%N:/usr/include/X11/%T/%N:%N";
|
|
+ (char*)"%H/%T/%N:%P/include/X11/%T/%N:@TERMUX_PREFIX@/X11R6/include/X11/%T/%N:@TERMUX_PREFIX@/include/X11/%T/%N:%N";
|
|
|
|
xrm_name[0] = XrmPermStringToQuark("pixmapFilePath");
|
|
xrm_name[1] = NULLQUARK;
|