Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:MaxxedSUSE:Python-leap
nodejs-signal-ringrtc
aarch64-ADM.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File aarch64-ADM.patch of Package nodejs-signal-ringrtc
ref: https://github.com/signalapp/ringrtc/issues/57 --- ringrtc-2.48.1/ringrtc/rust/Cargo.toml.orig 2024-09-27 03:00:29.000000000 +0200 +++ ringrtc-2.48.1/ringrtc/rust/Cargo.toml 2024-10-09 22:05:06.579125302 +0200 @@ -94,7 +94,7 @@ chrono = {version = "0.4.38", optional = call_protobuf = { path = "../../protobuf", package = "protobuf"} mrp = { path = "../../mrp" } -[target.'cfg(not(all(target_os="linux", target_arch="aarch64")))'.dependencies] +[target.'cfg(not(all(target_os="linux", target_arch="bogus")))'.dependencies] # Optional, needed by "native" feature cubeb = { version = "0.14.0", optional = true } cubeb-core = { version = "0.14.0", optional = true } --- ringrtc-2.48.1/ringrtc/rust/src/lib.rs.orig 2024-09-27 03:00:29.000000000 +0200 +++ ringrtc-2.48.1/ringrtc/rust/src/lib.rs 2024-10-09 22:05:30.274300120 +0200 @@ -92,13 +92,13 @@ pub mod webrtc { #[cfg(all( not(feature = "sim"), feature = "native", - not(all(target_os = "linux", target_arch = "aarch64")) + not(all(target_os = "linux", target_arch = "bogus")) ))] pub mod audio_device_module; #[cfg(all( not(feature = "sim"), feature = "native", - not(all(target_os = "linux", target_arch = "aarch64")) + not(all(target_os = "linux", target_arch = "bogus")) ))] pub mod audio_device_module_utils; pub mod field_trial; @@ -121,7 +121,7 @@ pub mod webrtc { mod ffi { #[cfg(all( feature = "native", - not(all(target_os = "linux", target_arch = "aarch64")) + not(all(target_os = "linux", target_arch = "bogus")) ))] pub mod audio_device_module; pub mod field_trial; --- ringrtc-2.48.1/ringrtc/rust/src/webrtc/peer_connection_factory.rs.orig 2024-09-27 03:00:29.000000000 +0200 +++ ringrtc-2.48.1/ringrtc/rust/src/webrtc/peer_connection_factory.rs 2024-10-09 22:06:17.474554771 +0200 @@ -19,13 +19,13 @@ use crate::webrtc; #[cfg(all( not(feature = "sim"), feature = "native", - not(all(target_os = "linux", target_arch = "aarch64")) + not(all(target_os = "linux", target_arch = "bogus")) ))] use crate::webrtc::audio_device_module::AudioDeviceModule; #[cfg(all( not(feature = "sim"), feature = "native", - not(all(target_os = "linux", target_arch = "aarch64")) + not(all(target_os = "linux", target_arch = "bogus")) ))] use crate::webrtc::ffi::audio_device_module::AUDIO_DEVICE_CBS_PTR; #[cfg(feature = "injectable_network")] @@ -210,9 +210,9 @@ impl AudioConfig { (std::ptr::null(), std::ptr::null()) }; - #[cfg(not(all(target_os = "linux", target_arch = "aarch64")))] + #[cfg(not(all(target_os = "linux", target_arch = "bogus")))] let audio_device_module_type = self.audio_device_module_type; - #[cfg(all(target_os = "linux", target_arch = "aarch64"))] + #[cfg(all(target_os = "linux", target_arch = "bogus"))] let audio_device_module_type = if self.audio_device_module_type == RffiAudioDeviceModuleType::RingRtc { RffiAudioDeviceModuleType::Default @@ -223,22 +223,22 @@ impl AudioConfig { #[cfg(all( not(feature = "sim"), feature = "native", - not(all(target_os = "linux", target_arch = "aarch64")) + not(all(target_os = "linux", target_arch = "bogus")) ))] let adm_borrowed = webrtc::ptr::Borrowed::from_ptr(Box::into_raw(Box::new(AudioDeviceModule::new()))) .to_void(); - #[cfg(all(target_os = "linux", target_arch = "aarch64"))] + #[cfg(all(target_os = "linux", target_arch = "bogus"))] let adm_borrowed = webrtc::ptr::Borrowed::null(); #[cfg(all( not(feature = "sim"), feature = "native", - not(all(target_os = "linux", target_arch = "aarch64")) + not(all(target_os = "linux", target_arch = "bogus")) ))] let rust_audio_device_callbacks = webrtc::ptr::Borrowed::from_ptr(AUDIO_DEVICE_CBS_PTR).to_void(); - #[cfg(all(target_os = "linux", target_arch = "aarch64"))] + #[cfg(all(target_os = "linux", target_arch = "bogus"))] let rust_audio_device_callbacks = webrtc::ptr::Borrowed::null(); Ok(RffiAudioConfig {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor