opnsense-ports/lang/php56/files/patch-TSRM_threads.m4
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
354 B
Text

--- TSRM/threads.m4.orig 2013-12-10 23:31:06.000000000 +0000
+++ TSRM/threads.m4 2013-12-13 21:50:24.898258559 +0000
@@ -79,7 +79,7 @@ int main() {
pthread_mutexattr_t mattr;
int data = 1;
pthread_mutexattr_init(&mattr);
- return pthread_create(&thd, NULL, thread_routine, &data);
+ return 0;
} ], [
pthreads_working=yes
], [