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

15 lines
222 B
Diff
Raw Normal View History

2021-12-25 06:33:49 +01:00
--- 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"