pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/mosh



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Wed Jun 19 15:50:52 UTC 2019

Modified Files:
        pkgsrc/net/mosh: distinfo
Added Files:
        pkgsrc/net/mosh/patches: patch-src_network_network.cc

Log Message:
Fix OS X clang build. Via FreeBSD Ports, so probably fixes FreeBSD too.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/net/mosh/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/mosh/patches/patch-src_network_network.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/mosh/distinfo
diff -u pkgsrc/net/mosh/distinfo:1.8 pkgsrc/net/mosh/distinfo:1.9
--- pkgsrc/net/mosh/distinfo:1.8        Wed Nov 21 21:46:50 2018
+++ pkgsrc/net/mosh/distinfo    Wed Jun 19 15:50:52 2019
@@ -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

Added files:

Index: pkgsrc/net/mosh/patches/patch-src_network_network.cc
diff -u /dev/null pkgsrc/net/mosh/patches/patch-src_network_network.cc:1.1
--- /dev/null   Wed Jun 19 15:50:52 2019
+++ pkgsrc/net/mosh/patches/patch-src_network_network.cc        Wed Jun 19 15:50:52 2019
@@ -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