commit
ce43fd1868
29
huawei-support-riscv.patch
Normal file
29
huawei-support-riscv.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From 53c01b783b8e3223ff589a794742e02647a5de98 Mon Sep 17 00:00:00 2001
|
||||||
|
From: yangyanchao <yangyanchao6@huawei.com>
|
||||||
|
Date: Wed, 28 Oct 2020 17:02:42 +0800
|
||||||
|
Subject: [PATCH] huawei-support-riscv
|
||||||
|
|
||||||
|
---
|
||||||
|
webrtc/typedefs.h | 7 +++++++
|
||||||
|
1 file changed, 7 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/webrtc/typedefs.h b/webrtc/typedefs.h
|
||||||
|
index d875490..bbd904e 100644
|
||||||
|
--- a/webrtc/typedefs.h
|
||||||
|
+++ b/webrtc/typedefs.h
|
||||||
|
@@ -44,6 +44,13 @@
|
||||||
|
#elif defined(__MIPSEL__)
|
||||||
|
#define WEBRTC_ARCH_32_BITS
|
||||||
|
#define WEBRTC_ARCH_LITTLE_ENDIAN
|
||||||
|
+#elif defined(__riscv)
|
||||||
|
+#define WEBRTC_ARCH_LITTLE_ENDIAN
|
||||||
|
+#if __riscv_xlen == 64
|
||||||
|
+#define WEBRTC_ARCH_64_BITS
|
||||||
|
+#else
|
||||||
|
+#define WEBRTC_ARCH_32_BTIS
|
||||||
|
+#endif
|
||||||
|
#elif defined(__pnacl__)
|
||||||
|
#define WEBRTC_ARCH_32_BITS
|
||||||
|
#define WEBRTC_ARCH_LITTLE_ENDIAN
|
||||||
|
--
|
||||||
|
1.8.3.1
|
||||||
@ -1,10 +1,11 @@
|
|||||||
Name: webrtc-audio-processing
|
Name: webrtc-audio-processing
|
||||||
Version: 0.3.1
|
Version: 0.3.1
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Real-Time Communication Library for Web Browsers
|
Summary: Real-Time Communication Library for Web Browsers
|
||||||
License: BSD and MIT
|
License: BSD and MIT
|
||||||
URL: https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/
|
URL: https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/
|
||||||
Source0: https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/%{name}-%{version}.tar.xz
|
Source0: https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/%{name}-%{version}.tar.xz
|
||||||
|
Patch: huawei-support-riscv.patch
|
||||||
|
|
||||||
BuildRequires: autoconf automake libtool gcc gcc-c++
|
BuildRequires: autoconf automake libtool gcc gcc-c++
|
||||||
|
|
||||||
@ -61,6 +62,9 @@ autoreconf -vif
|
|||||||
%doc NEWS
|
%doc NEWS
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 9 2020 yangyanchao <yangyanchao6@huawei.com> - 0.3.1-4
|
||||||
|
- Supports the riscv
|
||||||
|
|
||||||
* Fri Jan 10 2020 zhangrui <zhangrui182@huawei.com> - 0.3.1-3
|
* Fri Jan 10 2020 zhangrui <zhangrui182@huawei.com> - 0.3.1-3
|
||||||
- Remove unnecessary patches
|
- Remove unnecessary patches
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user