components/libnet/patches/configure.patch
author Rich Burridge <rich.burridge@oracle.com>
Wed, 18 Jan 2012 08:11:25 -0800
changeset 655 086286e54fd8
parent 650 e2fc423a4fd5
permissions -rw-r--r--
7129444 libnet IPV6 support will break in Solaris 12
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
650
e2fc423a4fd5 PSARC 2011/399 Update libnet to 1.1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
--- libnet-1.1.5/configure.orig	Sat Dec 17 16:17:23 2011
e2fc423a4fd5 PSARC 2011/399 Update libnet to 1.1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
+++ libnet-1.1.5/configure	Sat Dec 17 16:18:25 2011
e2fc423a4fd5 PSARC 2011/399 Update libnet to 1.1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
@@ -21763,6 +21763,13 @@
e2fc423a4fd5 PSARC 2011/399 Update libnet to 1.1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
 
e2fc423a4fd5 PSARC 2011/399 Update libnet to 1.1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
         ;;
e2fc423a4fd5 PSARC 2011/399 Update libnet to 1.1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
 
655
086286e54fd8 7129444 libnet IPV6 support will break in Solaris 12
Rich Burridge <rich.burridge@oracle.com>
parents: 650
diff changeset
     7
+    5.10|5.11|5.12)
650
e2fc423a4fd5 PSARC 2011/399 Update libnet to 1.1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
+cat >>confdefs.h <<\_ACEOF
e2fc423a4fd5 PSARC 2011/399 Update libnet to 1.1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
+#define HAVE_SOLARIS_IPV6 1
e2fc423a4fd5 PSARC 2011/399 Update libnet to 1.1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
+_ACEOF
e2fc423a4fd5 PSARC 2011/399 Update libnet to 1.1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
+
e2fc423a4fd5 PSARC 2011/399 Update libnet to 1.1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
+        ;;
e2fc423a4fd5 PSARC 2011/399 Update libnet to 1.1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
+
e2fc423a4fd5 PSARC 2011/399 Update libnet to 1.1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
     esac
e2fc423a4fd5 PSARC 2011/399 Update libnet to 1.1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
 
e2fc423a4fd5 PSARC 2011/399 Update libnet to 1.1.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
     ADDITIONAL_LIBS='-lresolv -lsocket -lnsl'