svn commit: r549036 - head/www/deno/files
Mikael Urankar
mikael at FreeBSD.org
Sat Sep 19 16:14:04 UTC 2020
Author: mikael
Date: Sat Sep 19 16:14:03 2020
New Revision: 549036
URL: https://svnweb.freebsd.org/changeset/ports/549036
Log:
www/deno: fix patch, should have been part of r548978
Modified:
head/www/deno/files/patch-cli_ops_tty.rs
Modified: head/www/deno/files/patch-cli_ops_tty.rs
==============================================================================
--- head/www/deno/files/patch-cli_ops_tty.rs Sat Sep 19 16:05:17 2020 (r549035)
+++ head/www/deno/files/patch-cli_ops_tty.rs Sat Sep 19 16:14:03 2020 (r549036)
@@ -1,11 +1,11 @@
---- cli/ops/tty.rs.orig 2020-08-31 16:42:11 UTC
+--- cli/ops/tty.rs.orig 2020-09-18 21:28:11 UTC
+++ cli/ops/tty.rs
-@@ -309,7 +309,7 @@ fn op_console_size(
+@@ -311,7 +311,7 @@ fn op_console_size(
let fd = std_file.as_raw_fd();
unsafe {
let mut size: libc::winsize = std::mem::zeroed();
- if libc::ioctl(fd, libc::TIOCGWINSZ, &mut size as *mut _) != 0 {
+ if libc::ioctl(fd, libc::TIOCGWINSZ.into(), &mut size as *mut _) != 0 {
- return Err(ErrBox::last_os_error());
+ return Err(last_os_error());
}
More information about the svn-ports-all
mailing list