Bug#618706: FTBFS [alpha,ia64,hppa]: error: 'struct sigaction' has no member named 'sa_restorer'
I forgot that attach patch....
thanks,
Nobuhiro
2011/9/5 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>:
> tag 618706 patch
> thanks
>
> Hi.
>
> I created a patch which revise this problem.
> I attached.
> This checks whether to have SA_RESTORER.
>
> Please check this patch.
>
> Best regards,
> Nobuhiro
>
> --
> Nobuhiro Iwamatsu
> iwamatsu at {nigauri.org / debian.org}
> GPG ID: 40AD1FA6
>
--
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6
Description: Fix FTBFS [alpha,ia64,hppa]: error: 'struct sigaction'
has no member named 'sa_restorer'
This supports the architecture not to have sa_restorer.
Forwarded:
Origin: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618706
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618706
Author: Nobuhiro Iwamatsu <iwamatsu@debian.org>
diff --git a/src/lib/plt/shl/csys.hxx b/src/lib/plt/shl/csys.hxx
index 5c0b355..5eb5aaa 100644
--- a/src/lib/plt/shl/csys.hxx
+++ b/src/lib/plt/shl/csys.hxx
@@ -34,7 +34,6 @@
#define AFNIX_HAVE_HOSTNAME
#define AFNIX_HAVE_UID
#define AFNIX_HAVE_BACKTRACE
-#define AFNIX_HAVE_SARESTORER
#include <sys/types.h>
#include <pwd.h>
#include <dlfcn.h>
@@ -42,6 +41,10 @@
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
+#include <asm/signal.h>
+#ifdef SA_RESTORER
+# define AFNIX_HAVE_SARESTORER
+#endif
#endif
// solaris platform
Reply to: