pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xview-lib Fix a problem with patch-fe: Only use va...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4904160252ed
branches:  trunk
changeset: 529937:4904160252ed
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Jun 12 23:10:24 2007 +0000

description:
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.

diffstat:

 x11/xview-lib/distinfo         |   4 ++--
 x11/xview-lib/patches/patch-fe |  12 +++++-------
 2 files changed, 7 insertions(+), 9 deletions(-)

diffs (42 lines):

diff -r 5b3e2a1a2a81 -r 4904160252ed x11/xview-lib/distinfo
--- a/x11/xview-lib/distinfo    Tue Jun 12 23:04:38 2007 +0000
+++ b/x11/xview-lib/distinfo    Tue Jun 12 23:10:24 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2007/05/12 00:22:16 tnn Exp $
+$NetBSD: distinfo,v 1.12 2007/06/12 23:10:24 tnn Exp $
 
 SHA1 (xview3.2p1-X11R6.tar.gz) = 1cd04231b893c3e6c70b56791d527b498e21a27a
 RMD160 (xview3.2p1-X11R6.tar.gz) = 2f21b14cb088aec887683bbc6d4ed9a3bc3fe2bb
@@ -123,7 +123,7 @@
 SHA1 (patch-fb) = 3f6906fe91374c3bfdd77549ec784643887ceee2
 SHA1 (patch-fc) = 3b4bd2940d0482ae8280b0cd7935b9368388b703
 SHA1 (patch-fd) = fb2590a1d297a202d812d4842e363e2fa24bd7f9
-SHA1 (patch-fe) = 5366fc218305323c1d9d003e999e3a9f2a64ffb9
+SHA1 (patch-fe) = c62f5953674386da841a49cda5145005073bc088
 SHA1 (patch-ff) = bae46f189ae6495cb588ffe629133ed89d9a0e17
 SHA1 (patch-fg) = 33fa902f2294fe5e4b92a3024de86ed7f63f738a
 SHA1 (patch-fh) = 63b03cc4a5131bb9e54eac34596162b6f898b7d0
diff -r 5b3e2a1a2a81 -r 4904160252ed x11/xview-lib/patches/patch-fe
--- a/x11/xview-lib/patches/patch-fe    Tue Jun 12 23:04:38 2007 +0000
+++ b/x11/xview-lib/patches/patch-fe    Tue Jun 12 23:10:24 2007 +0000
@@ -1,15 +1,13 @@
-$NetBSD: patch-fe,v 1.1 2007/05/12 00:22:17 tnn Exp $
+$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,8 +91,8 @@ Xv_private Attr_avlist copy_va_to_av( va
+--- 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;
--   avlist = avlist1;
 +   va_copy(valist, valist1);
-+   va_copy(avlist, avlist1);
+    avlist = avlist1;
  
     if( !avlist )
-       avlist = avlist_tmp;



Home | Main Index | Thread Index | Old Index