Bug 280316

Summary: archivers/snappy-java: support build with OpenJDK 21
Product: Ports & Packages Reporter: Vladimir Druzenko <vvd>
Component: Individual Port(s)Assignee: Vladimir Druzenko <vvd>
Status: Closed FIXED    
Severity: Affects Some People CC: language.devel
Priority: --- Flags: language.devel: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/xerial/snappy-java/issues/532
Attachments:
Description Flags
v1 vvd: maintainer-approval?

Description Vladimir Druzenko freebsd_committer freebsd_triage 2024-07-16 17:47:10 UTC
Created attachment 252109 [details]
v1

Got patch from upstream issue: https://github.com/xerial/snappy-java/issues/532.
Tested build in poudriere and on live system 14.1 amd64.

Patch generated with "make makepatch".
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2024-07-26 16:29:16 UTC
ping

4 days till "maintainer timeout 14 days".
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-07-26 18:02:57 UTC
A commit in branch main references this bug:

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

commit e4f0d707502db352c72aa6f4e5356b8c17b30531
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-07-26 17:54:22 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-07-26 17:54:22 +0000

    archivers/snappy-java: support build with OpenJDK 21

    In Java 21 compiler removed support for source and target 1.7 (7).

    PR:             280316
    Approved by:    Angelo Polo <language.devel@gmail.com>
    Obtained from:  https://github.com/xerial/snappy-java/issues/532

 archivers/snappy-java/files/patch-Makefile | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)