summaryrefslogtreecommitdiff
path: root/net/socat
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2019-06-25 16:43:47 +0000
committerschmonz <schmonz@pkgsrc.org>2019-06-25 16:43:47 +0000
commitc1130552982514968ddc7e767e1bc82e0eab661f (patch)
tree455c24004f3f3ea404286c7204f576a3cbdbc2e7 /net/socat
parent3a27fd19f1850e4e931f1647d4015be27b2da6c9 (diff)
downloadpkgsrc-c1130552982514968ddc7e767e1bc82e0eab661f.tar.gz
Use speed_t to match definition, fixing at least OS X build.
Diffstat (limited to 'net/socat')
-rw-r--r--net/socat/distinfo3
-rw-r--r--net/socat/patches/patch-xio-termios.h15
2 files changed, 17 insertions, 1 deletions
diff --git a/net/socat/distinfo b/net/socat/distinfo
index 770a05dd888..e66493a2785 100644
--- a/net/socat/distinfo
+++ b/net/socat/distinfo
@@ -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 --git a/net/socat/patches/patch-xio-termios.h b/net/socat/patches/patch-xio-termios.h
new file mode 100644
index 00000000000..d2474a17f99
--- /dev/null
+++ b/net/socat/patches/patch-xio-termios.h
@@ -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);