$OpenBSD: patch-configure,v 1.1.1.1 2008/10/29 02:26:32 kevlo Exp $
--- configure.orig	Wed Aug 17 07:30:35 2005
+++ configure	Mon Oct 27 17:37:08 2008
@@ -10691,13 +10691,13 @@ fi
   fi
 
     if test -z "$LIBPTHREAD"; then
-    echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
+    echo "$as_me:$LINENO: checking for pthread_create in -pthread" >&5
+echo $ECHO_N "checking for pthread_create in -pthread... $ECHO_C" >&6
 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread  $LIBS"
+LIBS="-pthread  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -10756,16 +10756,16 @@ fi
 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
 if test $ac_cv_lib_pthread_pthread_create = yes; then
-  LIBPTHREAD="-lpthread"
+  LIBPTHREAD="-pthread"
 fi
 
   fi
 
     if test -z "$LIBPTHREAD" ; then
-    echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
+    echo "$as_me:$LINENO: checking for pthread_create in -pthread" >&5
+echo $ECHO_N "checking for pthread_create in -pthread... $ECHO_C" >&6
     kde_safe_libs=$LIBS
-    LIBS="$LIBS -lpthread"
+    LIBS="$LIBS -pthread"
     cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -10806,7 +10806,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
         echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6
-        LIBPTHREAD="-lpthread"
+        LIBPTHREAD="-pthread"
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
@@ -34444,7 +34444,7 @@ if test "${with_qt_dir+set}" = set; then
 else
   QTDIR_LOCAL=$QTDIR
 fi
-INPUTMETHODSDIR=$QTDIR_LOCAL/plugins/inputmethods
+INPUTMETHODSDIR=$QTDIR_LOCAL/plugins-33/inputmethods
 
 
 if test "$kde_qtver" = "3"; then
