figlet/figlet.patch

Sat, 06 Oct 2012 21:54:06 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 06 Oct 2012 21:54:06 +0200
changeset 731
dc14180f3f4e
permissions
-rw-r--r--

Several apache dependent CMS and dynamic webservers (many PHP based)
write session cookies to /var/apache/run/apache-php.session while
running as the restricted '-r' user so accommodate this.

     1 Index: utf8.h
     2 --- utf8.h.orig	2012-08-10 11:27:29.714031512 +0200
     3 +++ utf8.h	2012-08-10 11:29:26.743204276 +0200
     4 @@ -27,6 +27,18 @@
     5  #define UTF8_IGNORE_ERROR		0x01
     6  #define UTF8_SKIP_BOM			0x02
     8 +#ifndef __BEGIN_DECLS
     9 +#undef __BEGIN_DECLS
    10 +#undef __END_DECLS
    11 +#ifdef __cplusplus
    12 +# define __BEGIN_DECLS extern "C" {
    13 +# define __END_DECLS }
    14 +#else
    15 +# define __BEGIN_DECLS /* empty */
    16 +# define __END_DECLS /* empty */
    17 +#endif
    18 +#endif /* __BEGIN_DECLS */
    19 +
    20  __BEGIN_DECLS
    22  size_t		utf8_to_wchar(const char *in, size_t insize, wchar_t *out,

mercurial