2018-11-14 18:11:30 +01:00
|
|
|
diff -uNr imlib2-1.5.1/src/modules/loaders/loader_xpm.c imlib2-1.5.1.mod/src/modules/loaders/loader_xpm.c
|
|
|
|
--- imlib2-1.5.1/src/modules/loaders/loader_xpm.c 2018-03-11 09:54:36.000000000 +0200
|
|
|
|
+++ imlib2-1.5.1.mod/src/modules/loaders/loader_xpm.c 2018-11-14 19:06:27.004697564 +0200
|
2018-09-10 00:42:26 +02:00
|
|
|
@@ -51,11 +51,11 @@
|
|
|
|
}
|
|
|
|
/* look in rgb txt database */
|
|
|
|
if (!rgb_txt)
|
|
|
|
- rgb_txt = fopen("/usr/share/X11/rgb.txt", "r");
|
2019-09-10 20:32:57 +02:00
|
|
|
+ rgb_txt = fopen("@TERMUX_PREFIX@/share/X11/rgb.txt", "r");
|
2018-09-10 00:42:26 +02:00
|
|
|
if (!rgb_txt)
|
|
|
|
- rgb_txt = fopen("/usr/X11R6/lib/X11/rgb.txt", "r");
|
2019-09-10 20:32:57 +02:00
|
|
|
+ rgb_txt = fopen("@TERMUX_PREFIX@/X11R6/lib/X11/rgb.txt", "r");
|
2018-09-10 00:42:26 +02:00
|
|
|
if (!rgb_txt)
|
|
|
|
- rgb_txt = fopen("/usr/openwin/lib/X11/rgb.txt", "r");
|
2019-09-10 20:32:57 +02:00
|
|
|
+ rgb_txt = fopen("@TERMUX_PREFIX@/openwin/lib/X11/rgb.txt", "r");
|
2018-09-10 00:42:26 +02:00
|
|
|
if (!rgb_txt)
|
|
|
|
return;
|
|
|
|
fseek(rgb_txt, 0, SEEK_SET);
|