summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
Diffstat (limited to 'Ports')
-rw-r--r--Ports/emu2/patches/keyb.patch10
-rw-r--r--Ports/emu2/patches/video.patch10
-rw-r--r--Ports/oksh/patches/disable_tty.patch13
3 files changed, 0 insertions, 33 deletions
diff --git a/Ports/emu2/patches/keyb.patch b/Ports/emu2/patches/keyb.patch
deleted file mode 100644
index 5ab794b2cf..0000000000
--- a/Ports/emu2/patches/keyb.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-+++ emu2-master/src/keyb.c 2021-04-14 09:28:52.597237515 -0700
-@@ -385,7 +385,7 @@
- {
- if(tty_fd < 0)
- {
-- tty_fd = open("/dev/tty", O_NOCTTY | O_RDONLY);
-+ tty_fd = open(ttyname(0), O_NOCTTY | O_RDONLY);
- if(tty_fd < 0)
- {
- print_error("error at open TTY, %s\n", strerror(errno));
diff --git a/Ports/emu2/patches/video.patch b/Ports/emu2/patches/video.patch
deleted file mode 100644
index 95bfe39852..0000000000
--- a/Ports/emu2/patches/video.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-+++ emu2-master/src/video.c 2021-04-14 09:29:03.273155128 -0700
-@@ -154,7 +154,7 @@
- static void init_video(void)
- {
- debug(debug_video, "starting video emulation.\n");
-- int tty_fd = open("/dev/tty", O_NOCTTY | O_WRONLY);
-+ int tty_fd = open(ttyname(0), O_NOCTTY | O_WRONLY);
- if(tty_fd < 0)
- {
- print_error("error at open TTY, %s\n", strerror(errno));
diff --git a/Ports/oksh/patches/disable_tty.patch b/Ports/oksh/patches/disable_tty.patch
deleted file mode 100644
index 4838fe1e4e..0000000000
--- a/Ports/oksh/patches/disable_tty.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/tty.c b/tty.c
-index a72e5cd..96fa904 100644
---- a/tty.c
-+++ b/tty.c
-@@ -33,7 +33,7 @@ tty_init(int init_ttystate)
- tty_close();
- tty_devtty = 1;
-
-- tfd = open("/dev/tty", O_RDWR, 0);
-+ tfd = open("/dev/tty0", O_RDWR, 0);
- if (tfd == -1) {
- tty_devtty = 0;
- warningf(false, "No controlling tty (open /dev/tty: %s)",