1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/java
Dimitry Andric 6601c2af09 java/openjdk16: fix build with clang 12
During an exp-run for llvm 12 (see bug 255570), it turned out that at
least openjdk11 and openjdk12 do not build with clang 12.0.0. The
exp-run therefore skipped openjdk16.

Building this manually shows that it results in a compile error:

gmake[4]: Leaving directory '/wrkdirs/usr/ports/java/openjdk16/work/jdk16u-jdk-16.0.1-9-1/make'
/wrkdirs/usr/ports/java/openjdk16/work/jdk16u-jdk-16.0.1-9-1/src/hotspot/cpu/x86/vm_version_ext_x86.cpp:748:3: error: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Werror,-Wstring-concatenation]
  "",
  ^
/wrkdirs/usr/ports/java/openjdk16/work/jdk16u-jdk-16.0.1-9-1/src/hotspot/cpu/x86/vm_version_ext_x86.cpp:747:3: note: place parentheses around the string literal to silence warning
  "Opteron QC/Phenom"  // Barcelona et.al.
  ^
1 error generated.

This is due to a missing backport of this upstream commit:

commit f8a9602a0a65cdc98eb940aac9529256ded2bf42
Author: Yasumasa Suenaga <ysuenaga@openjdk.org>
Date:   Thu Jan 21 06:08:13 2021 +0000

    8260025: Missing comma in VM_Version_Ext::_family_id_amd

    Reviewed-by: dholmes, stuefe

Approved by:	maintainer timeout (2 weeks)
PR:		255905
MFH:		2021Q2
2021-05-29 16:08:19 +02:00
..
apache-bcel
apache-commons-beanutils
apache-commons-cli
apache-commons-codec
apache-commons-collections
apache-commons-dbcp
apache-commons-discovery
apache-commons-httpclient
apache-commons-lang
apache-commons-lang3
apache-commons-logging
apache-commons-pool
apache-commons-primitives
aparapi
avis
berkeley-db
bluej */*: Fix ENOTIME: return my ports to the pool 2021-05-22 10:13:01 +08:00
bootstrap-openjdk6
bootstrap-openjdk8
bootstrap-openjdk11 java/openjdk11: Add armv6 / armv7 support 2021-05-18 17:57:36 +02:00
bouncycastle
bouncycastle15
cos
cryptix-jce
dbvis
eclipse
eclipse-cdt
eclipse-drjava
eclipse-ecj
eclipse-EPIC
eclipse-findbugs
eclipse-pydev
eclipse-shelled
hamcrest java/hamcrest: Drop maintainership 2021-05-19 20:56:15 +01:00
icedtea-web Rebuild lang/rust consumers after d8837418ea 2021-05-11 20:33:12 +02:00
infobus
intellij
intellij-fsnotifier
intellij-pty4j
intellij-rubymine
intellij-ultimate
jad
jai
jakarta-oro
jasmin
jattach
java3d
java-cup
java-getopt
java-subversion
java-zoneinfo
javahelp
javamail
javavmwrapper
jaxen
jcalendar
jcckit
jcommon
jd-gui
jdk8-doc
jdk11-doc
jdk12-doc
jdom
jflex
jfreechart
jgraph
jgraphx
jikes
jlex
jlint
jmf
jode
jrosetta
jta
jtiger
jump
junit java/junit: Drop maintainership 2021-05-19 20:56:15 +01:00
jxgrabkey
lightweight-java-profiler
linux-oracle-jdk18
linux-oracle-jre18
linux-oracle-serverjre10
mmake
mx4j
netbeans
netcomponents
netrexx
netty
openjdk7 java/openjdk7: mark BROKEN on FreeBSD ≥ 13 2021-05-19 13:40:01 +03:00
openjdk7-jre
openjdk8 java/openjdk8: Fix build on armv6/7 2021-05-14 10:30:52 +02:00
openjdk8-jre
openjdk11 java/openjdk11(-jre): fix build with clang 12 2021-05-29 16:08:18 +02:00
openjdk11-jre
openjdk12 java/openjdk12: fix build with clang 12 2021-05-29 16:08:18 +02:00
openjdk13 java/openjdk13: fix build with clang 12 2021-05-29 16:08:18 +02:00
openjdk14 java/openjdk14: fix build with clang 12 2021-05-29 16:08:19 +02:00
openjdk15 java/openjdk15: fix build with clang 12 2021-05-29 16:08:19 +02:00
openjdk16 java/openjdk16: fix build with clang 12 2021-05-29 16:08:19 +02:00
openjfx14
phpeclipse
proguard
sablevm
sablevm-classpath
servingxml
sigar
springframework
springframework31
sqlitejdbc
trove4j java/trove4j: Drop maintainership 2021-05-19 20:56:14 +01:00
veditor
visualvm
wildfly10
wildfly11
wildfly12
wildfly13 java/wildfly13: fix plist (@sample) 2021-05-12 14:55:38 +03:00
wildfly14
wildfly15
wildfly16
wildfly17
wildfly18
wildfly90
Makefile