summaryrefslogtreecommitdiffstats
path: root/net/gnomemeeting
diff options
context:
space:
mode:
authorroger <roger@FreeBSD.org>2003-09-05 12:35:42 +0000
committerroger <roger@FreeBSD.org>2003-09-05 12:35:42 +0000
commitfafd6fae90628f9f9020c8d61ff7961b901d1849 (patch)
tree76bd5dfbc49e4566cabcf8018f08e387c9cb93ef /net/gnomemeeting
parent5a4d237e9f535d66d5d5f0a67a2c4a6a82ae3b92 (diff)
downloadFreeBSD-ports-fafd6fae90628f9f9020c8d61ff7961b901d1849.zip
FreeBSD-ports-fafd6fae90628f9f9020c8d61ff7961b901d1849.tar.gz
Add patch to disable IPv6 support which was making GM crash.
Fix a fig where calls to GM using 127.0.0.1 fail when NAT support enabled
Diffstat (limited to 'net/gnomemeeting')
-rw-r--r--net/gnomemeeting/Makefile1
-rw-r--r--net/gnomemeeting/files/patch-endpoint37
2 files changed, 38 insertions, 0 deletions
diff --git a/net/gnomemeeting/Makefile b/net/gnomemeeting/Makefile
index d0a9c42..0938e75 100644
--- a/net/gnomemeeting/Makefile
+++ b/net/gnomemeeting/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnomemeeting
PORTVERSION= 0.98.4
+PORTREVISION= 1
CATEGORIES= net gnome
MASTER_SITES= http://www.gnomemeeting.org/downloads/0.98.0/sources/ \
ftp://ftp.gnome.org/pub/GNOME/sources/gnomemeeting/0.98/
diff --git a/net/gnomemeeting/files/patch-endpoint b/net/gnomemeeting/files/patch-endpoint
new file mode 100644
index 0000000..c906400
--- /dev/null
+++ b/net/gnomemeeting/files/patch-endpoint
@@ -0,0 +1,37 @@
+*** src/endpoint.cpp.orig Thu Jul 31 17:26:36 2003
+--- src/endpoint.cpp Fri Sep 5 11:40:58 2003
+*************** GMH323EndPoint::GMH323EndPoint ()
+*** 176,183 ****
+
+ /* Use IPv6 address family by default if available. */
+ #ifdef P_HAS_IPV6
+! if (PIPSocket::IsIpAddressFamilyV6Supported())
+! PIPSocket::SetDefaultIpAddressFamilyV6();
+ #endif
+
+ rtp_port_range =
+--- 176,185 ----
+
+ /* Use IPv6 address family by default if available. */
+ #ifdef P_HAS_IPV6
+! // ENABLING THIS CAUSES PWLIB TO GIVE AN ASSERTION WHEN THERE IS AN
+! // INCOMING CALL
+! // if (PIPSocket::IsIpAddressFamilyV6Supported())
+! // PIPSocket::SetDefaultIpAddressFamilyV6();
+ #endif
+
+ rtp_port_range =
+*************** GMH323EndPoint::TranslateTCPAddress(PIPS
+*** 682,687 ****
+--- 684,694 ----
+
+ && !((remoteAddr.Byte1() == 172)
+ && ((remoteAddr.Byte2() >= 16)&&(remoteAddr.Byte2()<=31)))
++
++ && !((remoteAddr.Byte1() == 127)
++ &&(remoteAddr.Byte2()== 0)
++ &&(remoteAddr.Byte3()==0)
++ &&(remoteAddr.Byte4()==1))
+
+ && !(remoteAddr.Byte1() == 10)) {
+
OpenPOWER on IntegriCloud