[vlc-commits] [Git][videolan/vlc][master] contrib: speexdsp: backport missing stdint include patch
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Oct 6 06:04:21 UTC 2022
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
3aedff2e by Tristan Matthews at 2022-10-06T05:06:50+00:00
contrib: speexdsp: backport missing stdint include patch
Original patch authored by Christoph Reiter
- - - - -
2 changed files:
- + contrib/src/speexdsp/missing-stdint-for-aarch.patch
- contrib/src/speexdsp/rules.mak
Changes:
=====================================
contrib/src/speexdsp/missing-stdint-for-aarch.patch
=====================================
@@ -0,0 +1,29 @@
+From 1d99e79f604aa23fd3c9db2a727f24287519999b Mon Sep 17 00:00:00 2001
+From: Christoph Reiter <reiter.christoph at gmail.com>
+Date: Wed, 22 Jun 2022 09:19:45 +0200
+Subject: [PATCH 1/1] resample_neon.h: add missing stdint include for aarch64
+
+aarch64 code is referencing stdint types but the file is missing
+the include.
+
+Signed-off-by: Tristan Matthews <tmatth at videolan.org>
+---
+ libspeexdsp/resample_neon.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/libspeexdsp/resample_neon.h b/libspeexdsp/resample_neon.h
+index e14ffe1..85a51fe 100644
+--- a/libspeexdsp/resample_neon.h
++++ b/libspeexdsp/resample_neon.h
+@@ -36,6 +36,8 @@
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
++#include <stdint.h>
++
+ #ifdef FIXED_POINT
+ #if defined(__aarch64__)
+ static inline int32_t saturate_32bit_to_16bit(int32_t a) {
+--
+2.34.1
+
=====================================
contrib/src/speexdsp/rules.mak
=====================================
@@ -16,6 +16,7 @@ $(TARBALLS)/speexdsp-$(SPEEXDSP_VERSION).tar.gz:
speexdsp: speexdsp-$(SPEEXDSP_VERSION).tar.gz .sum-speexdsp
$(UNPACK)
$(call pkg_static,"speexdsp.pc.in")
+ $(APPLY) $(SRC)/speexdsp/missing-stdint-for-aarch.patch
$(MOVE)
SPEEXDSP_CONF := --enable-resample-full-sinc-table --disable-examples
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3aedff2e85ea4f020784fd1fd432f164d0091a59
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3aedff2e85ea4f020784fd1fd432f164d0091a59
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list