pkgsrc-WIP-changes archive

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

lldb-netbsd: Update to SVN r. 325964



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Fri Feb 23 23:55:33 2018 +0100
Changeset:	bab3d59121c85a723b9074c7fdb25c7403cf10f5

Modified Files:
	lldb-netbsd/Makefile
	lldb-netbsd/distinfo
Added Files:
	lldb-netbsd/patches/patch-source_Host_common_TCPSocket.cpp

Log Message:
lldb-netbsd: Update to SVN r. 325964

Backport a patch for plugging errno:
D43698 Plug errno in TCPSocket::Connect()
https://reviews.llvm.org/D43698

Sponsored by <The NetBSD Foundation>

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=bab3d59121c85a723b9074c7fdb25c7403cf10f5

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

diffstat:
 lldb-netbsd/Makefile                               |  2 +-
 lldb-netbsd/distinfo                               |  1 +
 .../patches/patch-source_Host_common_TCPSocket.cpp | 23 ++++++++++++++++++++++
 3 files changed, 25 insertions(+), 1 deletion(-)

diffs:
diff --git a/lldb-netbsd/Makefile b/lldb-netbsd/Makefile
index a743e8e9d4..d4a4718d23 100644
--- a/lldb-netbsd/Makefile
+++ b/lldb-netbsd/Makefile
@@ -5,7 +5,7 @@ CATEGORIES=	lang devel
 
 SVN_REPOSITORIES=	lldb
 SVN_REPO.lldb=		http://llvm.org/svn/llvm-project/lldb/trunk
-SVN_REVISION.lldb=	324234
+SVN_REVISION.lldb=	325964
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	http://lldb.org/
diff --git a/lldb-netbsd/distinfo b/lldb-netbsd/distinfo
index 462571b386..dcf870fb72 100644
--- a/lldb-netbsd/distinfo
+++ b/lldb-netbsd/distinfo
@@ -12,4 +12,5 @@ Size (libcxx-3.6.2.src.tar.xz) = 944020 bytes
 SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
 RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
 Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
+SHA1 (patch-source_Host_common_TCPSocket.cpp) = ce43194a076579a68d9fc6cbc7d5388d721acd68
 SHA1 (patch-source_Plugins_ObjectFile_ELF_ObjectFileELF.cpp) = b01ecef7dfe109d047663997452065cdc4242292
diff --git a/lldb-netbsd/patches/patch-source_Host_common_TCPSocket.cpp b/lldb-netbsd/patches/patch-source_Host_common_TCPSocket.cpp
new file mode 100644
index 0000000000..44a41e7da2
--- /dev/null
+++ b/lldb-netbsd/patches/patch-source_Host_common_TCPSocket.cpp
@@ -0,0 +1,23 @@
+$NetBSD$
+
+--- source/Host/common/TCPSocket.cpp.orig	2018-02-02 18:39:02.000000000 +0000
++++ source/Host/common/TCPSocket.cpp
+@@ -146,14 +146,17 @@ Status TCPSocket::Connect(llvm::StringRe
+       host_str.c_str(), NULL, AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP);
+   for (auto address : addresses) {
+     error = CreateSocket(address.GetFamily());
+-    if (error.Fail())
++    if (error.Fail()) {
++      errno = 0;
+       continue;
++    }
+ 
+     address.SetPort(port);
+ 
+     if (-1 == ::connect(GetNativeSocket(), &address.sockaddr(),
+                         address.GetLength())) {
+       CLOSE_SOCKET(GetNativeSocket());
++      errno = 0;
+       continue;
+     }
+ 


Home | Main Index | Thread Index | Old Index