summaryrefslogtreecommitdiff
path: root/mail/evolution-data-server/patches/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'mail/evolution-data-server/patches/patch-ak')
-rw-r--r--mail/evolution-data-server/patches/patch-ak34
1 files changed, 29 insertions, 5 deletions
diff --git a/mail/evolution-data-server/patches/patch-ak b/mail/evolution-data-server/patches/patch-ak
index ce81c9e72d2..bb33b21a77a 100644
--- a/mail/evolution-data-server/patches/patch-ak
+++ b/mail/evolution-data-server/patches/patch-ak
@@ -1,10 +1,8 @@
-$NetBSD: patch-ak,v 1.4 2006/06/11 15:05:39 wiz Exp $
+$NetBSD: patch-ak,v 1.5 2006/09/11 09:33:33 joerg Exp $
-Needed to have a NULL macro in the program that follows these includes.
-
---- configure.orig 2006-05-29 13:25:13.000000000 +0000
+--- configure.orig 2006-07-31 15:37:06.000000000 +0000
+++ configure
-@@ -26341,6 +26341,7 @@ cat >>conftest.$ac_ext <<_ACEOF
+@@ -26342,6 +26342,7 @@ cat >>conftest.$ac_ext <<_ACEOF
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
@@ -12,3 +10,29 @@ Needed to have a NULL macro in the program that follows these includes.
int
+@@ -28447,13 +28448,13 @@ EVO_MARSHAL_RULE=$srcdir/marshal.mk
+
+
+ PTHREAD_LIB=""
+- 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_LIB}" >&5
++echo $ECHO_N "checking for pthread_create in ${PTHREAD_LIB}... $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_LIB} $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -28512,7 +28513,7 @@ 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
+- PTHREAD_LIB="-lpthread"
++ PTHREAD_LIB="${PTHREAD_LIB}"
+ else
+ echo "$as_me:$LINENO: checking for pthread_create in -lpthreads" >&5
+ echo $ECHO_N "checking for pthread_create in -lpthreads... $ECHO_C" >&6