freebsd-ports/java
Dimitry Andric 430ead7025 java/openjdk18: fix build with clang 15
During an exp-run for llvm 15 (see bug 265425), it turned out that
java/openjdk18 failed to build with clang 15:

  /wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:374:41: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
      proxies = (*g_proxy_resolver_lookup)(resolver, uri, NULL, &error);
                                          ^
  /wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:393:63: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
                                  (*g_network_address_parse_uri)(proxies[i], 0,
                                                                ^
  /wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:398:70: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
                              phost = (*g_network_address_get_hostname)(conn);
                                                                       ^
  /wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:399:66: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
                              pport = (*g_network_address_get_port)(conn);
                                                                   ^
  /wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:435:22: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
          (*g_strfreev)(proxies);
                       ^

This is because clang 15 warns by default about functions without
arguments in their prototypes. Fix this by suppressing the warning.

PR:		268373
Approved by:	portmgr (tcberner)
MFH:		2022Q4
2022-12-18 18:37:49 +01:00
..
apache-bcel Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
apache-commons-beanutils Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
apache-commons-cli Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
apache-commons-codec Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
apache-commons-collections Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
apache-commons-collections4 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
apache-commons-dbcp Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
apache-commons-httpclient Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
apache-commons-lang Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
apache-commons-lang3 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
apache-commons-logging Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
apache-commons-pool Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
aparapi Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
avis Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
berkeley-db Remove WWW lines that have been moved into Makefiles 2022-09-08 17:46:38 +02:00
bluej Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
bootstrap-openjdk8 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
bootstrap-openjdk11 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
bootstrap-openjdk17 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
bouncycastle Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
bouncycastle15 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
cos Remove WWW lines that have been moved into Makefiles 2022-09-08 17:46:38 +02:00
dbvis Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
eclipse Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
eclipse-cdt Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
eclipse-drjava Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
eclipse-ecj Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
eclipse-EPIC Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
eclipse-findbugs Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
eclipse-pydev java/eclipse-pydev: update to 10.0.2 2022-12-12 10:47:25 +03:00
eclipse-shelled Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
hamcrest Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
icedtea-web lang/rust: Bump revisions after 1.65.0 2022-11-17 08:06:14 +01:00
infobus Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
intellij Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
intellij-fsnotifier Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
intellij-pty4j Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
intellij-ultimate java/intellij-ultimate: update to 2022.2.3 release. 2022-10-10 10:50:02 +02:00
jad java: remove 'Created by' lines 2022-07-20 16:22:12 +02:00
jai Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jakarta-oro Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jasmin Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jattach java/jattach: update to 2.1 2022-12-12 09:42:33 +03:00
java-cup Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
java-getopt Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
java-subversion Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
java-zoneinfo java: remove 'Created by' lines 2022-07-20 16:22:12 +02:00
java3d Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
javahelp Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
javamail Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
javavmwrapper java: remove 'Created by' lines 2022-07-20 16:22:12 +02:00
jaxen Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jcalendar Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jcckit Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jcommon Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jd-gui Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jdk8-doc Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jdk11-doc Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jdom Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jflex Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jfreechart Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jgraph Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jgraphx Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jikes Remove WWW lines that have been moved into Makefiles 2022-09-08 17:46:38 +02:00
jlex Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jlint Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jmf Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jode Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jrosetta Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jta Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jtiger Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jump Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
junit Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
jxgrabkey Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
lightweight-java-profiler Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
linux-oracle-jdk18 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
linux-oracle-jre18 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
linux-oracle-serverjre10 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
mmake Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
mx4j Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
netbeans Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
netcomponents Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
netrexx Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
netty Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
openjdk8 java/openjdk8: fix build with clang 15 2022-12-18 18:23:58 +01:00
openjdk8-jre
openjdk11 java/openjdk11: Use the distributed cacerts 2022-11-03 23:13:16 -07:00
openjdk11-jre
openjdk17 java/openjdk17: fix build with clang 15 2022-12-18 18:36:27 +01:00
openjdk17-jre java/openjdk17-jre: Add JRE-only package for java/openjdk17 2022-01-12 21:43:58 -05:00
openjdk18 java/openjdk18: fix build with clang 15 2022-12-18 18:37:49 +01:00
openjdk19 java/openjdk19: Add a port of OpenJDK 19 2022-10-30 11:42:20 -07:00
openjfx14 devel/icu: update to 72.1 2022-10-19 08:10:29 +00:00
phpeclipse Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
proguard Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
sablevm Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
sablevm-classpath Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
servingxml Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
sigar Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
springframework Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
springframework31 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
sqlitejdbc Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
trove4j Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
veditor Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
visualvm Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
wildfly10 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
wildfly11 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
wildfly12 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
wildfly13 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
wildfly14 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
wildfly15 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
wildfly16 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
wildfly17 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
wildfly18 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
wildfly24 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
wildfly25 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
wildfly26 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
wildfly90 Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
Makefile java/openjdk19: Add a port of OpenJDK 19 2022-10-30 11:42:20 -07:00