Bug 280316 - archivers/snappy-java: support build with OpenJDK 21
Summary: archivers/snappy-java: support build with OpenJDK 21
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL: https://github.com/xerial/snappy-java...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-16 17:47 UTC by Vladimir Druzenko
Modified: 2024-07-26 18:10 UTC (History)
1 user (show)

See Also:
language.devel: maintainer-feedback+


Attachments
v1 (2.15 KB, patch)
2024-07-16 17:47 UTC, Vladimir Druzenko
vvd: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)