Files
pkgsrc-ng/security/zoneminder/patches/patch-src_zm_ffmpeg_camera_cpp
2016-01-21 23:41:46 +01:00

19 lines
704 B
Plaintext

$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.");
}