termux-packages/packages/ckermit/ckuusx.c.patch
2021-12-25 20:01:22 +01:00

15 lines
222 B
Diff

--- a/ckuusx.c
+++ b/ckuusx.c
@@ -851,7 +851,11 @@
"/dev/cuaa0"
#else /* __FreeBSD__ */
#ifdef __linux__
+#ifdef __ANDROID__
+"/dev/tty"
+#else
"/dev/ttyS0"
+#endif
#else /* __linux__ */
#ifdef BSD44
"/dev/tty00"