1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/java
Dimitry Andric aa9dd58652 java/openjfx14: fix build with clang 19
Clang 19 now implements CWG 96 [1], which requires a template argument
list after a 'template' keyword, resulting in errors similar to:

  /wrkdirs/usr/ports/java/openjfx14/work/jfx-14.0.2.1-1/modules/javafx.web/src/main/native/Source/JavaScriptCore/assembler/AbstractMacroAssembler.h:923:65: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
    923 |         AssemblerType::repatchCompact(dataLabelCompact.template dataLocation(), value);
        |                                                                 ^
  /wrkdirs/usr/ports/java/openjfx14/work/jfx-14.0.2.1-1/modules/javafx.web/src/main/native/Source/JavaScriptCore/runtime/JSCast.h:146:33: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
    146 |     return Dispatcher::template inherits(vm, from);
        |                                 ^
  /wrkdirs/usr/ports/java/openjfx14/work/jfx-14.0.2.1-1/modules/javafx.web/src/main/native/Source/JavaScriptCore/runtime/JSCast.h:155:37: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
    155 |     if (LIKELY(Dispatcher::template inherits(vm, from)))
        |                                     ^
  /wrkdirs/usr/ports/java/openjfx14/work/jfx-14.0.2.1-1/modules/javafx.web/src/main/native/Source/JavaScriptCore/llint/LLIntData.h:159:75: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
    159 |     return reinterpret_cast<LLIntCode>(getCodePtr<tag>(opcodeID).template executableAddress());
        |                                                                           ^

In all these cases, appending "<>" is enough to satisfy the constraint.

[1] https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#96

PR:		282473
MFH:		2024Q4
2024-11-01 18:50:12 +01:00
..
apache-bcel
apache-commons-beanutils
apache-commons-cli
apache-commons-codec
apache-commons-collections
apache-commons-collections4
apache-commons-dbcp
apache-commons-httpclient
apache-commons-lang
apache-commons-lang3
apache-commons-logging
apache-commons-pool
aparapi
avis
berkeley-db
bluej
bootstrap-openjdk8
bootstrap-openjdk11
bootstrap-openjdk17
bouncycastle
bouncycastle15
cos
dbvis
eclipse java/eclipse: Fix build: ld: error: unable to find library -lGLU 2024-10-31 01:38:59 +03:00
eclipse-cdt
eclipse-drjava
eclipse-ecj
eclipse-EPIC
eclipse-findbugs
eclipse-pydev
eclipse-shelled
eclipse-yaml-editor
hamcrest
icedtea-web
infobus
intellij
intellij-fsnotifier
intellij-pty4j
intellij-ultimate java/intellij-ultimate: update to 2024.2.3 release 2024-10-22 17:36:31 +02:00
jad
jai
jakarta-oro
jasmin
jattach
java3d
java-cup
java-getopt
java-subversion
java-zoneinfo
javahelp
javamail
javavmwrapper
jaxen
jcalendar
jcckit
jcommon java/jcommon: enable armv6 and armv7 2024-10-24 13:42:28 +02:00
jd-gui
jdk8-doc
jdk11-doc
jdom
jflex
jfreechart
jgraph
jgraphx
jikes
jlex
jlint
jmf
jode
jrosetta
jta
jtiger
jump
junit
jxgrabkey
lightweight-java-profiler
linux-oracle-jdk18
linux-oracle-jre18
linux-oracle-serverjre10
mmake
mx4j
netbeans
netrexx
netty
openjdk8 java/openjdk8: fix build on 32 bit arm 2024-10-11 13:55:05 +02:00
openjdk8-jre
openjdk11
openjdk11-jre
openjdk17
openjdk17-jre
openjdk18
openjdk19
openjdk20
openjdk21
openjdk22
openjfx14 java/openjfx14: fix build with clang 19 2024-11-01 18:50:12 +01:00
phpeclipse
proguard
servingxml
sigar java/sigar: enable on armv6 and armv7 2024-10-28 15:42:22 +01:00
springframework
springframework31
sqlitejdbc
trove4j
veditor
visualvm
wildfly java/wildfly: Update version 33.0.1=>33.0.2 2024-10-19 13:13:47 +02:00
Makefile