$OpenBSD: patch-configure,v 1.9 2011/07/06 07:23:20 jasper Exp $
--- configure.orig	Wed Apr 27 12:05:07 2011
+++ configure	Wed Apr 27 12:39:53 2011
@@ -17380,7 +17380,7 @@ if test "${ac_cv_lib_id3_ID3Tag_New+set}" = set; then 
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lid3 -lstdc++ -lz $LIBS"
+LIBS="-lid3 -lstdc++ -lz -lm $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -17415,7 +17415,7 @@ if test "x$ac_cv_lib_id3_ID3Tag_New" = x""yes; then :
 #define HAVE_LIBID3 1
 _ACEOF
 
-  LIBS="-lid3 $LIBS"
+  LIBS="-lid3 -lm $LIBS"
 
 fi
 
@@ -21172,8 +21172,8 @@ fi
 
 
    if test -n "$PKG_CONFIG" && \
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib <= 0.14\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "poppler-glib <= 0.14") 2>&5
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib <= 0.15\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "poppler-glib <= 0.15") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
