File tree Expand file tree Collapse file tree 2 files changed +37
-3
lines changed
Expand file tree Collapse file tree 2 files changed +37
-3
lines changed Original file line number Diff line number Diff line change 1+ From c6ffc8aefb8520a51234c380cc415dd21469cf6b Mon Sep 17 00:00:00 2001
2+ 3+ Date: Mon, 12 May 2025 09:05:30 +0000
4+ Subject: [PATCH] Remove ABSL_ATTRIBUTE_LIFETIME_BOUND from void functions
5+
6+ LLVM 20 errors on void functions whose parameters are applied
7+ [[lifetimebound]].
8+
9+ Link: https://github.com/llvm/llvm-project/pull/113460
10+ ---
11+ src/api/candidate.h | 2 +-
12+ 1 file changed, 1 insertion(+), 1 deletion(-)
13+
14+ diff --git a/src/api/candidate.h b/src/api/candidate.h
15+ index 0aa75aa..715761a 100644
16+ --- a/src/api/candidate.h
17+ +++ b/src/api/candidate.h
18+ @@ -105,7 +105,7 @@ class RTC_EXPORT Candidate {
19+ // cricket::LOCAL_PORT_TYPE). The type should really be an enum rather than a
20+ // string, but until we make that change the lifetime attribute helps us lock
21+ // things down. See also the `Port` class.
22+ - void set_type(absl::string_view type ABSL_ATTRIBUTE_LIFETIME_BOUND) {
23+ + void set_type(absl::string_view type) {
24+ Assign(type_, type);
25+ }
26+
27+ - -
28+ 2.49.0
29+
Original file line number Diff line number Diff line change @@ -5,22 +5,27 @@ _commit=f2f3c5f65a1163cb6c05c636a0fca54cf9355d19
55_libyuv_commit=ec6f15079ff373b7651698a68bba7244b3556981
66_crc32c_commit=02e65f4fd3065d27b2e29324800ca6d04df16126
77pkgver=r20250424.${_commit: 0: 7}
8- pkgrel=1
8+ pkgrel=2
99pkgdesc=" Telegram's fork of WebRTC"
1010url=' https://github.com/desktop-app/tg_owt'
1111arch=(x86_64 aarch64)
1212license=(BSD-3-Clause)
1313depends=(abseil-cpp ffmpeg libjpeg openssl openh264 libopus libpipewire libvpx
1414 libsrtp)
1515makedepends=(cmake git yasm linux-headers python)
16+ # use-libopengl.patch: Should be upstreamed, search for libOpenGL instead of
17+ # libGL to build without GLX.
18+ # 0001: Downstream, fix LLVM 20 build
1619source=(" $url /archive/$_commit .tar.gz"
1720 " git+https://gitlab.com/chromiumsrc/libyuv.git#commit=$_libyuv_commit "
1821 " https://github.com/google/crc32c/archive/$_crc32c_commit .tar.gz"
19- " use-libopengl.patch" )
22+ " use-libopengl.patch"
23+ " 0001-Remove-ABSL_ATTRIBUTE_LIFETIME_BOUND-from-void-funct.patch" )
2024sha256sums=(' 66ac4e82e76a79329ae29e4efde3787c1ba28c794311f6109ea09f7b93b8eaf7'
2125 ' 8e42db1f3e308c3baefc7c2c1368f29af12650f75305b4a2e2c0ea6fa00d21bc'
2226 ' 50ac512ad20ebca0be21bcf7c3c6d15aa3fcc27550b09825fab061bffe512bdf'
23- ' f49cfdb50f5ca0cd7692a43287fd8396e59eeb438a509cce8afd3438736d136b' )
27+ ' f49cfdb50f5ca0cd7692a43287fd8396e59eeb438a509cce8afd3438736d136b'
28+ ' e55689c8225319bf66dd630f005544e982351b08877a5bff150c9b646dc995af' )
2429
2530prepare () {
2631 _patch_ tg_owt-$_commit
You can’t perform that action at this time.
0 commit comments