components/ntp/patches/82-nametoindex.patch
branchs11u2-sru
changeset 3575 6124cc35494e
parent 3560 5e2059b35bc2
child 3578 8bc0e1292180
--- a/components/ntp/patches/82-nametoindex.patch	Wed Dec 17 23:57:29 2014 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-This patch modifies the configure script to correctly detect the 
-if_nametoindex function. This fix is integrated in ntp-dev-4.2.7p394.
-This patch may be removed when upgrading NTP to a later version.
-See NTP bug 2256 for details.
-
---- configure
-+++ configure
-@@ -35243,6 +35670,8 @@
- fi
-
- esac
-+SAVED_LIBS="$LIBS"
-+LIBS="$LDADD_LIBNTP $LIBS"
- for ac_func in if_nametoindex
- do :
-   ac_fn_c_check_func "$LINENO" "if_nametoindex" "ac_cv_func_if_nametoindex"
-@@ -35254,6 +35683,8 @@
- fi
- done
-
-+LIBS="$SAVED_LIBS"
-+{ SAVED_LIBS=; unset SAVED_LIBS;}
- case "$ac_cv_func_if_nametoindex" in
-  yes)
-
-