pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/socat Use speed_t to match definition, fixing at l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/786fcc45a446
branches:  trunk
changeset: 335649:786fcc45a446
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Jun 25 16:43:47 2019 +0000

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

diffstat:

 net/socat/distinfo                    |   3 ++-
 net/socat/patches/patch-xio-termios.h |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 030657ee8320 -r 786fcc45a446 net/socat/distinfo
--- a/net/socat/distinfo        Tue Jun 25 16:39:00 2019 +0000
+++ b/net/socat/distinfo        Tue Jun 25 16:43:47 2019 +0000
@@ -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
diff -r 030657ee8320 -r 786fcc45a446 net/socat/patches/patch-xio-termios.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/socat/patches/patch-xio-termios.h     Tue Jun 25 16:43:47 2019 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index