Index: head/devel/radare2/files/patch-kinfo_file.c =================================================================== --- head/devel/radare2/files/patch-kinfo_file.c (revision 454554) +++ head/devel/radare2/files/patch-kinfo_file.c (nonexistent) @@ -1,23 +0,0 @@ ---- libr/debug/p/debug_native.c.orig 2016-11-10 16:17:54 UTC -+++ libr/debug/p/debug_native.c -@@ -1487,15 +1487,15 @@ static RList *r_debug_desc_native_list ( - type = 's'; - if (kve->kf_sock_domain == AF_LOCAL) { - struct sockaddr_un *sun = -- (struct sockaddr_un *)&kve->kf_sa_local; -+ (struct sockaddr_un *)&kve->kf_un.kf_sock.kf_sa_local; - if (sun->sun_path[0] != 0) -- addr_to_string (&kve->kf_sa_local, path, sizeof(path)); -+ addr_to_string (&kve->kf_un.kf_sock.kf_sa_local, path, sizeof(path)); - else -- addr_to_string (&kve->kf_sa_peer, path, sizeof(path)); -+ addr_to_string (&kve->kf_un.kf_sock.kf_sa_peer, path, sizeof(path)); - } else { -- addr_to_string (&kve->kf_sa_local, path, sizeof(path)); -+ addr_to_string (&kve->kf_un.kf_sock.kf_sa_local, path, sizeof(path)); - strcat (path, " "); -- addr_to_string (&kve->kf_sa_peer, path + strlen (path), -+ addr_to_string (&kve->kf_un.kf_sock.kf_sa_peer, path + strlen (path), - sizeof (path)); - } - str = path; Property changes on: head/devel/radare2/files/patch-kinfo_file.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/radare2/files/patch-libr_debug_p_debug__native.c =================================================================== --- head/devel/radare2/files/patch-libr_debug_p_debug__native.c (nonexistent) +++ head/devel/radare2/files/patch-libr_debug_p_debug__native.c (revision 454555) @@ -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; Property changes on: head/devel/radare2/files/patch-libr_debug_p_debug__native.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property