mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Fix a severe regression introduced with the "disable IPV6_V6ONLY option".
On amd64 every call to getsocktopt returns a "Bad address" SocketException.
This commit is contained in:
parent
e4a729935e
commit
a8e0201b99
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=271074
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= openjdk6
|
PORTNAME= openjdk6
|
||||||
PORTVERSION= b22
|
PORTVERSION= b22
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= java devel
|
CATEGORIES= java devel
|
||||||
MASTER_SITES= http://download.java.net/openjdk/jdk6/promoted/${PORTVERSION}/ \
|
MASTER_SITES= http://download.java.net/openjdk/jdk6/promoted/${PORTVERSION}/ \
|
||||||
http://download.java.net/jaxp/openjdk/jdk6/:jaxp \
|
http://download.java.net/jaxp/openjdk/jdk6/:jaxp \
|
||||||
|
|
|
@ -16643,7 +16643,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
- rv = getsockopt(fd, level, opt, result, len);
|
- rv = getsockopt(fd, level, opt, result, len);
|
||||||
+ rv = getsockopt(fd, level, opt, result, (socklen_t)len);
|
+ rv = getsockopt(fd, level, opt, result, (socklen_t *) len);
|
||||||
if (rv < 0) {
|
if (rv < 0) {
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue