Bug 246592

Summary: [PATCH] archivers/snappy: Build static library
Product: Ports & Packages Reporter: Mitchell Holland <mitchell.holland>
Component: Individual Port(s)Assignee: Vanilla I. Shu <vanilla>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (vanilla)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Snappy static lib patch none

Description Mitchell Holland 2020-05-20 04:45:57 UTC
Created attachment 214676 [details]
Snappy static lib patch

Hello, 

This patch builds the static libsnappy.a.

Snappy used to build a static library when compiling, but this was removed 
upstream.
We depend on the static library, and think it's a useful addition.

Tested on HEAD and 2020Q2.

Cheers,
Mitchell
Comment 1 Vanilla I. Shu freebsd_committer freebsd_triage 2021-05-06 15:05:23 UTC
Committed, thanks.
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-05-06 15:06:35 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=35c6c8453503fbf34fd34da30b81a3993d1c8f7d

commit 35c6c8453503fbf34fd34da30b81a3993d1c8f7d
Author:     Vanilla I. Shu <vanilla@FreeBSD.org>
AuthorDate: 2021-05-06 15:02:34 +0000
Commit:     Vanilla I. Shu <vanilla@FreeBSD.org>
CommitDate: 2021-05-06 15:05:57 +0000

    archivers/snappy: update to 1.1.9, also build static library.

    PR:             246592
    Reported by:    Mitchell Holland <mitchell.holland@akips.com>

 archivers/snappy/Makefile                         |  4 +-
 archivers/snappy/distinfo                         |  6 +--
 archivers/snappy/files/patch-CMakeLists.txt (new) | 61 +++++++++++++++++++++++
 archivers/snappy/pkg-plist                        |  1 +
 4 files changed, 67 insertions(+), 5 deletions(-)