From 15444e57ef07d2552ae9ea09cd6bd1850e92313c Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sat, 14 Jan 2023 02:49:12 +0000 Subject: [PATCH] sbc: update to version 2.0 Fixes issue with use of x86-specific compiler primitives on non-x86 systems which we had previously patched downstream, remove this patch. Signed-off-by: Daniel Golle --- libs/sbc/Makefile | 4 ++-- libs/sbc/patches/010-x86.patch | 12 ------------ 2 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 libs/sbc/patches/010-x86.patch diff --git a/libs/sbc/Makefile b/libs/sbc/Makefile index 4e656fb2cb..ca5b8488f0 100644 --- a/libs/sbc/Makefile +++ b/libs/sbc/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=sbc -PKG_VERSION:=1.5 +PKG_VERSION:=2.0 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@KERNEL/linux/bluetooth/ -PKG_HASH:=0cbad69823a99e8421fe0700e8cf9eeb8fa0c1ad28e8dbc2182b3353507931d2 +PKG_HASH:=8f12368e1dbbf55e14536520473cfb338c84b392939cc9b64298360fd4a07992 PKG_LICENSE:=LGPL-2.1-or-later PKG_LICENSE_FILES:=COPYING.LIB diff --git a/libs/sbc/patches/010-x86.patch b/libs/sbc/patches/010-x86.patch deleted file mode 100644 index 8b5d5aca93..0000000000 --- a/libs/sbc/patches/010-x86.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/sbc/sbc_primitives.c -+++ b/sbc/sbc_primitives.c -@@ -593,7 +593,9 @@ static int sbc_calc_scalefactors_j( - - static void sbc_init_primitives_x86(struct sbc_encoder_state *state) - { -+#ifdef __x86__ - __builtin_cpu_init(); -+#endif - - #ifdef SBC_BUILD_WITH_MMX_SUPPORT - if (__builtin_cpu_supports("mmx")) -- 2.30.2