- Add LICENSE_FILE - Change pkg-descr PR: 196814 Submitted by: Chris Hutchinson <portmaster@bsdforge.com>
20 lines
714 B
C
20 lines
714 B
C
--- src/bbcp_Pthread.C.orig 2015-01-16 13:38:06.000000000 -0800
|
|
+++ src/bbcp_Pthread.C 2015-01-16 13:39:48.000000000 -0800
|
|
@@ -128,7 +128,7 @@
|
|
/* C o n d W a i t */
|
|
/******************************************************************************/
|
|
|
|
-#if defined(MACOS) || defined(AIX)
|
|
+#if defined(MACOS) || defined(AIX) || defined(FREEBSD)
|
|
|
|
int bbcp_Semaphore::CondWait()
|
|
{
|
|
@@ -215,7 +215,7 @@
|
|
void *bbcp_Thread_Wait(pthread_t tid)
|
|
{long retc;
|
|
void *tstat;
|
|
- if (retc = pthread_join(tid, (void **)&tstat)) tstat = (void *)retc;
|
|
+ if ((retc = pthread_join(tid, (void **)&tstat))) tstat = (void *)retc;
|
|
return tstat;
|
|
}
|
|
|