Bug 248267 - misc/lv: Add support of compressed file by zstd(1)
Summary: misc/lv: Add support of compressed file by zstd(1)
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: Koichiro Iwao
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-25 16:48 UTC by Yasuhiro KIMURA
Modified: 2020-07-28 13:14 UTC (History)
2 users (show)

See Also:
meta: maintainer-feedback+


Attachments
Patch file (1.41 KB, patch)
2020-07-25 16:48 UTC, Yasuhiro KIMURA
no flags Details | Diff
update to lv-4.51.20200728 (1.27 KB, patch)
2020-07-28 04:15 UTC, IWAMOTO Kouichi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro KIMURA 2020-07-25 16:48:35 UTC
Created attachment 216768 [details]
Patch file

Add support of compressed file by zstd(1).
Comment 1 IWAMOTO Kouichi 2020-07-28 04:15:20 UTC
Created attachment 216824 [details]
update to lv-4.51.20200728

I think this patch should be applied upstream. and I did it.

https://github.com/ttdoda/lv/commit/f7ba677400c799b90ffc8e900c1a0ec78ed18c22

files/patch-src_stream.c has also been applied.

I attach the new patch for updating to lv-4.51.20200728.
Can someone apply this patch and delete files/patch-src_stream.c?
Comment 2 Yasuhiro KIMURA 2020-07-28 07:32:29 UTC
(In reply to IWAMOTO Kouichi from comment #1)

I tried your patch and it works fine with compressed file by zstd.
Comment 3 Koichiro Iwao freebsd_committer 2020-07-28 12:38:47 UTC
(In reply to IWAMOTO Kouichi from comment #1)
Comment 4 commit-hook freebsd_committer 2020-07-28 13:11:37 UTC
A commit references this bug:

Author: meta
Date: Tue Jul 28 13:10:41 UTC 2020
New revision: 543598
URL: https://svnweb.freebsd.org/changeset/ports/543598

Log:
  misc/lv: Update to 4.51.20200728

  - Add support of compressed file by zstd(1)

  The maintainer has applied the patch from the submitter to upstream. And then
  update this port to the upstream snapshot.

  PR:		248267
  Submitted by:	Yasuhiro KIMURA <yasu@utahime.org> (initial revision)
  Reviewed by:	meta (myself)
  Approved by:	IWAMOTO Kouichi <sue@iwmt.org> (maintainer, upstream developer)

Changes:
  head/misc/lv/Makefile
  head/misc/lv/distinfo
  head/misc/lv/files/patch-src_stream.c
Comment 5 Koichiro Iwao freebsd_committer 2020-07-28 13:14:08 UTC
Committed, thank you both!