Bug 276274

Summary: archivers/bzip3: bzip3 built with cmake reports version "1.3.0" despite bzip3-1.4.0
Product: Ports & Packages Reporter: dearblue
Component: Individual Port(s)Assignee: Emanuel Haupt <ehaupt>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (ehaupt)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Correct the version number to "1.4.0" none

Description dearblue 2024-01-12 12:33:46 UTC
Created attachment 247605 [details]
Correct the version number to "1.4.0"

For bzip3-1.4.0 in ports, `bzip3_version()` in `bin/bzip3 --version` or `libbzip3.so` returns "1.3.0".
See https://github.com/kspalaiologos/bzip3/issues/126 for more information.

Upstream will probably fix this in the not-too-distant future.

I am attaching a monkey patch that fixes only the version number.
Comment 1 Emanuel Haupt freebsd_committer freebsd_triage 2024-01-12 14:35:13 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-01-12 14:35:39 UTC
A commit in branch main references this bug:

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

commit d1ca583c9f86652049d9e347edbd5381184b0365
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-12 14:33:02 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-12 14:33:02 +0000

    archivers/bzip3: Monkey patch to display correct verison

    Upstream issue:
    https://github.com/kspalaiologos/bzip3/issues/126

    PR:             276274 (based on)
    Reported by:    dearblue@users.osdn.me

 archivers/bzip3/Makefile | 5 +++++
 1 file changed, 5 insertions(+)