Bug 248267

Summary: misc/lv: Add support of compressed file by zstd(1)
Product: Ports & Packages Reporter: Yasuhiro Kimura <yasu>
Component: Individual Port(s)Assignee: Koichiro Iwao <meta>
Status: Closed FIXED    
Severity: Affects Only Me CC: meta, sue
Priority: --- Flags: meta: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch file
none
update to lv-4.51.20200728 none

Description Yasuhiro Kimura freebsd_committer 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 freebsd_committer 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!