$OpenBSD: patch-configure,v 1.2 2007/07/04 16:39:41 sturm Exp $
--- configure.orig	Sun Apr  4 11:52:55 1999
+++ configure	Wed Jul  4 18:32:54 2007
@@ -3545,7 +3545,7 @@ if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lintl  $LIBS"
+LIBS="-lintl -liconv $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 3551 "configure"
 #include "confdefs.h"
@@ -3585,7 +3585,7 @@ if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lintl  $LIBS"
+LIBS="-lintl -liconv $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 3591 "configure"
 #include "confdefs.h"
@@ -3628,7 +3628,7 @@ fi
 
 
 	     if test "$gt_cv_func_gettext_libintl" = yes; then
-	       LIBS="$LIBS -lintl"
+	       LIBS="$LIBS -lintl -liconv"
 	     fi
 
 	   fi
