summaryrefslogtreecommitdiff
path: root/lang/php5/files/patch-TSRM_threads.m4
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2009-09-22 10:36:31 +0000
committerAlex Dupre <ale@FreeBSD.org>2009-09-22 10:36:31 +0000
commitd8637e03c9ddbfb6eb72bd335bd41553145a717c (patch)
tree37121111581ff151225df3381a27e4e1f553d654 /lang/php5/files/patch-TSRM_threads.m4
parentUpdate to 1.27. (diff)
Update to 5.2.11 release.
(Do not link to thread library when building a thread-safe only lib) Feature safe: yes
Notes
Notes: svn path=/head/; revision=241911
Diffstat (limited to 'lang/php5/files/patch-TSRM_threads.m4')
-rw-r--r--lang/php5/files/patch-TSRM_threads.m422
1 files changed, 11 insertions, 11 deletions
diff --git a/lang/php5/files/patch-TSRM_threads.m4 b/lang/php5/files/patch-TSRM_threads.m4
index 6208eac7f79c..227f6d26c9d5 100644
--- a/lang/php5/files/patch-TSRM_threads.m4
+++ b/lang/php5/files/patch-TSRM_threads.m4
@@ -1,11 +1,11 @@
---- TSRM/threads.m4.orig Wed Apr 27 15:22:18 2005
-+++ TSRM/threads.m4 Wed May 3 10:02:34 2006
-@@ -164,7 +164,7 @@
- dnl
- AC_DEFUN([PTHREADS_ASSIGN_VARS],[
- if test -n "$ac_cv_pthreads_lib"; then
-- LIBS="$LIBS -l$ac_cv_pthreads_lib"
-+ LIBS="$LIBS $ac_cv_pthreads_lib"
- fi
-
- if test -n "$ac_cv_pthreads_cflags"; then
+--- TSRM/threads.m4.orig 2005-04-27 15:22:18.000000000 +0200
++++ TSRM/threads.m4 2009-09-22 10:01:37.000000000 +0200
+@@ -79,7 +79,7 @@
+ pthread_mutexattr_t mattr;
+ int data = 1;
+ pthread_mutexattr_init(&mattr);
+- return pthread_create(&thd, NULL, thread_routine, &data);
++ return 0;
+ } ], [
+ pthreads_working=yes
+ ], [