pkgsrc/editors/nvi/patches/patch-bb
lukem 05884c684e Apply more fixes from NetBSD src/dist/nvi:
* Fix :ESC
* Fix #+ #- in multibyte configuration
* Update reported version to nvi-1.81.6nb5

Update package revisiion to nb5 to suite.
2009-08-16 08:34:34 +00:00

20 lines
488 B
Text

$NetBSD: patch-bb,v 1.1 2009/08/16 08:34:34 lukem Exp $
--- ../common/multibyte.h.orig 2007-11-19 03:41:42.000000000 +1100
+++ ../common/multibyte.h
@@ -20,6 +20,7 @@ typedef u_int UCHAR_T;
#define STRPBRK wcspbrk
#define TOUPPER towupper
#define STRSET wmemset
+#define STRCHR wcschr
#define L(ch) L ## ch
@@ -39,6 +40,7 @@ typedef u_char UCHAR_T;
#define STRPBRK strpbrk
#define TOUPPER toupper
#define STRSET memset
+#define STRCHR strchr
#define L(ch) ch