figlet/figlet.patch

changeset 512
fcb5600be81f
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/figlet/figlet.patch	Fri Aug 10 14:32:29 2012 +0200
     1.3 @@ -0,0 +1,22 @@
     1.4 +Index: utf8.h
     1.5 +--- utf8.h.orig	2012-08-10 11:27:29.714031512 +0200
     1.6 ++++ utf8.h	2012-08-10 11:29:26.743204276 +0200
     1.7 +@@ -27,6 +27,18 @@
     1.8 + #define UTF8_IGNORE_ERROR		0x01
     1.9 + #define UTF8_SKIP_BOM			0x02
    1.10 + 
    1.11 ++#ifndef __BEGIN_DECLS
    1.12 ++#undef __BEGIN_DECLS
    1.13 ++#undef __END_DECLS
    1.14 ++#ifdef __cplusplus
    1.15 ++# define __BEGIN_DECLS extern "C" {
    1.16 ++# define __END_DECLS }
    1.17 ++#else
    1.18 ++# define __BEGIN_DECLS /* empty */
    1.19 ++# define __END_DECLS /* empty */
    1.20 ++#endif
    1.21 ++#endif /* __BEGIN_DECLS */
    1.22 ++
    1.23 + __BEGIN_DECLS
    1.24 + 
    1.25 + size_t		utf8_to_wchar(const char *in, size_t insize, wchar_t *out,

mercurial