diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2006-11-02 07:07:13 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2006-11-02 07:07:13 +0000 |
commit | 9d460c46b151370ca88af271fcde4116928df51f (patch) | |
tree | 79909288f3f7194b220128fc79c764a9ecd0ea7f /chat | |
parent | 355d254abb4746d5f6af6c9dd8ac3857d2e03447 (diff) | |
download | pkgsrc-9d460c46b151370ca88af271fcde4116928df51f.tar.gz |
fix couple missing initializations of pthread_mutex_t/pthread_cond_t
now the package is actually usable on NetBSD
Diffstat (limited to 'chat')
-rw-r--r-- | chat/licq-core/Makefile | 3 | ||||
-rw-r--r-- | chat/licq-core/distinfo | 4 | ||||
-rw-r--r-- | chat/licq-core/patches/patch-ae | 15 | ||||
-rw-r--r-- | chat/licq-core/patches/patch-af | 13 |
4 files changed, 33 insertions, 2 deletions
diff --git a/chat/licq-core/Makefile b/chat/licq-core/Makefile index c20310d7c4e..ff0314fb293 100644 --- a/chat/licq-core/Makefile +++ b/chat/licq-core/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.8 2006/03/04 21:29:03 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2006/11/02 07:07:13 jdolecek Exp $ # DISTNAME= licq-1.2.6 +PKGREVISION= 1 PKGNAME= ${DISTNAME:C/-/-core-/} CATEGORIES= chat MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=licq/} diff --git a/chat/licq-core/distinfo b/chat/licq-core/distinfo index 47ce95e0dde..754fca33c88 100644 --- a/chat/licq-core/distinfo +++ b/chat/licq-core/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2006/10/11 18:23:54 rillig Exp $ +$NetBSD: distinfo,v 1.7 2006/11/02 07:07:13 jdolecek Exp $ SHA1 (licq-1.2.6.tar.bz2) = fef2d6d8c9a368313335f3ac0e86128aa24133ef RMD160 (licq-1.2.6.tar.bz2) = fcb2e19bf7d30c1824392a9be3ea1619072e4ce5 @@ -7,3 +7,5 @@ SHA1 (patch-aa) = 974a65e3483b3438fb3c6c9aaf96aa67e4c60fa6 SHA1 (patch-ab) = 6acfff2027ce5ed4c8fb7eddbdbc4b4a7617eea9 SHA1 (patch-ac) = 4fbad9cf60611ae1c930f82f8a8464769f742283 SHA1 (patch-ad) = d53a300e08852c9ad09ec900b46feb2c37129d76 +SHA1 (patch-ae) = cf0ad230f4dcaca9ed1d3f92a4c5e6e131029d68 +SHA1 (patch-af) = 86a99ad96c56f0e53547025a7c5536a01fd2a8b8 diff --git a/chat/licq-core/patches/patch-ae b/chat/licq-core/patches/patch-ae new file mode 100644 index 00000000000..c18c825a0e1 --- /dev/null +++ b/chat/licq-core/patches/patch-ae @@ -0,0 +1,15 @@ +$NetBSD: patch-ae,v 1.1 2006/11/02 07:07:13 jdolecek Exp $ + +--- src/licq.cpp.orig 2006-11-01 22:30:21.000000000 +0100 ++++ src/licq.cpp +@@ -138,8 +138,8 @@ char **global_argv = NULL; + int global_argc = 0; + + // Plugin variables +-pthread_cond_t LP_IdSignal; +-pthread_mutex_t LP_IdMutex; ++pthread_cond_t LP_IdSignal = PTHREAD_COND_INITIALIZER; ++pthread_mutex_t LP_IdMutex = PTHREAD_MUTEX_INITIALIZER; + list<unsigned short> LP_Ids; + + CLicq::CLicq() diff --git a/chat/licq-core/patches/patch-af b/chat/licq-core/patches/patch-af new file mode 100644 index 00000000000..236bcc87f6d --- /dev/null +++ b/chat/licq-core/patches/patch-af @@ -0,0 +1,13 @@ +$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); + } + + |