Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] dante: fix sparc compile issue
@ 2016-07-10  9:32 Waldemar Brodkorb
  2016-07-10 13:22 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Waldemar Brodkorb @ 2016-07-10  9:32 UTC (permalink / raw)
  To: buildroot

Fixes following autobuild failure:
http://autobuild.buildroot.net/results/536d95a46ef9527c6ed38b397f7e1b33f4b7b5fe/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
 package/dante/0001-fix-sparc-compile.patch | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 package/dante/0001-fix-sparc-compile.patch

diff --git a/package/dante/0001-fix-sparc-compile.patch b/package/dante/0001-fix-sparc-compile.patch
new file mode 100644
index 0000000..c4453bb
--- /dev/null
+++ b/package/dante/0001-fix-sparc-compile.patch
@@ -0,0 +1,23 @@
+Signal handling for sparc is broken, fix it.
+
+Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
+--- dante-1.4.1.orig/lib/tostring.c	2014-08-21 18:21:50.000000000 +0200
++++ dante-1.4.1/lib/tostring.c	2016-07-10 10:08:39.785662622 +0200
+@@ -1526,7 +1526,7 @@ signal2string(sig)
+          return "SIGKILL";
+ #endif /* SIGKILL */
+ 
+-#if (defined SIGLOST) && (!defined SIGABRT || SIGLOST != SIGABRT)
++#if (defined SIGLOST) && (!defined SIGABRT || SIGLOST != SIGABRT || SIGLOST != SIGPWR)
+       case SIGLOST:
+          return "SIGLOST";
+ #endif /* SIGLOST */
+@@ -1551,7 +1551,7 @@ signal2string(sig)
+          return "SIGPROF";
+ #endif /* SIGPROF */
+ 
+-#ifdef SIGPWR
++#if (defined SIGPWR) && SIGPWR != SIGLOST
+       case SIGPWR:
+          return "SIGPWR";
+ #endif /* SIGPWR */
-- 
2.1.4

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

* [Buildroot] [PATCH] dante: fix sparc compile issue
  2016-07-10  9:32 [Buildroot] [PATCH] dante: fix sparc compile issue Waldemar Brodkorb
@ 2016-07-10 13:22 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-07-10 13:22 UTC (permalink / raw)
  To: buildroot

Hello,

On Sun, 10 Jul 2016 11:32:13 +0200, Waldemar Brodkorb wrote:
> Fixes following autobuild failure:
> http://autobuild.buildroot.net/results/536d95a46ef9527c6ed38b397f7e1b33f4b7b5fe/
> 
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> ---
>  package/dante/0001-fix-sparc-compile.patch | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>  create mode 100644 package/dante/0001-fix-sparc-compile.patch

Applied to master, 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:[~2016-07-10 13:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-10  9:32 [Buildroot] [PATCH] dante: fix sparc compile issue Waldemar Brodkorb
2016-07-10 13:22 ` Thomas Petazzoni

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