From owner-svn-ports-all@freebsd.org Mon Nov 20 13:33:48 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F446DEBE48; Mon, 20 Nov 2017 13:33:48 +0000 (UTC) (envelope-from rodrigo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 196497E3F6; Mon, 20 Nov 2017 13:33:48 +0000 (UTC) (envelope-from rodrigo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vAKDXlDQ076982; Mon, 20 Nov 2017 13:33:47 GMT (envelope-from rodrigo@FreeBSD.org) Received: (from rodrigo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vAKDXlet076981; Mon, 20 Nov 2017 13:33:47 GMT (envelope-from rodrigo@FreeBSD.org) Message-Id: <201711201333.vAKDXlet076981@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rodrigo set sender to rodrigo@FreeBSD.org using -f From: Rodrigo Osorio Date: Mon, 20 Nov 2017 13:33:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454555 - head/devel/radare2/files X-SVN-Group: ports-head X-SVN-Commit-Author: rodrigo X-SVN-Commit-Paths: head/devel/radare2/files X-SVN-Commit-Revision: 454555 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Nov 2017 13:33:48 -0000 Author: rodrigo Date: Mon Nov 20 13:33:46 2017 New Revision: 454555 URL: https://svnweb.freebsd.org/changeset/ports/454555 Log: Update radare2 from v1.0.2 to v2.0.1 Since last release commes with 3255 commits you should look at https://github.com/radare/radare2/releases to see the full releases history. PR: 222931 Submitted by: Michael Zhilin Approved by: rodrigo (maintainer timeout) Added: head/devel/radare2/files/patch-libr_debug_p_debug__native.c (contents, props changed) Deleted: head/devel/radare2/files/patch-kinfo_file.c Added: head/devel/radare2/files/patch-libr_debug_p_debug__native.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/radare2/files/patch-libr_debug_p_debug__native.c Mon Nov 20 13:33:46 2017 (r454555) @@ -0,0 +1,32 @@ +--- libr/debug/p/debug_native.c.orig 2017-11-13 19:15:44 UTC ++++ libr/debug/p/debug_native.c +@@ -1620,6 +1620,7 @@ static RList *r_debug_desc_native_list ( + case KF_TYPE_VNODE: type = 'v'; break; + case KF_TYPE_SOCKET: + type = 's'; ++#if __FreeBSD_version < 1200031 + if (kve->kf_sock_domain == AF_LOCAL) { + struct sockaddr_un *sun = + (struct sockaddr_un *)&kve->kf_sa_local; +@@ -1633,6 +1634,21 @@ static RList *r_debug_desc_native_list ( + addr_to_string (&kve->kf_sa_peer, path + strlen (path), + sizeof (path)); + } ++#else ++ if (kve->kf_sock_domain == AF_LOCAL) { ++ struct sockaddr_un *sun = ++ (struct sockaddr_un *)&kve->kf_un.kf_sock.kf_sa_local;; ++ if (sun->sun_path[0] != 0) ++ addr_to_string (&kve->kf_un.kf_sock.kf_sa_local, path, sizeof(path)); ++ else ++ addr_to_string (&kve->kf_un.kf_sock.kf_sa_peer, path, sizeof(path)); ++ } else { ++ addr_to_string (&kve->kf_un.kf_sock.kf_sa_local, path, sizeof(path)); ++ strcat (path, " "); ++ addr_to_string (&kve->kf_un.kf_sock.kf_sa_peer, path + strlen (path), ++ sizeof (path)); ++ } ++#endif + str = path; + break; + case KF_TYPE_PIPE: type = 'p'; break;