Ahh... I see the "real" problem now:
The standard-specified type is "siginfo_t", not "struct siginfo", though that
has *historically* been correct with glibc and is still the type on the kernel
side of the interface.
I think the include of stddef.h is "proper", even if it is not the key issue
here, and suggest keeping it.
So, I suggest trying the following patch INSTEAD of the previous one:
--- blcr-0.8.4/configure.ac 11 Oct 2011 22:11:37 -0000 1.410.2.39
+++ blcr-0.8.4/configure.ac 10 Dec 2012 03:50:04 -0000
@@ -593,8 +593,9 @@ CR_DEFINE_INT(CR_ASM_CHECKPOINT_OMIT,
[CR_CHECKPOINT_OMIT],
[#include "blcr_common.h.in"]) # ICK!
CR_DEFINE_INT(CR_ASM_SI_PID_OFFSET,
- [offsetof(struct siginfo, si_pid)],
+ [offsetof(siginfo_t, si_pid)],
[#include <signal.h>
+ #include <stddef.h>
#ifndef offsetof
#define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE
*)0)->MEMBER)
#endif])
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1086475
Title:
Sync blcr 0.8.4-3 (universe) from Debian Unstable (universe)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/blcr/+bug/1086475/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs