$OpenBSD: patch-configure,v 1.8 2009/12/23 12:11:31 benoit Exp $
--- configure.orig	Thu Aug 13 12:36:13 2009
+++ configure	Tue Sep 29 14:43:48 2009
@@ -5142,7 +5142,7 @@
     OPTIMIZATION_CFLAGS=""
   else
     DEBUG_CFLAGS=""
-    OPTIMIZATION_CFLAGS="-O3"
+    OPTIMIZATION_CFLAGS=""
   fi
 # Check whether --enable-profiling was given.
 if test "${enable_profiling+set}" = set; then
@@ -10343,7 +10343,7 @@
 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_gettext" >&5
 $as_echo "$ac_cv_lib_intl_gettext" >&6; }
 if test "x$ac_cv_lib_intl_gettext" = x""yes; then
-   LIBINTL_LIBS="-lintl";
+   LIBINTL_LIBS="-lintl -liconv";
                  gettext_found=yes
 else
   gettext_found=no
