pkgsrc/x11/xview-lib/patches/patch-ei
joerg 2bbbd70847 First try on fixing xview. Fix errno. Add DragonFly support.
Use NAME_MAX when available. Don't try to fake a FILE on DragonFly.
The implementation of textsw_scanf can be improved, it is very
defensively and slow ATM, the snprintf usage should be portable.
Fix a number of prototype mismatches, e.g. variable argument functions
can conflict with K&R prototypes.

Bump revision since the package "compiled" before, e.g. build
errors where ignored.
2006-01-05 18:25:56 +00:00

13 lines
485 B
Text

$NetBSD: patch-ei,v 1.1 2006/01/05 18:25:57 joerg Exp $
--- lib/libxview/textsw/txt_getkey.c.orig 2006-01-04 11:41:31.000000000 +0000
+++ lib/libxview/textsw/txt_getkey.c
@@ -21,8 +21,6 @@ static char sccsid[] = "@(#)txt_getk
#include <xview_private/ev_impl.h> /* For declaration of ev_add_finder */
#include <errno.h>
-extern int errno;
-
static void textsw_do_get();
Pkg_private Es_index textsw_find_mark_internal();
Pkg_private Es_index textsw_insert_pieces();