pkgsrc/x11/xview-lib/patches/patch-cn
abs c9c8f97e88 - Add PKG_DESTDIR_SUPPORT
- Depend on the latest version of xview-config
- Mark as LICENSE sun-openlook-license
- Bump pkgrevision
2009-12-10 20:35:56 +00:00

22 lines
593 B
Text

$NetBSD: patch-cn,v 1.3 2009/12/10 20:35:57 abs Exp $
--- lib/libxview/ttysw/ttyselect.c.orig 1994-06-26 01:05:23.000000000 +0000
+++ lib/libxview/ttysw/ttyselect.c
@@ -75,6 +75,8 @@ static Seln_result ttysel_copy_in(),
#endif
ttysel_reply();
+static ttysel_resynch();
+
static struct ttyselection *
ttysel_from_rank();
@@ -1774,7 +1776,7 @@ ttysel_copy_out(ttysel, context, max_len
max_length--;
}
/* round up to word boundary */
- while ((unsigned) dest % 4 != 0) {
+ while ((uintptr_t) dest % 4 != 0) {
*dest++ = '\0';
}