. Fix UDP packet broadcasting.
. Bump PORTREVISION. Submitted by: daichi, Tetsuo Suzuki <tetsuo@ss-lab.net>
This commit is contained in:
parent
10621f281e
commit
e4956ee696
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69202
8 changed files with 60 additions and 4 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= jdk
|
||||
PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION}
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= java devel
|
||||
MASTER_SITES= # http://www.sun.com/software/java2/download.html
|
||||
# http://www.eyesbeyond.com/freebsddom/java/jdk13.html
|
||||
|
|
14
java/jdk13/files/patch-PlainDatagramSocketImpl.c
Normal file
14
java/jdk13/files/patch-PlainDatagramSocketImpl.c
Normal file
|
@ -0,0 +1,14 @@
|
|||
$FreeBSD$
|
||||
|
||||
diff -u -r1.3 PlainDatagramSocketImpl.c
|
||||
--- ../src/solaris/native/java/net/PlainDatagramSocketImpl.c 19 Aug 2001 05:46:50 -0000 1.3
|
||||
+++ ../src/solaris/native/java/net/PlainDatagramSocketImpl.c 31 Oct 2002 16:39:39 -0000
|
||||
@@ -489,7 +489,7 @@
|
||||
strerror(errno));
|
||||
return;
|
||||
}
|
||||
-#if defined(__linux__) && defined(SO_BROADCAST)
|
||||
+#if (defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)) && defined(SO_BROADCAST)
|
||||
{
|
||||
int t = 1;
|
||||
setsockopt(fd, SOL_SOCKET, SO_BROADCAST, (char*) &t, sizeof(int));
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= jdk
|
||||
PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION}
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= java devel
|
||||
MASTER_SITES= # http://www.sun.com/software/java2/download.html
|
||||
# http://www.eyesbeyond.com/freebsddom/java/jdk13.html
|
||||
|
|
14
java/jdk14/files/patch-PlainDatagramSocketImpl.c
Normal file
14
java/jdk14/files/patch-PlainDatagramSocketImpl.c
Normal file
|
@ -0,0 +1,14 @@
|
|||
$FreeBSD$
|
||||
|
||||
diff -u -r1.3 PlainDatagramSocketImpl.c
|
||||
--- ../src/solaris/native/java/net/PlainDatagramSocketImpl.c 19 Aug 2001 05:46:50 -0000 1.3
|
||||
+++ ../src/solaris/native/java/net/PlainDatagramSocketImpl.c 31 Oct 2002 16:39:39 -0000
|
||||
@@ -489,7 +489,7 @@
|
||||
strerror(errno));
|
||||
return;
|
||||
}
|
||||
-#if defined(__linux__) && defined(SO_BROADCAST)
|
||||
+#if (defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)) && defined(SO_BROADCAST)
|
||||
{
|
||||
int t = 1;
|
||||
setsockopt(fd, SOL_SOCKET, SO_BROADCAST, (char*) &t, sizeof(int));
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= jdk
|
||||
PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION}
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= java devel
|
||||
MASTER_SITES= # http://www.sun.com/software/java2/download.html
|
||||
# http://www.eyesbeyond.com/freebsddom/java/jdk13.html
|
||||
|
|
14
java/jdk15/files/patch-PlainDatagramSocketImpl.c
Normal file
14
java/jdk15/files/patch-PlainDatagramSocketImpl.c
Normal file
|
@ -0,0 +1,14 @@
|
|||
$FreeBSD$
|
||||
|
||||
diff -u -r1.3 PlainDatagramSocketImpl.c
|
||||
--- ../src/solaris/native/java/net/PlainDatagramSocketImpl.c 19 Aug 2001 05:46:50 -0000 1.3
|
||||
+++ ../src/solaris/native/java/net/PlainDatagramSocketImpl.c 31 Oct 2002 16:39:39 -0000
|
||||
@@ -489,7 +489,7 @@
|
||||
strerror(errno));
|
||||
return;
|
||||
}
|
||||
-#if defined(__linux__) && defined(SO_BROADCAST)
|
||||
+#if (defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)) && defined(SO_BROADCAST)
|
||||
{
|
||||
int t = 1;
|
||||
setsockopt(fd, SOL_SOCKET, SO_BROADCAST, (char*) &t, sizeof(int));
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= jdk
|
||||
PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION}
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= java devel
|
||||
MASTER_SITES= # http://www.sun.com/software/java2/download.html
|
||||
# http://www.eyesbeyond.com/freebsddom/java/jdk13.html
|
||||
|
|
14
java/jdk16/files/patch-PlainDatagramSocketImpl.c
Normal file
14
java/jdk16/files/patch-PlainDatagramSocketImpl.c
Normal file
|
@ -0,0 +1,14 @@
|
|||
$FreeBSD$
|
||||
|
||||
diff -u -r1.3 PlainDatagramSocketImpl.c
|
||||
--- ../src/solaris/native/java/net/PlainDatagramSocketImpl.c 19 Aug 2001 05:46:50 -0000 1.3
|
||||
+++ ../src/solaris/native/java/net/PlainDatagramSocketImpl.c 31 Oct 2002 16:39:39 -0000
|
||||
@@ -489,7 +489,7 @@
|
||||
strerror(errno));
|
||||
return;
|
||||
}
|
||||
-#if defined(__linux__) && defined(SO_BROADCAST)
|
||||
+#if (defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)) && defined(SO_BROADCAST)
|
||||
{
|
||||
int t = 1;
|
||||
setsockopt(fd, SOL_SOCKET, SO_BROADCAST, (char*) &t, sizeof(int));
|
Loading…
Reference in a new issue