pkgsrc/x11/xview-lib/patches/patch-fe
tnn f3b8c0b757 Fix a problem with patch-fe: Only use va_copy() for the va_list, not
for the av_list which is a type internal to xview.
2007-06-12 23:10:24 +00:00

13 lines
455 B
Text

$NetBSD: patch-fe,v 1.2 2007/06/12 23:10:24 tnn Exp $
--- lib/libxview/attr/attr.c.orig 1993-06-29 07:14:36.000000000 +0200
+++ lib/libxview/attr/attr.c
@@ -91,7 +91,7 @@ Xv_private Attr_avlist copy_va_to_av( va
/* These two variables are used instead of the paramters so that the
position in the lists is maintained after a recursive call.
*/
- valist = valist1;
+ va_copy(valist, valist1);
avlist = avlist1;
if( !avlist )