Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/flac: Fix musl compile
@ 2015-04-11  8:17 Bernd Kuhls
  2015-04-11 13:32 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2015-04-11  8:17 UTC (permalink / raw)
  To: buildroot


Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/flac/0002-sigemptyset.patch |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 package/flac/0002-sigemptyset.patch

diff --git a/package/flac/0002-sigemptyset.patch b/package/flac/0002-sigemptyset.patch
new file mode 100644
index 0000000..9cbc338
--- /dev/null
+++ b/package/flac/0002-sigemptyset.patch
@@ -0,0 +1,18 @@
+Fix musl compile since it does not define __sigemptyset
+
+Downloaded from
+http://git.alpinelinux.org/cgit/aports/commit/main/flac/sigemptyset.patch?id=49fd0f4cebc46e2753d6a60e450078446f7f18a7
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+--- ./src/libFLAC/cpu.c.orig
++++ ./src/libFLAC/cpu.c
+@@ -243,7 +243,7 @@
+ 		struct sigaction sigill_save;
+ 		struct sigaction sigill_sse;
+ 		sigill_sse.sa_sigaction = sigill_handler_sse_os;
+-		__sigemptyset(&sigill_sse.sa_mask);
++		sigemptyset(&sigill_sse.sa_mask);
+ 		sigill_sse.sa_flags = SA_SIGINFO | SA_RESETHAND; /* SA_RESETHAND just in case our SIGILL return jump breaks, so we don't get stuck in a loop */
+ 		if(0 == sigaction(SIGILL, &sigill_sse, &sigill_save))
+ 		{
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] package/flac: Fix musl compile
  2015-04-11  8:17 [Buildroot] [PATCH 1/1] package/flac: Fix musl compile Bernd Kuhls
@ 2015-04-11 13:32 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-04-11 13:32 UTC (permalink / raw)
  To: buildroot

Dear Bernd Kuhls,

On Sat, 11 Apr 2015 10:17:23 +0200, Bernd Kuhls wrote:
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/flac/0002-sigemptyset.patch |   18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>  create mode 100644 package/flac/0002-sigemptyset.patch

Applied, thanks. Could you please submit the patch upstream? It isn't
fixed in upstream currently:
https://git.xiph.org/?p=flac.git;a=blob;f=src/libFLAC/cpu.c.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-11 13:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-11  8:17 [Buildroot] [PATCH 1/1] package/flac: Fix musl compile Bernd Kuhls
2015-04-11 13:32 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox