Here's that patch again. I've subscribed to the list properly to avoid
gmane so it shouldn't get mangled this time.
Andrew
Index: Languages/LanguageKit/Runtime/BlockClosure+debug.m
===================================================================
--- Languages/LanguageKit/Runtime/BlockClosure+debug.m (revision 4665)
+++ Languages/LanguageKit/Runtime/BlockClosure+debug.m (working copy)
@@ -31,7 +31,7 @@
static __thread volatile char fellOffStack;
static __thread ucontext_t sigretcontext;
-static void segv(int sig, struct __siginfo *info, void *addr)
+static void segv(int sig, siginfo_t *info, void *addr)
{
fellOffStack = 1;
setcontext(&sigretcontext);
Index: Languages/LanguageKit/Runtime/GNUmakefile
===================================================================
--- Languages/LanguageKit/Runtime/GNUmakefile (revision 4665)
+++ Languages/LanguageKit/Runtime/GNUmakefile (working copy)
@@ -11,7 +11,7 @@
LIBRARIES_DEPEND_UPON += -lgmp $(FND_LIBS) $(OBJC_LIBS) $(SYSTEM_LIBS)
-${FRAMEWORK_NAME}_CPPFLAGS += -D_POSIX_C_SOURCE=2
+${FRAMEWORK_NAME}_CPPFLAGS += -D_POSIX_C_SOURCE=199309 -D_BSD_SOURCE
${FRAMEWORK_NAME}_OBJCFLAGS += -std=c99 -fexceptions
${FRAMEWORK_NAME}_CFLAGS += -std=c99 -fexceptions
_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss