openbsd-ports/net/wget/patches/patch-configure
bernd b3d6ed8c86 update to wget-1.10.2
This fixes a NTLM username buffer overflow vulnerability.

ok aanriot@
2005-10-14 22:24:36 +00:00

22 lines
693 B
Plaintext

$OpenBSD: patch-configure,v 1.6 2005/10/14 22:24:36 bernd Exp $
--- configure.orig Thu Oct 13 11:22:29 2005
+++ configure Fri Oct 14 20:12:49 2005
@@ -11589,7 +11589,7 @@ if test "${ac_cv_lib_intl_gettext+set}"
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lintl $LIBS"
+LIBS="-lintl -liconv $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -11649,7 +11649,7 @@ echo "$as_me:$LINENO: result: $ac_cv_lib
echo "${ECHO_T}$ac_cv_lib_intl_gettext" >&6
if test $ac_cv_lib_intl_gettext = yes; then
- LIBS="-lintl $LIBS"
+ LIBS="-lintl -liconv $LIBS"
cat >>confdefs.h <<\_ACEOF
#define HAVE_GETTEXT 1