pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/mosh Fix OS X clang build. Via FreeBSD Ports, so p...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ab405db8c570
branches: trunk
changeset: 397264:ab405db8c570
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Wed Jun 19 15:50:52 2019 +0000
description:
Fix OS X clang build. Via FreeBSD Ports, so probably fixes FreeBSD too.
diffstat:
net/mosh/distinfo | 3 ++-
net/mosh/patches/patch-src_network_network.cc | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r bf6522bf279e -r ab405db8c570 net/mosh/distinfo
--- a/net/mosh/distinfo Wed Jun 19 14:49:19 2019 +0000
+++ b/net/mosh/distinfo Wed Jun 19 15:50:52 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.8 2018/11/21 21:46:50 leot Exp $
+$NetBSD: distinfo,v 1.9 2019/06/19 15:50:52 schmonz Exp $
SHA1 (mosh-1.3.2.tar.gz) = 58411e5f4ccd27252e55ef2411411aa1502da89a
RMD160 (mosh-1.3.2.tar.gz) = 09cec7da65f525c4a414c1506d153ac72ea38c8a
SHA512 (mosh-1.3.2.tar.gz) = f400e8fe7ba2ab7362311fc12a00ec69587505f901988aeee500fc68d38a388218500a3f602111c883ff23a9d43572114fcf0a8bf505df203691e5b597615769
Size (mosh-1.3.2.tar.gz) = 359574 bytes
+SHA1 (patch-src_network_network.cc) = cb3fbea57b2c9c208e61ba4c7a7d329aabb35d9e
diff -r bf6522bf279e -r ab405db8c570 net/mosh/patches/patch-src_network_network.cc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/mosh/patches/patch-src_network_network.cc Wed Jun 19 15:50:52 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_network_network.cc,v 1.1 2019/06/19 15:50:52 schmonz Exp $
+
+Fix OS X clang build. Via FreeBSD Ports, so probably fixes FreeBSD too.
+
+--- src/network/network.cc.orig 2017-07-22 21:14:53.000000000 +0000
++++ src/network/network.cc
+@@ -335,7 +335,7 @@ bool Connection::try_bind( const char *a
+ }
+ }
+
+- if ( bind( sock(), &local_addr.sa, local_addr_len ) == 0 ) {
++ if ( ::bind( sock(), &local_addr.sa, local_addr_len ) == 0 ) {
+ set_MTU( local_addr.sa.sa_family );
+ return true;
+ } else if ( i == search_high ) { /* last port to search */
Home |
Main Index |
Thread Index |
Old Index