[Bug 286253] archivers/snappy: Update to 1.2.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 21 Apr 2025 03:33:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286253

            Bug ID: 286253
           Summary: archivers/snappy: Update to 1.2.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://github.com/google/snappy/releases/tag/1.2.2
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: vanilla@FreeBSD.org
          Reporter: diizzy@FreeBSD.org
             Flags: maintainer-feedback?(vanilla@FreeBSD.org)
          Assignee: vanilla@FreeBSD.org

Created attachment 259759
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=259759&action=edit
Patch for snappy

* Import patches from Arch Linux to fix rtti and enable "make test" with
Googletest from tree
* Add localbase:ldflags for "make test"
* Bump C++ standard to 14

Sources:
https://gitlab.archlinux.org/archlinux/packaging/packages/snappy/-/blob/a5d1b76094f6eaf763c0e883b78623a3fb07e10e/snappy-reenable_rtti.patch
https://gitlab.archlinux.org/archlinux/packaging/packages/snappy/-/blob/a5d1b76094f6eaf763c0e883b78623a3fb07e10e/snappy-use_system_gtest.patch

Compile and runtime tested on FreeBSD 14.2-RELEASE (amd64) (make, make
check-plist, make test)

Poudriere testport OK 13.4-RELEASE (amd64)
Poudriere testport OK 13.4-RELEASE (i386)
Poudriere testport OK 14.2-RELEASE (amd64)

Tested with following consumers using Podriere on 13.4-RELEASE (amd64):
archivers/c-blosc
archivers/php-snappy
archivers/py-python-snappy
archivers/rubygem-snappy
archivers/snzip
cad/camotics
databases/keydb
databases/leveldb
databases/mongodb50
databases/mongodb60
databases/mongodb70
databases/mongodb80
databases/redisdesktopmanager
databases/rocksdb
devel/apache-orc
devel/apitrace
devel/avro-c
devel/avro-cpp
devel/cbang
devel/fbthrift
devel/folly - Fails, marked as BROKEN on 13.X (unrelated)
devel/mtbl
emulators/libretro-ppsspp
emulators/ppsspp
emulators/ppsspp-qt5
graphics/py-imagecodecs
misc/caffe
multimedia/ossia-score
net/fb303
net/mvfst
net/wangle
net/wireshark
net-im/signal-desktop
net-p2p/pulsar-client-cpp
science/py-tensorflow - Fails, marked as BROKEN
security/fizz
www/proxygen
www/qt5-webengine
www/qt6-webengine

-- 
You are receiving this mail because:
You are the assignee for the bug.