o Fix: add matching pthread_attr_destroy(3) to each pthread_attr_init(3)

o Force FEATURE_ENABLE_SSL for xmpp
o Bump PORTREVISION
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2006-05-03 01:06:46 +00:00
parent 324e5358b1
commit f30bd9717b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161231
3 changed files with 27 additions and 4 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= libjingle
PORTVERSION= 0.3.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net-im
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -73,9 +73,14 @@ post-configure:
${CONFIGURE_WRKSRC}/config.h
# configure does not handle OSS support
# force oss
# force ssl
.for feature in \
FEATURE_ENABLE_SSL \
HAVE_SYS_SOUNDCARD_H
@${ECHO_CMD} \
'#define HAVE_SYS_SOUNDCARD_H 1' >> \
'#define ${feature} 1' >> \
${CONFIGURE_WRKSRC}/config.h
.endfor
post-install:
.ifndef(NOPORTDOCS)

View file

@ -0,0 +1,10 @@
--- talk/base/thread.cc.orig Tue May 2 11:43:09 2006
+++ talk/base/thread.cc Tue May 2 11:43:21 2006
@@ -113,6 +113,7 @@
pthread_attr_t attr;
pthread_attr_init(&attr);
pthread_create(&thread_, &attr, PreLoop, this);
+ pthread_attr_destroy(&attr);
started_ = true;
}

View file

@ -1,6 +1,14 @@
--- talk/session/phone/linphonemediaengine.cc.orig Wed Feb 22 16:32:44 2006
+++ talk/session/phone/linphonemediaengine.cc Wed Feb 22 16:41:45 2006
@@ -139,7 +139,7 @@
@@ -65,6 +65,7 @@
pthread_attr_init(&attr);
pthread_create(&thread_, &attr, &thread_function, this);
+ pthread_attr_destroy(&attr);
}
LinphoneMediaChannel::~LinphoneMediaChannel() {
@@ -139,7 +140,7 @@
#ifdef HAVE_SPEEX
ms_speex_codec_init();
@ -9,7 +17,7 @@
codecs_.push_back(Codec(110, "speex", 8));
#endif
@@ -149,7 +149,7 @@
@@ -149,7 +150,7 @@
codecs_.push_back(Codec(102, "iLBC", 4));
#endif