git: 71d6a1e35e49 - main - science/opsin: Fix build on aarch64

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 04 Sep 2022 22:30:50 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=71d6a1e35e49fb65c100fdd313937e08cb2b9cd4

commit 71d6a1e35e49fb65c100fdd313937e08cb2b9cd4
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-09-04 22:29:45 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-09-04 22:30:47 +0000

    science/opsin: Fix build on aarch64
    
    Java 8 was crashing on aarch64.
    
    Reported by:    fallout
---
 science/opsin/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/science/opsin/Makefile b/science/opsin/Makefile
index 7b68d748dec9..203120ddbf9d 100644
--- a/science/opsin/Makefile
+++ b/science/opsin/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	opsin
 DISTVERSION=	3.0.20190223
+PORTREVISION=	1
 CATEGORIES=	science java
 MASTER_SITES=	https://bitbucket.org/${BB_ACCOUNT}/${PORTNAME}/get/${BB_COMMIT}${EXTRACT_SUFX}?dummy=/:src
 DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}:src
@@ -13,6 +14,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 BUILD_DEPENDS=	mvn:devel/maven
 
 USE_JAVA=	yes
+JAVA_VERSION=	17 # Java 8 fails on aarch64: Internal Error (assembler_aarch64.hpp:237), pid=29730, tid=0x000000000002d236 guarantee(val < (1U << nbits)) failed: Field too big for insn
 
 NO_ARCH=	yes