better patch - 9base - revived minimalist port of Plan 9 userland to Unix
 (HTM) git clone git://git.suckless.org/9base
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit decec5092e45992cd0ae406d7c9ffb4ccd079bdf
 (DIR) parent 025a6f5b514bbcccf6471d6e29d6197f5c2166e8
 (HTM) Author: Anselm R Garbe <anselm@garbe.us>
       Date:   Sun, 13 Sep 2009 21:34:44 +0100
       
       better patch
       Diffstat:
         M troff/fns.h                         |       6 +-----
         M troff/mbwc.c                        |       1 +
         A troff/mbwc.h                        |       5 +++++
       
       3 files changed, 7 insertions(+), 5 deletions(-)
       ---
 (DIR) diff --git a/troff/fns.h b/troff/fns.h
       @@ -1,10 +1,6 @@
        #define getline p9getline
        
       -#define mblen p9mblen
       -#define mbtowc p9mbtowc
       -#define mbstowcs p9mbstowcs
       -#define wctomb p9wctomb
       -#define wcstombs p9wcstombs
       +#include "mbwc.h"
        
        /*
         * other
 (DIR) diff --git a/troff/mbwc.c b/troff/mbwc.c
       @@ -1,4 +1,5 @@
        #include <stdlib.h>
       +#include "mbwc.h"
        
        /*
         * Use the FSS-UTF transformation proposed by posix.
 (DIR) diff --git a/troff/mbwc.h b/troff/mbwc.h
       @@ -0,0 +1,5 @@
       +#define mblen p9mblen
       +#define mbtowc p9mbtowc
       +#define mbstowcs p9mbstowcs
       +#define wctomb p9wctomb
       +#define wcstombs p9wcstombs