Bug 272676

Summary: archivers/dzip: Update to 3.1
Product: Ports & Packages Reporter: Daniel Engberg <diizzy>
Component: Individual Port(s)Assignee: Alexey Dokuchaev <danfe>
Status: In Progress ---    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (danfe)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/kugelrund/dzip/releases/tag/v3.1
Attachments:
Description Flags
Patch for dzip none

Description Daniel Engberg freebsd_committer freebsd_triage 2023-07-23 10:56:58 UTC
Created attachment 243564 [details]
Patch for dzip

Backport upstream commit 92839ee4563a8a374ea45768a32cadd89432efc7
Convert REINPLACE_CMD commands to patch files
Import patches from Gentoo's repo

Compile tested on FreeBSD 14-CURRENT (amd64)

References:
https://github.com/kugelrund/dzip/commit/92839ee4563a8a374ea45768a32cadd89432efc7
https://gitweb.gentoo.org/repo/gentoo.git/tree/games-util/dzip/files/dzip-amd64.diff
https://gitweb.gentoo.org/repo/gentoo.git/tree/games-util/dzip/files/dzip-clang16-build-fix.patch
Comment 1 Alexey Dokuchaev freebsd_committer freebsd_triage 2023-07-26 06:09:12 UTC
> Convert REINPLACE_CMD commands to patch files
Not needed, only one of them stays after update and it does not warrant a patch.

> Import patches from Gentoo's repo
Good idea, thanks for the hint!

> Compile tested on FreeBSD 14-CURRENT (amd64)
Not good enough.  In my last testing there were problems with unpacking .dz files on big-endian machine (Mac mini G4) but maybe Gentoo's patches could make a difference.
Comment 2 Daniel Engberg freebsd_committer freebsd_triage 2023-07-26 22:08:59 UTC
This was simply an attempt to help out bofh fixing ports for 14-CURRENT (clang) and it would be great if you could try it on BE machine as I don't have any.

Best regards,
Daniel
Comment 3 Daniel Engberg freebsd_committer freebsd_triage 2023-12-25 20:34:31 UTC
Any progress on this one?
Comment 4 Alexey Dokuchaev freebsd_committer freebsd_triage 2024-01-05 04:29:32 UTC
(In reply to Daniel Engberg from comment #3)
> Any progress on this one?
Yeah, sorry, I think I've fixed one or two endian-related bugs with more remaining before I inadvertently broke my PowerPC jail.  I'll try to wrap it up soonish(tm).