ports: Add libfyaml port
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
diff -ruN libfyaml-0.9.6/src/util/fy-utils.c libfyaml-0.9.6-banan_os/src/util/fy-utils.c
|
||||
--- libfyaml-0.9.6/src/util/fy-utils.c 2026-03-15 15:48:50.000000000 +0200
|
||||
+++ libfyaml-0.9.6-banan_os/src/util/fy-utils.c 2026-03-25 03:41:24.070062486 +0200
|
||||
@@ -434,7 +434,13 @@
|
||||
|
||||
newt = t;
|
||||
|
||||
+#ifdef __banan_os__
|
||||
+ newt.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON);
|
||||
+ newt.c_oflag &= ~(OPOST);
|
||||
+ newt.c_lflag &= ~(ECHO | ECHONL | ISIG | ICANON | IEXTEN);
|
||||
+#else
|
||||
cfmakeraw(&newt);
|
||||
+#endif
|
||||
|
||||
ret = tcsetattr(fd, TCSANOW, &newt);
|
||||
if (ret != 0)
|
||||
Reference in New Issue
Block a user