mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Add patch which backouts some of my early compile hacks which now preventing
MulticastSocket.joinGroup() from behaving correctly. Submitted by: Stefan Farfeleder <stefan@fafoe.dyndns.org>
This commit is contained in:
parent
3ce692f6e4
commit
4b12e892bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77088
13
java/jdk14/files/patch-PlainDatagramSocketImpl.c
Normal file
13
java/jdk14/files/patch-PlainDatagramSocketImpl.c
Normal file
@ -0,0 +1,13 @@
|
||||
--- ../../j2se/src/solaris/native/java/net/PlainDatagramSocketImpl.c.orig Tue Mar 11 10:43:29 2003
|
||||
+++ ../../j2se/src/solaris/native/java/net/PlainDatagramSocketImpl.c Tue Mar 11 10:43:24 2003
|
||||
@@ -2034,9 +2034,7 @@
|
||||
/*
|
||||
* Join the multicast group.
|
||||
*/
|
||||
-// XXXBSD: fix for BSD (re-implement with KAME ?)
|
||||
-// if (JVM_SetSockOpt(fd, IPPROTO_IP, (join ? IP_ADD_MEMBERSHIP:IP_DROP_MEMBERSHIP),
|
||||
- if (JVM_SetSockOpt(fd, IPPROTO_IP, (join ? 1 : 0),
|
||||
+ if (JVM_SetSockOpt(fd, IPPROTO_IP, (join ? IP_ADD_MEMBERSHIP:IP_DROP_MEMBERSHIP),
|
||||
(char *) &mname, mname_len) < 0) {
|
||||
|
||||
/*
|
13
java/jdk15/files/patch-PlainDatagramSocketImpl.c
Normal file
13
java/jdk15/files/patch-PlainDatagramSocketImpl.c
Normal file
@ -0,0 +1,13 @@
|
||||
--- ../../j2se/src/solaris/native/java/net/PlainDatagramSocketImpl.c.orig Tue Mar 11 10:43:29 2003
|
||||
+++ ../../j2se/src/solaris/native/java/net/PlainDatagramSocketImpl.c Tue Mar 11 10:43:24 2003
|
||||
@@ -2034,9 +2034,7 @@
|
||||
/*
|
||||
* Join the multicast group.
|
||||
*/
|
||||
-// XXXBSD: fix for BSD (re-implement with KAME ?)
|
||||
-// if (JVM_SetSockOpt(fd, IPPROTO_IP, (join ? IP_ADD_MEMBERSHIP:IP_DROP_MEMBERSHIP),
|
||||
- if (JVM_SetSockOpt(fd, IPPROTO_IP, (join ? 1 : 0),
|
||||
+ if (JVM_SetSockOpt(fd, IPPROTO_IP, (join ? IP_ADD_MEMBERSHIP:IP_DROP_MEMBERSHIP),
|
||||
(char *) &mname, mname_len) < 0) {
|
||||
|
||||
/*
|
13
java/jdk16/files/patch-PlainDatagramSocketImpl.c
Normal file
13
java/jdk16/files/patch-PlainDatagramSocketImpl.c
Normal file
@ -0,0 +1,13 @@
|
||||
--- ../../j2se/src/solaris/native/java/net/PlainDatagramSocketImpl.c.orig Tue Mar 11 10:43:29 2003
|
||||
+++ ../../j2se/src/solaris/native/java/net/PlainDatagramSocketImpl.c Tue Mar 11 10:43:24 2003
|
||||
@@ -2034,9 +2034,7 @@
|
||||
/*
|
||||
* Join the multicast group.
|
||||
*/
|
||||
-// XXXBSD: fix for BSD (re-implement with KAME ?)
|
||||
-// if (JVM_SetSockOpt(fd, IPPROTO_IP, (join ? IP_ADD_MEMBERSHIP:IP_DROP_MEMBERSHIP),
|
||||
- if (JVM_SetSockOpt(fd, IPPROTO_IP, (join ? 1 : 0),
|
||||
+ if (JVM_SetSockOpt(fd, IPPROTO_IP, (join ? IP_ADD_MEMBERSHIP:IP_DROP_MEMBERSHIP),
|
||||
(char *) &mname, mname_len) < 0) {
|
||||
|
||||
/*
|
Loading…
Reference in New Issue
Block a user