aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/libjingle
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2006-05-03 09:06:46 +0800
committerlioux <lioux@FreeBSD.org>2006-05-03 09:06:46 +0800
commitd3d6fad384d21235cfbefcad93cd9a237ce81c66 (patch)
treeacb0ee69faa5cfcd84ee2df11d420f91358f1140 /net-im/libjingle
parent2eb915cb141851ba25a97483b85dadea28902bc4 (diff)
downloadfreebsd-ports-gnome-d3d6fad384d21235cfbefcad93cd9a237ce81c66.tar.gz
freebsd-ports-gnome-d3d6fad384d21235cfbefcad93cd9a237ce81c66.tar.zst
freebsd-ports-gnome-d3d6fad384d21235cfbefcad93cd9a237ce81c66.zip
o Fix: add matching pthread_attr_destroy(3) to each pthread_attr_init(3)
o Force FEATURE_ENABLE_SSL for xmpp o Bump PORTREVISION
Diffstat (limited to 'net-im/libjingle')
-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