Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

folly and friends: update to 2024.08.26.00 #25530

Merged
merged 12 commits into from
Sep 1, 2024
10 changes: 5 additions & 5 deletions devel/edencommon/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ legacysupport.newest_darwin_requires_legacy 10

boost.version 1.81

github.setup facebookexperimental edencommon 2024.07.29.00 v
github.setup facebookexperimental edencommon 2024.08.26.00 v
revision 0
checksums rmd160 f90e25cf77121cbc153adf4da90cf441044ffa16 \
sha256 e1084eaa6315a405f274e03b013be0570c44322dcbeba802177d9c033e449512 \
size 305379
checksums rmd160 fe50d40f6949bd0718b2d26036a97f0088b010d7 \
sha256 a18bf94d1df80705d05c004413ec172f8f86284f55095748d49afda8ca491cbe \
size 307426

categories devel
license BSD
Expand All @@ -28,7 +28,7 @@ long_description {*}${description}

distname ${name}-v${version}

set port_libfmt libfmt10
set port_libfmt libfmt11
cmake.module_path-append \
${prefix}/lib/${port_libfmt}/cmake

Expand Down
2 changes: 1 addition & 1 deletion devel/fatal/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
PortSystem 1.0
PortGroup github 1.0

github.setup facebook fatal 2024.07.29.00 v
github.setup facebook fatal 2024.08.26.00 v
revision 0
categories devel
license BSD
Expand Down
10 changes: 5 additions & 5 deletions devel/fb303/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ PortGroup openssl 1.0

boost.version 1.81

github.setup facebook fb303 2024.07.29.00 v
github.setup facebook fb303 2024.08.26.00 v
epoch 1
revision 0
checksums rmd160 e53a0b9246ed96fefbd85808330db38cbe88e0b5 \
sha256 facd624042adb0de1af631751970d2bbbcbb698068421e54551f78282566925a \
size 287676
checksums rmd160 d0b88a37d244b9448bf81173a5021a936297da93 \
sha256 5fdca6ac4bab1c2ee3bea7157a0d9e5b890c55e945b4dfdec86511f3671275a9 \
size 288825

categories devel
license Apache-2
Expand All @@ -27,7 +27,7 @@ long_description {*}${description}

github.tarball_from archive

set port_libfmt libfmt10
set port_libfmt libfmt11
cmake.module_path-append \
${prefix}/lib/${port_libfmt}/cmake

Expand Down
10 changes: 5 additions & 5 deletions devel/fbthrift/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ PortGroup openssl 1.0

boost.version 1.81

github.setup facebook fbthrift 2024.07.29.00 v
github.setup facebook fbthrift 2024.08.26.00 v
revision 0
checksums rmd160 4e6885da66358e2ef4a9c815797dbba2a1b441c1 \
sha256 5501a185e449315a119219aca1c96423b0a29953587c3bfcbb7a72af10fbb06f \
size 14489857
checksums rmd160 8d10a3d118e6982fdede654d602593b18d4c7b52 \
sha256 e763819b98d8e8b40ca49cdc0efdce49ea745cbd8828ca5df98d6bf217dee9d4 \
size 14800469

categories devel
license Apache-2
Expand All @@ -26,7 +26,7 @@ long_description {*}${description}

github.tarball_from archive

set port_libfmt libfmt10
set port_libfmt libfmt11
cmake.module_path-append \
${prefix}/lib/${port_libfmt}/cmake

Expand Down
10 changes: 5 additions & 5 deletions devel/fizz/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ legacysupport.newest_darwin_requires_legacy 10

boost.version 1.81

github.setup facebookincubator fizz 2024.07.29.00 v
github.setup facebookincubator fizz 2024.08.26.00 v
revision 0
checksums rmd160 9dab15e607640229b3c0950a33c9d80281eff1b3 \
sha256 df637a78716f77f4d40df87cfaac277501053cefd25ec838c863ce8ec9fec20f \
size 754918
checksums rmd160 557d44c811bef79f5f2d96be31dd142a89728b18 \
sha256 551523d0630c51f9df38c1e3029403299aad2540bf06b78fda69ccae56db6d5d \
size 761530

categories devel
license BSD
Expand All @@ -30,7 +30,7 @@ github.tarball_from releases
distname ${name}-v${version}
extract.mkdir yes

set port_libfmt libfmt10
set port_libfmt libfmt11
cmake.module_path-append \
${prefix}/lib/${port_libfmt}/cmake

Expand Down
11 changes: 6 additions & 5 deletions devel/folly/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ if {[string match *clang* ${configure.compiler}]} {
# NB: Facebook does not do API stability, apparently, so please don't
# upgrade without also upgrading its dependents, as listed by:
# port list rdepends:folly
github.setup facebook folly 2024.07.29.00 v
github.setup facebook folly 2024.08.26.00 v
revision 0
checksums rmd160 e9908da0b839c103e9f329e27366aabe53105687 \
sha256 b493b0ca95f3173c748c2b9771b55e9f25d7465e9364c326483bc32655394975 \
size 4154380
checksums rmd160 b45b3c69d0d51a5ee16a22d790eddcd9e87711cf \
sha256 b1592836619bab16f863c0f11df81a7c14c9d35da908e5765e5fbdfefbe8e6b2 \
size 4171773

categories devel
license Apache-2
Expand All @@ -48,12 +48,13 @@ github.tarball_from releases
distname ${name}-v${version}
extract.mkdir yes

set port_libfmt libfmt10
set port_libfmt libfmt11
cmake.module_path-append \
${prefix}/lib/${port_libfmt}/cmake

depends_lib-append port:bzip2 \
port:double-conversion \
port:fast-float \
port:gflags \
port:google-glog \
port:libevent \
Expand Down
10 changes: 5 additions & 5 deletions devel/mvfst/Portfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim: fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

Check warning on line 1 in devel/mvfst/Portfile

View workflow job for this annotation

GitHub Actions / macos-14

port test mvfst: Warning: mvfst is configured to build for the architecture(s) 'arm64', but did not install any Mach-O files.

Check warning on line 1 in devel/mvfst/Portfile

View workflow job for this annotation

GitHub Actions / macos-13

port test mvfst: Warning: mvfst is configured to build for the architecture(s) 'x86_64', but did not install any Mach-O files.

Check warning on line 1 in devel/mvfst/Portfile

View workflow job for this annotation

GitHub Actions / macos-12

port test mvfst: Warning: mvfst is configured to build for the architecture(s) 'x86_64', but did not install any Mach-O files.

PortSystem 1.0
PortGroup boost 1.0
Expand All @@ -12,11 +12,11 @@
# clock_gettime
legacysupport.newest_darwin_requires_legacy 16

github.setup facebook mvfst 2024.07.29.00 v
github.setup facebook mvfst 2024.08.26.00 v
revision 0
checksums rmd160 a933c187e579c80833f80a43383eca5df6e0a416 \
sha256 27647f11c1084f256e82e55c8c4f38e263aa74324a6c2b53ebc272a43e0490a2 \
size 1996104
checksums rmd160 fbdac3f9461195fc4f12577538054d56ab66db33 \
sha256 6db7639be0b68cce47d98335cc0c3375a4a48d13bdc77f7f25dd433cef8ad24f \
size 2001529
github.tarball_from archive

categories devel net security
Expand All @@ -26,7 +26,7 @@
description Implementation of the QUIC transport protocol
long_description {*}${description}

set port_libfmt libfmt10
set port_libfmt libfmt11
cmake.module_path-append \
${prefix}/lib/${port_libfmt}/cmake

Expand Down
10 changes: 5 additions & 5 deletions devel/proxygen/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ legacysupport.newest_darwin_requires_legacy 10

boost.version 1.81

github.setup facebook proxygen 2024.07.29.00 v
github.setup facebook proxygen 2024.08.26.00 v
revision 0
categories devel
license BSD
Expand All @@ -25,14 +25,14 @@ long_description This project comprises the core C++ HTTP abstractions used a
Future releases will provide simple client APIs as well. The framework supports \
HTTP/1.1, SPDY/3, SPDY/3.1, HTTP/2 and HTTP/3. The goal is to provide a simple, \
performant and modern C++ HTTP library.
checksums rmd160 d0067a4479fb2be3885b541d55a1a10b868b57bb \
sha256 79eda539773a08cfd3a1b4a4b830b84dbe52f0a1222bc3466b24e2e902194364 \
size 1188561
checksums rmd160 dc854039b66eaa9ab2c83842887fd995cffc3a56 \
sha256 b545e4fca6c653690a205de476355d01cd71aeb3a5c647c049d2dd9916f776db \
size 1194024
github.tarball_from archive

patchfiles patch-tcpinfo.diff

set port_libfmt libfmt10
set port_libfmt libfmt11
cmake.module_path-append \
${prefix}/lib/${port_libfmt}/cmake

Expand Down
10 changes: 5 additions & 5 deletions devel/wangle/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ PortGroup openssl 1.0

boost.version 1.81

github.setup facebook wangle 2024.07.29.00 v
github.setup facebook wangle 2024.08.26.00 v
revision 0
checksums rmd160 f285db87c617ce69c9528e33d814594463101db6 \
sha256 09104c414bfd48e994929b09c480b9e0551d628f86bf9d6e07ffdcf9287f758e \
size 405310
checksums rmd160 8b3942dc805d0d6eb03a814531e993e3e380035d \
sha256 a88960c14fb4dfe435d7ebeda359df4143d068269b278d2dbbf36d1669079a35 \
size 405966

categories devel
license BSD
Expand All @@ -29,7 +29,7 @@ github.tarball_from releases
distname ${name}-v${version}
extract.mkdir yes

set port_libfmt libfmt10
set port_libfmt libfmt11
cmake.module_path-append \
${prefix}/lib/${port_libfmt}/cmake

Expand Down
8 changes: 5 additions & 3 deletions sysutils/watchman/Portfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

Check warning on line 1 in sysutils/watchman/Portfile

View workflow job for this annotation

GitHub Actions / macos-14

port lint watchman: Warning: addr2line-0.21.0.crate - missing recommended checksum type: rmd160 Warning: adler-1.0.2.crate - missing recommended checksum type: rmd160 Warning: ahash-0.8.6.crate - missing recommended checksum type: rmd160 Warning: ansi_term-0.12.1.crate - missing recommended checksum type: rmd160 Warning: anyhow-1.0.72.crate - missing recommended checksum type: rmd160 Warning: atty-0.2.14.crate - missing recommended checksum type: rmd160 Warning: autocfg-1.1.0.crate - missing recommended checksum type: rmd160 Warning: backtrace-0.3.69.crate - missing recommended checksum type: rmd160 Warning: bitflags-1.3.2.crate - missing recommended checksum type: rmd160 Warning: byteorder-1.5.0.crate - missing recommended checksum type: rmd160 Warning: bytes-1.5.0.crate - missing recommended checksum type: rmd160 Warning: cc-1.0.83.crate - missing recommended checksum type: rmd160 Warning: cfg-if-1.0.0.crate - missing recommended checksum type: rmd160 Warning: clap-2.34.0.crate - missing recommended checksum type: rmd160 Warning: core-foundation-sys-0.8.4.crate - missing recommended checksum type: rmd160 Warning: crossbeam-0.8.2.crate - missing recommended checksum type: rmd160 Warning: crossbeam-channel-0.5.8.crate - missing recommended checksum type: rmd160 Warning: crossbeam-deque-0.8.3.crate - missing recommended checksum type: rmd160 Warning: crossbeam-epoch-0.9.15.crate - missing recommended checksum type: rmd160 Warning: crossbeam-queue-0.3.8.crate - missing recommended checksum type: rmd160 Warning: crossbeam-utils-0.8.16.crate - missing recommended checksum type: rmd160 Warning: duct-0.13.6.crate - missing recommended checksum type: rmd160 Warning: either-1.9.0.crate - missing recommended checksum type: rmd160 Warning: futures-0.1.31.crate - missing recommended checksum type: rmd160 Warning: futures-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-channel-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-core-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-executor-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-io-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-macro-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-sink-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-task-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-util-0.3.29.crate - missing recommended checksum type: rmd160 Warning: getrandom-0.2.11.crate - missing recommended checksum type: rmd160 Warning: gimli-0.28.0.crate - missing recommended checksum type: rmd160 Warning: heck-0.3.3.crate - missing recommended checksum type: rmd160 Warning: hermit-abi-0.1.19.crate - missing recommended checksum type: rmd160 Warning: hermit-abi-0.3.3.crate - missing recommended checksum type: rmd160 Warning: itoa-1.0.9.crate - missing recommended checksum type: rmd160 Warning: jwalk-0.6.2.crate - missing recommended checksum type: rmd160 Warning: lazy_static-1.4.0.crate - missing recommended checksum type: rmd160 Warning: libc-0.2.150.crate - missing recommended checksum type: rmd160 Warning: lock_api-0.4.11.crate - missing recommended checksum type: rmd160 Warning: log-0.4.20.crate - missing recommended checksum type: rmd160 Warning: maplit-1.0.2.crate - missing recommended checksum type: rmd160 Warning: memchr-2.6.4.crate - missing recommended checksum type: rmd160 Warning: memoffset-0.6.5.crate - missing recommended checksum type: rmd160 Warning: memoffset-0.9.0.crate - missing recommended checksum type: rmd160 Warning: miniz_oxide-0.7.1.crate - missing recommended checksum type: rmd160 Warning: mio-0.8.9.crate - missing recommended checksum type: rmd160 Warning: nix-0.25.1.crate - missing recommended checksum type: rmd160 Warning: ntapi-0.4.1.crate - missing recommended checksum type: rmd160 Warning: num_cpus-1.16.0.crate - missing recommended checksum type: rmd160 Warning: object-0.32.1.crate - missing recommended checksum type: rmd160 Warning: once_cell-1.18.

Check warning on line 1 in sysutils/watchman/Portfile

View workflow job for this annotation

GitHub Actions / macos-13

port lint watchman: Warning: addr2line-0.21.0.crate - missing recommended checksum type: rmd160 Warning: adler-1.0.2.crate - missing recommended checksum type: rmd160 Warning: ahash-0.8.6.crate - missing recommended checksum type: rmd160 Warning: ansi_term-0.12.1.crate - missing recommended checksum type: rmd160 Warning: anyhow-1.0.72.crate - missing recommended checksum type: rmd160 Warning: atty-0.2.14.crate - missing recommended checksum type: rmd160 Warning: autocfg-1.1.0.crate - missing recommended checksum type: rmd160 Warning: backtrace-0.3.69.crate - missing recommended checksum type: rmd160 Warning: bitflags-1.3.2.crate - missing recommended checksum type: rmd160 Warning: byteorder-1.5.0.crate - missing recommended checksum type: rmd160 Warning: bytes-1.5.0.crate - missing recommended checksum type: rmd160 Warning: cc-1.0.83.crate - missing recommended checksum type: rmd160 Warning: cfg-if-1.0.0.crate - missing recommended checksum type: rmd160 Warning: clap-2.34.0.crate - missing recommended checksum type: rmd160 Warning: core-foundation-sys-0.8.4.crate - missing recommended checksum type: rmd160 Warning: crossbeam-0.8.2.crate - missing recommended checksum type: rmd160 Warning: crossbeam-channel-0.5.8.crate - missing recommended checksum type: rmd160 Warning: crossbeam-deque-0.8.3.crate - missing recommended checksum type: rmd160 Warning: crossbeam-epoch-0.9.15.crate - missing recommended checksum type: rmd160 Warning: crossbeam-queue-0.3.8.crate - missing recommended checksum type: rmd160 Warning: crossbeam-utils-0.8.16.crate - missing recommended checksum type: rmd160 Warning: duct-0.13.6.crate - missing recommended checksum type: rmd160 Warning: either-1.9.0.crate - missing recommended checksum type: rmd160 Warning: futures-0.1.31.crate - missing recommended checksum type: rmd160 Warning: futures-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-channel-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-core-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-executor-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-io-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-macro-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-sink-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-task-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-util-0.3.29.crate - missing recommended checksum type: rmd160 Warning: getrandom-0.2.11.crate - missing recommended checksum type: rmd160 Warning: gimli-0.28.0.crate - missing recommended checksum type: rmd160 Warning: heck-0.3.3.crate - missing recommended checksum type: rmd160 Warning: hermit-abi-0.1.19.crate - missing recommended checksum type: rmd160 Warning: hermit-abi-0.3.3.crate - missing recommended checksum type: rmd160 Warning: itoa-1.0.9.crate - missing recommended checksum type: rmd160 Warning: jwalk-0.6.2.crate - missing recommended checksum type: rmd160 Warning: lazy_static-1.4.0.crate - missing recommended checksum type: rmd160 Warning: libc-0.2.150.crate - missing recommended checksum type: rmd160 Warning: lock_api-0.4.11.crate - missing recommended checksum type: rmd160 Warning: log-0.4.20.crate - missing recommended checksum type: rmd160 Warning: maplit-1.0.2.crate - missing recommended checksum type: rmd160 Warning: memchr-2.6.4.crate - missing recommended checksum type: rmd160 Warning: memoffset-0.6.5.crate - missing recommended checksum type: rmd160 Warning: memoffset-0.9.0.crate - missing recommended checksum type: rmd160 Warning: miniz_oxide-0.7.1.crate - missing recommended checksum type: rmd160 Warning: mio-0.8.9.crate - missing recommended checksum type: rmd160 Warning: nix-0.25.1.crate - missing recommended checksum type: rmd160 Warning: ntapi-0.4.1.crate - missing recommended checksum type: rmd160 Warning: num_cpus-1.16.0.crate - missing recommended checksum type: rmd160 Warning: object-0.32.1.crate - missing recommended checksum type: rmd160 Warning: once_cell-1.18.

Check warning on line 1 in sysutils/watchman/Portfile

View workflow job for this annotation

GitHub Actions / macos-12

port lint watchman: Warning: addr2line-0.21.0.crate - missing recommended checksum type: rmd160 Warning: adler-1.0.2.crate - missing recommended checksum type: rmd160 Warning: ahash-0.8.6.crate - missing recommended checksum type: rmd160 Warning: ansi_term-0.12.1.crate - missing recommended checksum type: rmd160 Warning: anyhow-1.0.72.crate - missing recommended checksum type: rmd160 Warning: atty-0.2.14.crate - missing recommended checksum type: rmd160 Warning: autocfg-1.1.0.crate - missing recommended checksum type: rmd160 Warning: backtrace-0.3.69.crate - missing recommended checksum type: rmd160 Warning: bitflags-1.3.2.crate - missing recommended checksum type: rmd160 Warning: byteorder-1.5.0.crate - missing recommended checksum type: rmd160 Warning: bytes-1.5.0.crate - missing recommended checksum type: rmd160 Warning: cc-1.0.83.crate - missing recommended checksum type: rmd160 Warning: cfg-if-1.0.0.crate - missing recommended checksum type: rmd160 Warning: clap-2.34.0.crate - missing recommended checksum type: rmd160 Warning: core-foundation-sys-0.8.4.crate - missing recommended checksum type: rmd160 Warning: crossbeam-0.8.2.crate - missing recommended checksum type: rmd160 Warning: crossbeam-channel-0.5.8.crate - missing recommended checksum type: rmd160 Warning: crossbeam-deque-0.8.3.crate - missing recommended checksum type: rmd160 Warning: crossbeam-epoch-0.9.15.crate - missing recommended checksum type: rmd160 Warning: crossbeam-queue-0.3.8.crate - missing recommended checksum type: rmd160 Warning: crossbeam-utils-0.8.16.crate - missing recommended checksum type: rmd160 Warning: duct-0.13.6.crate - missing recommended checksum type: rmd160 Warning: either-1.9.0.crate - missing recommended checksum type: rmd160 Warning: futures-0.1.31.crate - missing recommended checksum type: rmd160 Warning: futures-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-channel-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-core-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-executor-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-io-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-macro-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-sink-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-task-0.3.29.crate - missing recommended checksum type: rmd160 Warning: futures-util-0.3.29.crate - missing recommended checksum type: rmd160 Warning: getrandom-0.2.11.crate - missing recommended checksum type: rmd160 Warning: gimli-0.28.0.crate - missing recommended checksum type: rmd160 Warning: heck-0.3.3.crate - missing recommended checksum type: rmd160 Warning: hermit-abi-0.1.19.crate - missing recommended checksum type: rmd160 Warning: hermit-abi-0.3.3.crate - missing recommended checksum type: rmd160 Warning: itoa-1.0.9.crate - missing recommended checksum type: rmd160 Warning: jwalk-0.6.2.crate - missing recommended checksum type: rmd160 Warning: lazy_static-1.4.0.crate - missing recommended checksum type: rmd160 Warning: libc-0.2.150.crate - missing recommended checksum type: rmd160 Warning: lock_api-0.4.11.crate - missing recommended checksum type: rmd160 Warning: log-0.4.20.crate - missing recommended checksum type: rmd160 Warning: maplit-1.0.2.crate - missing recommended checksum type: rmd160 Warning: memchr-2.6.4.crate - missing recommended checksum type: rmd160 Warning: memoffset-0.6.5.crate - missing recommended checksum type: rmd160 Warning: memoffset-0.9.0.crate - missing recommended checksum type: rmd160 Warning: miniz_oxide-0.7.1.crate - missing recommended checksum type: rmd160 Warning: mio-0.8.9.crate - missing recommended checksum type: rmd160 Warning: nix-0.25.1.crate - missing recommended checksum type: rmd160 Warning: ntapi-0.4.1.crate - missing recommended checksum type: rmd160 Warning: num_cpus-1.16.0.crate - missing recommended checksum type: rmd160 Warning: object-0.32.1.crate - missing recommended checksum type: rmd160 Warning: once_cell-1.18.

PortSystem 1.0
PortGroup github 1.0
Expand All @@ -10,7 +10,7 @@
boost.version 1.81

github.setup facebook watchman 2023.11.13.00 v
revision 4
revision 5

categories sysutils
maintainers {danchr @danchr} openmaintainer
Expand All @@ -20,7 +20,7 @@
long_description ${description}
supported_archs arm64 x86_64

set port_libfmt libfmt10
set port_libfmt libfmt11
cmake.module_path-append \
${prefix}/lib/${port_libfmt}/cmake

Expand All @@ -29,6 +29,7 @@

depends_build-append \
port:cpptoml \
port:gtest \
path:bin/pkg-config:pkgconfig \
port:py${py_ver_nodot}-setuptools \
port:python${py_ver_nodot}
Expand All @@ -55,7 +56,8 @@
DESTDIR=${destroot}

patch.pre_args-replace -p0 -p1
patchfiles 0002-cmake-rust-build-target.patch \
patchfiles 0001-backport-58a8b4e39385d5e8ef8dfd12c1f5237177340e10.diff \
0002-cmake-rust-build-target.patch \
0003-no-tests.patch \
0004-cmake-rust-build-offline.patch \
0005-python-install-path.patch \
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
This is in fact needed on macOS, where the build otherwise fails
with the same error.

From 58a8b4e39385d5e8ef8dfd12c1f5237177340e10 Mon Sep 17 00:00:00 2001
From: Jun Wu <[email protected]>
Date: Tue, 18 Jun 2024 15:23:48 -0700
Subject: [PATCH] rust: fix compile on Windows

error: field `unilateral` is never read
--> src\lib.rs:589:17
|
588 | pub struct Unilateral {
| ---------- field in this struct
589 | pub unilateral: bool,
| ^^^^^^^^^^
|
= note: `Unilateral` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

diff --git a/watchman/rust/watchman_client/src/lib.rs b/watchman/rust/watchman_client/src/lib.rs
index 4b4f0b04f98e..1d102fe0b2bd 100644
--- a/watchman/rust/watchman_client/src/lib.rs
+++ b/watchman/rust/watchman_client/src/lib.rs
@@ -586,6 +586,7 @@ impl ClientTask {
use serde::Deserialize;
#[derive(Deserialize, Debug)]
pub struct Unilateral {
+ #[allow(unused)]
pub unilateral: bool,
pub subscription: String,
#[serde(default)]