The following diff is a fix...

Ok?

ciao,
david

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/pidgin/Makefile,v
retrieving revision 1.95
diff -u -p -r1.95 Makefile
--- Makefile    7 Jul 2011 08:28:04 -0000       1.95
+++ Makefile    8 Jul 2011 14:53:44 -0000
@@ -12,7 +12,7 @@ PKGNAME-main= pidgin-${VERSION}
 PKGNAME-finch= finch-${VERSION}
 PKGNAME-libpurple= libpurple-${VERSION}
 REVISION-main= 1
-REVISION-finch=        1
+REVISION-finch=        2
 REVISION-libpurple= 1
 .for i in -finch -libpurple
 FULLPKGNAME$i= ${PKGNAME$i}${FLAVOR_EXT:S/-gtkspell//}
Index: patches/patch-configure_ac
===================================================================
RCS file: /cvs/ports/net/pidgin/patches/patch-configure_ac,v
retrieving revision 1.25
diff -u -p -r1.25 patch-configure_ac
--- patches/patch-configure_ac  7 Jul 2011 08:28:04 -0000       1.25
+++ patches/patch-configure_ac  8 Jul 2011 14:53:44 -0000
@@ -1,6 +1,6 @@
 $OpenBSD: patch-configure_ac,v 1.25 2011/07/07 08:28:04 dcoppa Exp $
 --- configure.ac.orig  Fri Mar 11 03:20:27 2011
-+++ configure.ac       Thu Jul  7 09:23:41 2011
++++ configure.ac       Fri Jul  8 16:15:02 2011
 @@ -972,7 +972,7 @@ else
        if test "$ac_silc_libs" != "no"; then
                SILC_LIBS="-L$ac_silc_libs"
@@ -18,7 +18,26 @@ $OpenBSD: patch-configure_ac,v 1.25 2011
  fi
  
  if test "x$SUNCC" = "xyes"; then
-@@ -1697,6 +1696,11 @@ AM_CONDITIONAL(INSTALL_SSL_CERTIFICATES, test "x$SSL_C
+@@ -1495,7 +1494,17 @@ if test "x$enable_consoleui" = "xyes" -a ! -z "$PYTHON
+       changequote([, ])dnl
+       if test -f $PY_PREFIX/include/python$PY_VERSION/Python.h -a "$PY_MAJOR" 
= "2."; then
+               AC_MSG_RESULT()
+-              AC_CHECK_LIB(pthread, pthread_create, )
++              AC_CHECK_HEADER(pthread.h, have_pthread_h=yes)
++              if test "X$have_pthread_h" = "Xyes" ; then
++                  LDFLAGS_save="${LDFLAGS}";
++                  LDFLAGS="${LDFLAGS} -pthread"
++                  AC_LINK_IFELSE(
++                    [AC_LANG_PROGRAM(
++                      [[#include <pthread.h>
++                      pthread_t thr;]],
++                      [pthread_create(&thr, NULL, NULL, NULL);])],,
++                    [LDFLAGS="${LDFLAGS_save}"])
++              fi
+               AC_CHECK_LIB(util, openpty, )
+               AC_CHECK_LIB(db, dbopen, )
+               PY_LIBS="-L$PY_EXEC_PREFIX/lib/python$PY_VERSION/config 
-lpython$PY_VERSION"
+@@ -1697,6 +1706,11 @@ AM_CONDITIONAL(INSTALL_SSL_CERTIFICATES, test "x$SSL_C
  
  dnl These two are inverses of each other <-- stolen from evolution!
  
@@ -30,7 +49,7 @@ $OpenBSD: patch-configure_ac,v 1.25 2011
  AC_ARG_ENABLE(gnutls,
        [  --enable-gnutls=[yes,no]  attempt to use GnuTLS for SSL support 
[default=yes]],
        [enable_gnutls="$enableval"],
-@@ -1707,10 +1711,98 @@ AC_ARG_ENABLE(nss,
+@@ -1707,10 +1721,98 @@ AC_ARG_ENABLE(nss,
        [enable_nss="$enableval"],
        [enable_nss="yes"])
  
@@ -131,7 +150,7 @@ $OpenBSD: patch-configure_ac,v 1.25 2011
  dnl #
  if test "x$enable_gnutls" != "xno"; then
        enable_gnutls="no"
-@@ -2108,17 +2200,32 @@ fi
+@@ -2108,17 +2210,32 @@ fi
  
  AM_CONDITIONAL(USE_NSS, test "x$enable_nss" = "xyes")
  

Reply via email to