diff options
author | root <root@evil.(none)> | 2009-06-10 01:24:48 +0300 |
---|---|---|
committer | root <root@evil.(none)> | 2009-06-10 01:24:48 +0300 |
commit | c8f9ea324922b8264726938021e3dafc1d1c42d0 (patch) | |
tree | 7ef3dd3d27e3211fe39e24346c2a0609fae15b74 /app-misc/mc/files/mc-4.6.1-nonblock.patch | |
parent | 04165476be4a4d33ced17c20fcb0b97f30c0910c (diff) |
new file: app-misc/mc/mc-4.9999.ebuild (Midnight Commander from git)
new file: net-dialup/openl2tp/openl2tp-1.4.ebuild (openl2tp)
Diffstat (limited to 'app-misc/mc/files/mc-4.6.1-nonblock.patch')
-rw-r--r-- | app-misc/mc/files/mc-4.6.1-nonblock.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-misc/mc/files/mc-4.6.1-nonblock.patch b/app-misc/mc/files/mc-4.6.1-nonblock.patch new file mode 100644 index 0000000..eca34aa --- /dev/null +++ b/app-misc/mc/files/mc-4.6.1-nonblock.patch @@ -0,0 +1,11 @@ +--- mc-4.6.1/src/cons.saver.c.old 2006-04-30 20:45:11.725128977 +0200 ++++ mc-4.6.1/src/cons.saver.c 2006-04-30 20:45:55.545063247 +0200 +@@ -134,7 +134,7 @@ + + if (seteuid (uid) < 0) + die (); +- console_fd = open (tty_name, O_RDONLY); ++ console_fd = open (tty_name, O_RDONLY | O_NONBLOCK); + if (console_fd < 0) + die (); + if (fstat (console_fd, &st) < 0 || ! S_ISCHR (st.st_mode)) |