Patching file Languages/LanguageKit/Runtime/BlockClosure+debug.m using  
Plan A...
patch: **** malformed patch at line 6: static __thread volatile char  
fellOffStack;

Please provide the patch as an attachment, not inline.

David

On 19 May 2009, at 22:02, Andrew Price wrote:

> On 19/05/09 21:48, David Chisnall wrote:
>> Looks sensible.  Send me the diff and I'll apply it.
>
> See attached (assuming gmane doesn't screw up attachments).
>
> 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


_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à