* [PR PATCH] sbc: update to 2.0.
@ 2022-07-24 9:52 motorto
2022-07-25 15:19 ` [PR PATCH] [Merged]: " classabbyamp
0 siblings, 1 reply; 2+ messages in thread
From: motorto @ 2022-07-24 9:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 683 bytes --]
There is a new pull request by motorto against master on the void-packages repository
https://github.com/motorto/void-packages sbc-2.0
https://github.com/void-linux/void-packages/pull/38243
sbc: update to 2.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### Local build testing
- I built this PR locally for my native architecture, x86_64-{musl,glibc}
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- armv6l-musl (crossbuild)
A patch file from https://github.com/void-linux/void-packages/pull/38243.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sbc-2.0-38243.patch --]
[-- Type: text/x-diff, Size: 2984 bytes --]
From 915692d44055a80bf6ee6f7ccc62f9ce865e2c8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Sun, 24 Jul 2022 10:48:38 +0100
Subject: [PATCH] sbc: update to 2.0.
---
.../sbc/patches/fix-build-on-non-x86.patch | 43 -------------------
srcpkgs/sbc/template | 4 +-
2 files changed, 2 insertions(+), 45 deletions(-)
delete mode 100644 srcpkgs/sbc/patches/fix-build-on-non-x86.patch
diff --git a/srcpkgs/sbc/patches/fix-build-on-non-x86.patch b/srcpkgs/sbc/patches/fix-build-on-non-x86.patch
deleted file mode 100644
index 87b545078118..000000000000
--- a/srcpkgs/sbc/patches/fix-build-on-non-x86.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 909a9bdf7ab143e1f0baaf9736baebd3cd79aacf Mon Sep 17 00:00:00 2001
-From: Marius Bakke <marius@gnu.org>
-Date: Tue, 22 Dec 2020 11:04:26 +0000
-Subject: sbc_primitives: Fix build on non-x86.
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Don't call __builtin_cpu_init unless targeting i386 or x86_64.
-Otherwise we get an error at link time:
-
- CC sbc/sbc_primitives.lo
-sbc/sbc_primitives.c: In function ‘sbc_init_primitives_x86’:
-sbc/sbc_primitives.c:596:2: warning: implicit declaration of function ‘__builtin_cpu_init’; did you mean ‘__builtin_irint’? [-Wimplicit-function-declaration]
-[...]
- CCLD src/sbcdec
-ld: sbc/.libs/libsbc-private.a(sbc_primitives.o): in function `sbc_init_primitives':
-sbc_primitives.c:(.text+0x3a30): undefined reference to `__builtin_cpu_init'
----
- sbc/sbc_primitives.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/sbc/sbc_primitives.c b/sbc/sbc_primitives.c
-index 97a75be..09c214a 100644
---- a/sbc/sbc_primitives.c
-+++ b/sbc/sbc_primitives.c
-@@ -593,6 +593,7 @@ static int sbc_calc_scalefactors_j(
-
- static void sbc_init_primitives_x86(struct sbc_encoder_state *state)
- {
-+#if defined(__x86_64__) || defined(__i386__)
- __builtin_cpu_init();
-
- #ifdef SBC_BUILD_WITH_MMX_SUPPORT
-@@ -604,6 +605,7 @@ static void sbc_init_primitives_x86(struct sbc_encoder_state *state)
- if (__builtin_cpu_supports("sse4.2"))
- sbc_init_primitives_sse(state);
- #endif
-+#endif
- }
-
- /*
---
diff --git a/srcpkgs/sbc/template b/srcpkgs/sbc/template
index 6fdca20e3e9c..6d3408eee62c 100644
--- a/srcpkgs/sbc/template
+++ b/srcpkgs/sbc/template
@@ -1,6 +1,6 @@
# Template file for 'sbc'
pkgname=sbc
-version=1.5
+version=2.0
revision=1
build_style=gnu-configure
configure_args="--enable-pie --disable-static"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="http://www.bluez.org/"
distfiles="${KERNEL_SITE}/bluetooth/${pkgname}-${version}.tar.xz"
-checksum=0cbad69823a99e8421fe0700e8cf9eeb8fa0c1ad28e8dbc2182b3353507931d2
+checksum=8f12368e1dbbf55e14536520473cfb338c84b392939cc9b64298360fd4a07992
sbc-devel_package() {
depends="sbc>=${version}_${revision}"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: sbc: update to 2.0.
2022-07-24 9:52 [PR PATCH] sbc: update to 2.0 motorto
@ 2022-07-25 15:19 ` classabbyamp
0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2022-07-25 15:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 688 bytes --]
There's a merged pull request on the void-packages repository
sbc: update to 2.0.
https://github.com/void-linux/void-packages/pull/38243
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### Local build testing
- I built this PR locally for my native architecture, x86_64-{musl,glibc}
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- armv6l-musl (crossbuild)
Removed patch as it is fixed at 76f4d931d237517c443dd793390ed7d73b12746e according to [this](https://kernel.googlesource.com/pub/scm/bluetooth/sbc/+log)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-25 15:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-24 9:52 [PR PATCH] sbc: update to 2.0 motorto
2022-07-25 15:19 ` [PR PATCH] [Merged]: " classabbyamp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).