$OpenBSD: patch-mozilla_nsprpub_pr_tests_socket_c,v 1.3 2010/08/30 20:12:55 landry Exp $
--- mozilla/nsprpub/pr/tests/socket.c.orig	Sat Feb 13 01:32:47 2010
+++ mozilla/nsprpub/pr/tests/socket.c	Sun Aug  1 13:16:28 2010
@@ -2238,6 +2238,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) {
@@ -2245,9 +2246,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");
@@ -2256,6 +2259,7 @@ int main(int argc, char **argv)
         goto done;
     } else
         printf("TCP_Socket_Client_Server_Test Passed\n");
+    #endif
     /*
      * client-server test, Ipv6-Ipv6
      */
@@ -2285,6 +2289,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;
@@ -2293,9 +2298,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;
@@ -2304,6 +2311,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
      */
