aboutsummaryrefslogtreecommitdiff
path: root/audio/shortwave
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2022-02-20 13:03:38 +0000
committerJan Beich <jbeich@FreeBSD.org>2022-02-20 13:17:15 +0000
commit021f1e6c2dad1b37ec6dbe515534943843e4ffbc (patch)
treec19e2c1c83ec988180ff9551a5f21704b5a75f35 /audio/shortwave
parent7b279c9e09e1d27a385b7400842622b03a60c5bb (diff)
downloadports-021f1e6c2dad1b37ec6dbe515534943843e4ffbc.tar.gz
ports-021f1e6c2dad1b37ec6dbe515534943843e4ffbc.zip
Diffstat (limited to 'audio/shortwave')
-rw-r--r--audio/shortwave/files/patch-gstreamer (renamed from audio/shortwave/files/patch-gstreamer-audio_src_audio__format.rs)29
1 files changed, 14 insertions, 15 deletions
diff --git a/audio/shortwave/files/patch-gstreamer-audio_src_audio__format.rs b/audio/shortwave/files/patch-gstreamer
index ac6c87bae522..91fec5bfeed9 100644
--- a/audio/shortwave/files/patch-gstreamer-audio_src_audio__format.rs
+++ b/audio/shortwave/files/patch-gstreamer
@@ -1,17 +1,19 @@
-From e1466728515296b9c8b84a38ab8aa58766c6f9c4 Mon Sep 17 00:00:00 2001
-From: Fabio Valentini <decathorpe@gmail.com>
-Date: Wed, 4 Aug 2021 13:30:53 +0200
-Subject: [PATCH] gstreamer-audio: fix audio_format code for big-endian targets
+https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/commit/e14667285152
----
- gstreamer-audio/src/audio_format.rs | 88 ++++++++++++++---------------
- 1 file changed, 44 insertions(+), 44 deletions(-)
+error[E0433]: failed to resolve: could not find `AudioFormat` in the list of imported crates
+ --> src/audio_format.rs:62:15
+ |
+62 | ::AudioFormat::F64be,
+ | ^^^^^^^^^^^ could not find `AudioFormat` in the list of imported crates
+error[E0433]: failed to resolve: could not find `AudioFormat` in the list of imported crates
+ --> src/audio_format.rs:63:15
+ |
+63 | ::AudioFormat::F64le,
+ | ^^^^^^^^^^^ could not find `AudioFormat` in the list of imported crates
-diff --git a/gstreamer-audio/src/audio_format.rs b/gstreamer-audio/src/audio_format.rs
-index 99c891f5b..5212814f4 100644
---- ../gstreamer-rs-f00c57cd6f2a0912e04c10887cedbe95be7d5dea/gstreamer-audio/src/audio_format.rs
+--- ../gstreamer-rs-f00c57cd6f2a0912e04c10887cedbe95be7d5dea/gstreamer-audio/src/audio_format.rs.orig 2021-04-23 12:28:54 UTC
+++ ../gstreamer-rs-f00c57cd6f2a0912e04c10887cedbe95be7d5dea/gstreamer-audio/src/audio_format.rs
-@@ -59,36 +59,36 @@ pub static AUDIO_FORMATS_ALL: Lazy<Box<[crate::AudioFormat]>> = Lazy::new(|| {
+@@ -59,36 +59,36 @@ pub static AUDIO_FORMATS_ALL: Lazy<Box<[crate::AudioFo
#[cfg(target_endian = "big")]
{
Box::new([
@@ -78,7 +80,7 @@ index 99c891f5b..5212814f4 100644
])
}
});
-@@ -170,33 +170,33 @@ pub const AUDIO_FORMAT_S8: crate::AudioFormat = crate::AudioFormat::S8;
+@@ -168,33 +168,33 @@ pub const AUDIO_FORMAT_S8: crate::AudioFormat = crate:
pub const AUDIO_FORMAT_U8: crate::AudioFormat = crate::AudioFormat::U8;
#[cfg(target_endian = "big")]
@@ -126,6 +128,3 @@ index 99c891f5b..5212814f4 100644
#[cfg(target_endian = "little")]
pub const AUDIO_FORMAT_S16: crate::AudioFormat = crate::AudioFormat::S16le;
---
-GitLab
-