summaryrefslogtreecommitdiff
path: root/lang/php55/files/patch-TSRM_threads.m4
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php55/files/patch-TSRM_threads.m4')
-rw-r--r--lang/php55/files/patch-TSRM_threads.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/php55/files/patch-TSRM_threads.m4 b/lang/php55/files/patch-TSRM_threads.m4
new file mode 100644
index 000000000000..227f6d26c9d5
--- /dev/null
+++ b/lang/php55/files/patch-TSRM_threads.m4
@@ -0,0 +1,11 @@
+--- 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
+ ], [