mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
net-im/tg_owt: fix build when devel/abseil installed
Resurrect the patch that helps resolve a build issue when
devel/abseil installed in the system.
While I'm here regen another patch.
Fixes: 3637dcfb11
This commit is contained in:
parent
2d493d4ae3
commit
19aebafb74
12
net-im/tg_owt/files/patch-cmake_external.cmake
Normal file
12
net-im/tg_owt/files/patch-cmake_external.cmake
Normal file
@ -0,0 +1,12 @@
|
||||
--- cmake/external.cmake.orig 2023-01-11 16:35:01 UTC
|
||||
+++ cmake/external.cmake
|
||||
@@ -120,6 +120,9 @@ function(link_libabsl target_name)
|
||||
absl::type_traits
|
||||
absl::variant
|
||||
)
|
||||
+ find_package(PkgConfig REQUIRED)
|
||||
+ pkg_check_modules(ABSL REQUIRED QUIET absl_flags)
|
||||
+ target_include_directories(${target_name} PRIVATE ${ABSL_INCLUDE_DIRS})
|
||||
endif()
|
||||
endif()
|
||||
if (NOT absl_FOUND)
|
@ -1,4 +1,4 @@
|
||||
--- src/common_audio/wav_header.cc.orig 2022-02-09 19:21:53 UTC
|
||||
--- src/common_audio/wav_header.cc.orig 2023-01-05 05:48:49 UTC
|
||||
+++ src/common_audio/wav_header.cc
|
||||
@@ -26,10 +26,6 @@
|
||||
namespace webrtc {
|
||||
@ -11,7 +11,7 @@
|
||||
#pragma pack(2)
|
||||
struct ChunkHeader {
|
||||
uint32_t ID;
|
||||
@@ -119,9 +115,22 @@ uint32_t PackFourCC(char a, char b, char c, char d) {
|
||||
@@ -113,9 +109,22 @@ uint32_t PackFourCC(char a, char b, char c, char d) {
|
||||
return packed_value;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user