$OpenBSD: patch-nspr_pr_tests_socket_c,v 1.1 2013/06/23 18:36:50 landry Exp $
--- nspr/pr/tests/socket.c.orig	Tue May 28 23:39:29 2013
+++ nspr/pr/tests/socket.c	Wed Jun 12 21:26:28 2013
@@ -2206,6 +2206,7 @@ int main(int argc, char **argv)
     /*
      * client-server test, Ipv6-Ipv4
      */
+    #if !defined(__OpenBSD__)
 	client_domain = PR_AF_INET6;
 	printf("TCP Client/Server Test - IPv6/Ipv4\n");
     if (TCP_Socket_Client_Server_Test() < 0) {
@@ -2213,9 +2214,11 @@ int main(int argc, char **argv)
         goto done;
     } else
         printf("TCP_Socket_Client_Server_Test Passed\n");
+    #endif
     /*
      * client-server test, Ipv4-Ipv6
      */
+    #if !defined(__OpenBSD__)
 	client_domain = PR_AF_INET;
 	server_domain = PR_AF_INET6;
 	printf("TCP Client/Server Test - IPv4/Ipv6\n");
@@ -2224,6 +2227,7 @@ int main(int argc, char **argv)
         goto done;
     } else
         printf("TCP_Socket_Client_Server_Test Passed\n");
+    #endif
     /*
      * client-server test, Ipv6-Ipv6
      */
@@ -2253,6 +2257,7 @@ int main(int argc, char **argv)
     /*
      * run client-server test with UDP, IPv6/IPv4
      */
+    #if !defined(__OpenBSD__)
 	printf("UDP Client/Server Test - IPv6/Ipv4\n");
 	client_domain = PR_AF_INET6;
 	server_domain = PR_AF_INET;
@@ -2261,9 +2266,11 @@ int main(int argc, char **argv)
         goto done;
     } else
         printf("UDP_Socket_Client_Server_Test Passed\n");
+    #endif
     /*
      * run client-server test with UDP,IPv4-IPv6
      */
+    #if !defined(__OpenBSD__)
 	printf("UDP Client/Server Test - IPv4/Ipv6\n");
 	client_domain = PR_AF_INET;
 	server_domain = PR_AF_INET6;
@@ -2272,6 +2279,7 @@ int main(int argc, char **argv)
         goto done;
     } else
         printf("UDP_Socket_Client_Server_Test Passed\n");
+    #endif
     /*
      * run client-server test with UDP,IPv6-IPv6
      */
