pkgsrc/chat/licq-core/patches/patch-af
jdolecek 9beaa4a4f9 fix couple missing initializations of pthread_mutex_t/pthread_cond_t
now the package is actually usable on NetBSD
2006-11-02 07:07:13 +00:00

13 lines
373 B
Text

$NetBSD: patch-af,v 1.1 2006/11/02 07:07:13 jdolecek Exp $
--- src/sar.cpp.orig 2006-11-01 22:55:40.000000000 +0100
+++ src/sar.cpp
@@ -36,6 +36,8 @@ CSavedAutoResponse::~CSavedAutoResponse(
*-------------------------------------------------------------------------*/
CSARManager::CSARManager()
{
+ // Start up our threads
+ pthread_mutex_init(&mutex, NULL);
}