diff options
Diffstat (limited to 'security/openvas-libraries/files/patch-configure')
-rw-r--r-- | security/openvas-libraries/files/patch-configure | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/security/openvas-libraries/files/patch-configure b/security/openvas-libraries/files/patch-configure new file mode 100644 index 000000000000..48f5768c9321 --- /dev/null +++ b/security/openvas-libraries/files/patch-configure @@ -0,0 +1,43 @@ +--- configure.orig 2008-03-27 03:57:28.000000000 +0900 ++++ configure 2008-04-26 22:00:22.000000000 +0900 +@@ -8136,7 +8136,7 @@ + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lresolv $LIBS" ++LIBS="$LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -8192,7 +8192,7 @@ + { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___dn_expand" >&5 + echo "${ECHO_T}$ac_cv_lib_resolv___dn_expand" >&6; } + if test $ac_cv_lib_resolv___dn_expand = yes; then +- LIBS="-lresolv $LIBS" ++ LIBS="$LIBS" + else + { { echo "$as_me:$LINENO: error: you need to install resolve library with development files" >&5 + echo "$as_me: error: you need to install resolve library with development files" >&2;} +@@ -8290,11 +8290,11 @@ + #ifdef __cplusplus + extern "C" + #endif +-char pcap_restart (); ++/* char pcap_restart (); */ + int + main () + { +-return pcap_restart (); ++return 0 /* pcap_restart (); */ + ; + return 0; + } +@@ -12909,7 +12909,7 @@ + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lresolv $LIBS" ++LIBS="$LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF |