[Mono-dev] mkbundle fails on PPC

Zoltan Varga vargaz at gmail.com
Sat May 30 09:44:49 EDT 2009


Applied. Thanks.

           Zoltan

On Sat, May 30, 2009 at 4:12 AM, Steven Munroe <munroesj at us.ibm.com> wrote:

> In template_main.c: count_mono_options_args uses string functions
> strchr, strdup, and memcpy without including string.h. This causes a
> compile failure in test mkbundle.
>
> The attached patch fixes this:
>
>
>
> 2009-05-29  Steven Munroe  <munroesj at us.ibm.com>
>
> This patch is contributed under the terms of the MIT/X11 license
>
>        * template_main.c: Include string.h to define strchr, memcpy,
>        and strdup.
>
>
> diff -urN mono-svn-20090528/mcs/tools/mkbundle/template_main.c
> mono-svn/mcs/tools/mkbundle/template_main.c
> --- mono-svn-20090528/mcs/tools/mkbundle/template_main.c        2009-05-28
> 20:20:25.000000000 -0500
> +++ mono-svn/mcs/tools/mkbundle/template_main.c 2009-05-29
> 17:38:27.000000000 -0500
> @@ -1,6 +1,7 @@
>  int mono_main (int argc, char* argv[]);
>
>  #include <stdlib.h>
> +#include <string.h>
>  #ifdef _WIN32
>  #include <windows.h>
>  #endif
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090530/222d8695/attachment.html 


More information about the Mono-devel-list mailing list