termux-packages/packages/ckermit/ckuus5.c.patch

21 lines
527 B
Diff
Raw Normal View History

2021-12-25 06:33:49 +01:00
--- a/ckuus5.c
+++ b/ckuus5.c
@@ -840,6 +840,9 @@
char * k_info_dir = NULL; /* Where to find text files */
#ifdef UNIX
static char * txtdir[] = {
+#ifdef __ANDROID__
+ "@TERMUX_PREFIX@/share/doc/",
+#else
"/usr/local/doc/", /* Linux, SunOS, ... */
"/usr/share/lib/", /* HP-UX 10.xx... */
"/usr/share/doc/", /* Other possibilities... */
@@ -852,6 +855,7 @@
"/opt/",
"/usr/doc/",
"/doc/",
+#endif
""
};
#endif /* UNIX */