Bug 272676 - archivers/dzip: Update to 3.1
Summary: archivers/dzip: Update to 3.1
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alexey Dokuchaev
URL: https://github.com/kugelrund/dzip/rel...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-23 10:56 UTC by Daniel Engberg
Modified: 2024-01-05 04:29 UTC (History)
0 users

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


Attachments
Patch for dzip (4.54 KB, patch)
2023-07-23 10:56 UTC, Daniel Engberg
no flags Details | Diff

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