aboutsummaryrefslogtreecommitdiff
path: root/net-im/libjingle
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2006-05-06 02:06:17 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2006-05-06 02:06:17 +0000
commit1edc8346711d9f75b3bfd73b9e889c02b8d52d2b (patch)
tree4f0e5b2ba08b4cf23a51d1f18de53f5e9dba99fa /net-im/libjingle
parent44f372b64c92ce36be088525540edccbc3cdae21 (diff)
downloadports-1edc8346711d9f75b3bfd73b9e889c02b8d52d2b.tar.gz
ports-1edc8346711d9f75b3bfd73b9e889c02b8d52d2b.zip
Notes
Diffstat (limited to 'net-im/libjingle')
-rw-r--r--net-im/libjingle/Makefile2
-rw-r--r--net-im/libjingle/files/patch-talk__base__physicalsocketserver.cc14
2 files changed, 15 insertions, 1 deletions
diff --git a/net-im/libjingle/Makefile b/net-im/libjingle/Makefile
index 5b517c602d12..5d5b3882bd3b 100644
--- a/net-im/libjingle/Makefile
+++ b/net-im/libjingle/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libjingle
PORTVERSION= 0.3.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net-im
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/net-im/libjingle/files/patch-talk__base__physicalsocketserver.cc b/net-im/libjingle/files/patch-talk__base__physicalsocketserver.cc
new file mode 100644
index 000000000000..1cdbd0805d28
--- /dev/null
+++ b/net-im/libjingle/files/patch-talk__base__physicalsocketserver.cc
@@ -0,0 +1,14 @@
+--- talk/base/physicalsocketserver.cc.orig Thu May 4 10:51:48 2006
++++ talk/base/physicalsocketserver.cc Fri May 5 16:16:16 2006
+@@ -222,6 +222,11 @@
+ return ::setsockopt(
+ s_, IPPROTO_IP, IP_MTU_DISCOVER, &value, sizeof(value));
+ #endif
++#ifdef __FreeBSD__
++ value = (value == 0) ? 0 : 1;
++ return ::setsockopt(
++ s_, IPPROTO_IP, IP_DONTFRAG, &value, sizeof(value));
++#endif
+ #ifdef OSX
+ // This is not possible on OSX.
+ return -1;