pkgsrc/x11/xview-lib/patches/patch-cf
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

13 lines
416 B
Text

$NetBSD: patch-cf,v 1.2 2009/12/10 20:35:57 abs Exp $
--- lib/libxview/panel/p_mlinetxt.c.orig 1993-06-29 05:17:05.000000000 +0000
+++ lib/libxview/panel/p_mlinetxt.c
@@ -449,7 +449,7 @@ panel_mltxt_get_attr(item_public, status
return (Xv_opaque) dp->rows_displayed;
case PANEL_ITEM_NTH_WINDOW:
- switch (*(int *) valist) {
+ switch (va_arg(valist, int)) {
case 0:
return dp->view;
case 1: