mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
o Add the FreeBSD way of telling a socket to not fragment packets
o Bump PORTREVISION
This commit is contained in:
parent
44f372b64c
commit
1edc834671
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161459
2 changed files with 15 additions and 1 deletions
|
@ -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}
|
||||
|
|
|
@ -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;
|
Loading…
Add table
Reference in a new issue