summaryrefslogtreecommitdiffstats
path: root/net-im/libjingle
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2006-03-15 18:34:59 +0000
committerlioux <lioux@FreeBSD.org>2006-03-15 18:34:59 +0000
commitb31ec9b1950c22dd2139763c3b9c7291ce870901 (patch)
tree3d4e8602c0b7dedba7d0d645797d86502a6c208d /net-im/libjingle
parente0c866231418f0daf81690376b843fe63a7df3fe (diff)
downloadFreeBSD-ports-b31ec9b1950c22dd2139763c3b9c7291ce870901.zip
FreeBSD-ports-b31ec9b1950c22dd2139763c3b9c7291ce870901.tar.gz
o net-im/libjingle source code makes assumptions about some of the
types and the architecture it is being built on. o Fix such a mistake brought up by the FreeBSD ports' building cluster on !i386 ARCHs. o Remove BROKEN status on !i386 ARCHs.
Diffstat (limited to 'net-im/libjingle')
-rw-r--r--net-im/libjingle/Makefile4
-rw-r--r--net-im/libjingle/files/patch-talk__session__phone__voicechannel.cc11
2 files changed, 11 insertions, 4 deletions
diff --git a/net-im/libjingle/Makefile b/net-im/libjingle/Makefile
index b6c9605..40eb31d 100644
--- a/net-im/libjingle/Makefile
+++ b/net-im/libjingle/Makefile
@@ -82,10 +82,6 @@ post-install:
.include <bsd.port.pre.mk>
-.if ${ARCH} != "i386"
-BROKEN= Does not compile on !i386
-.endif
-
LDFLAGS+=-L${LOCALBASE}/lib -L${OPENSSLLIB} ${PTHREAD_LIBS}
PKG_CONFIG?=${LOCALBASE}/bin/pkg-config
diff --git a/net-im/libjingle/files/patch-talk__session__phone__voicechannel.cc b/net-im/libjingle/files/patch-talk__session__phone__voicechannel.cc
new file mode 100644
index 0000000..5532f4f
--- /dev/null
+++ b/net-im/libjingle/files/patch-talk__session__phone__voicechannel.cc
@@ -0,0 +1,11 @@
+--- talk/session/phone/voicechannel.cc.orig Fri Mar 3 08:39:15 2006
++++ talk/session/phone/voicechannel.cc Fri Mar 3 08:39:36 2006
+@@ -159,7 +159,7 @@
+ channel_->OnPacketReceived(data, (int)len);
+ }
+
+-void VoiceChannel::SendPacket(const void *data, unsigned int len) {
++void VoiceChannel::SendPacket(const void *data, size_t len) {
+ // SendPacket gets called from MediaEngine; send to socket
+ // MediaEngine will call us on a random thread. The Send operation on the socket is
+ // special in that it can handle this.
OpenPOWER on IntegriCloud