pkgsrc/x11/xview-lib/patches/patch-cm
hauke cbccace970 Unbreak package by culling extern declarations doubling as function
prototypes. Since NetBSD headers have moved to #including what they
reference, <string.h> is everywhere, which turns the externs from
annoying into harmful.
2017-12-12 20:42:41 +00:00

16 lines
478 B
Text

$NetBSD: patch-cm,v 1.3 2017/12/12 20:42:41 hauke Exp $
--- lib/libxview/ttysw/ttyansi.c.orig 1993-06-29 05:17:21.000000000 +0000
+++ lib/libxview/ttysw/ttyansi.c
@@ -31,7 +31,10 @@ static char sccsid[] = "@(#)ttyansi.
#include <xview/sel_attrs.h>
-char *strncpy();
+static int send_input_to_textsw();
+static int ansi_lf();
+static int ansi_char();
+
char *textsw_checkpoint_undo();
Textsw_index textsw_replace_i18n(), textsw_erase_i18n();