Bug 276274 - archivers/bzip3: bzip3 built with cmake reports version "1.3.0" despite bzip3-1.4.0
Summary: archivers/bzip3: bzip3 built with cmake reports version "1.3.0" despite bzip3...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Emanuel Haupt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-12 12:33 UTC by dearblue
Modified: 2024-01-12 14:35 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (ehaupt)


Attachments
Correct the version number to "1.4.0" (612 bytes, patch)
2024-01-12 12:33 UTC, dearblue
no flags Details | Diff

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