aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
Diffstat (limited to 'net-im')
-rw-r--r--net-im/libjingle/Makefile9
-rw-r--r--net-im/libjingle/files/patch-talk__base__thread.cc10
-rw-r--r--net-im/libjingle/files/patch-talk__session__phone__linphonemediaengine.cc12
3 files changed, 27 insertions, 4 deletions
diff --git a/net-im/libjingle/Makefile b/net-im/libjingle/Makefile
index 00d7ae86dbf8..5b517c602d12 100644
--- a/net-im/libjingle/Makefile
+++ b/net-im/libjingle/Makefile
@@ -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)
diff --git a/net-im/libjingle/files/patch-talk__base__thread.cc b/net-im/libjingle/files/patch-talk__base__thread.cc
new file mode 100644
index 000000000000..02ec8efe2382
--- /dev/null
+++ b/net-im/libjingle/files/patch-talk__base__thread.cc
@@ -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;
+ }
+
diff --git a/net-im/libjingle/files/patch-talk__session__phone__linphonemediaengine.cc b/net-im/libjingle/files/patch-talk__session__phone__linphonemediaengine.cc
index 08e559094fbe..8ce6830b664b 100644
--- a/net-im/libjingle/files/patch-talk__session__phone__linphonemediaengine.cc
+++ b/net-im/libjingle/files/patch-talk__session__phone__linphonemediaengine.cc
@@ -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