Skip to content
Permalink
Browse files

Use speed_t to match definition, fixing at least OS X build.

  • Loading branch information...
schmonz committed Jun 25, 2019
1 parent 50dc2c3 commit e48fe255a76a472c2d0b2d5b98eb65ae8f5dabac
Showing with 17 additions and 1 deletion.
  1. +2 −1 net/socat/distinfo
  2. +15 −0 net/socat/patches/patch-xio-termios.h
@@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.26 2019/04/07 19:26:56 leot Exp $
$NetBSD: distinfo,v 1.27 2019/06/25 16:43:47 schmonz Exp $

SHA1 (socat-1.7.3.3.tar.gz) = acbb6c4c303a9bd8428c7846545849f25d92bd76
RMD160 (socat-1.7.3.3.tar.gz) = ed1e304fe3e0c7cffdab6dbb1f5f752c3dd53ca4
SHA512 (socat-1.7.3.3.tar.gz) = b3ea4cb6081f7778a0281a3ec36ea7e5daf07dc19f2e0de08f767417112776e96e1bcac7962ebb6dd8b960ad91fc4a452f0da8327736d50e215e4ab43947ff78
Size (socat-1.7.3.3.tar.gz) = 614101 bytes
SHA1 (patch-xio-termios.h) = dd07f9bbf96d0943e1a22fe4851f2f2336e7b828
@@ -0,0 +1,15 @@
$NetBSD: patch-xio-termios.h,v 1.1 2019/06/25 16:43:47 schmonz Exp $

Use speed_t to match definition, fixing at least OS X build.

--- xio-termios.h.orig 2019-04-04 08:59:55.000000000 +0000
+++ xio-termios.h
@@ -148,7 +148,7 @@ extern int xiotermiosflag_applyopt(int f
extern int xiotermios_value(int fd, int word, tcflag_t mask, tcflag_t value);
extern int xiotermios_char(int fd, int n, unsigned char c);
#ifdef HAVE_TERMIOS_ISPEED
-extern int xiotermios_speed(int fd, int n, unsigned int speed);
+extern int xiotermios_speed(int fd, int n, speed_t speed);
#endif
extern int xiotermios_spec(int fd, int optcode);
extern int xiotermios_flush(int fd);

0 comments on commit e48fe25

Please sign in to comment.
You can’t perform that action at this time.