$OpenBSD: patch-mozilla_nsprpub_pr_tests_socket_c,v 1.4 2012/09/17 20:00:09 landry Exp $
--- mozilla/nsprpub/pr/tests/socket.c.orig	Tue Mar  6 14:14:32 2012
+++ mozilla/nsprpub/pr/tests/socket.c	Sun Sep  2 00:30:57 2012
@@ -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
      */
