c01631c02e
Fixes build under NetBSD. Bump PKGREVISION for switch to ffmpeg2, and some portability changes that aren't expected to affect functionality.
18 lines
704 B
Text
18 lines
704 B
Text
$NetBSD: patch-src_zm_ffmpeg_camera_cpp,v 1.1 2015/04/10 02:58:49 dsainty Exp $
|
|
|
|
Replace the non-portable pthread_tryjoin_np() with pthread_join(), assessed
|
|
as a reasonable patch by the original author.
|
|
|
|
https://github.com/ZoneMinder/ZoneMinder/commit/7534557533a7347f4901a139c2b698e76aaf164d
|
|
|
|
--- src/zm_ffmpeg_camera.cpp.orig 2015-04-09 12:31:49.987117639 +1200
|
|
+++ src/zm_ffmpeg_camera.cpp 2015-04-09 14:40:54.059009480 +1200
|
|
@@ -120,7 +120,7 @@
|
|
void *retval = 0;
|
|
int ret;
|
|
|
|
- ret = pthread_tryjoin_np(mReopenThread, &retval);
|
|
+ ret = pthread_join(mReopenThread, &retval);
|
|
if (ret != 0){
|
|
Error("Could not join reopen thread.");
|
|
}
|