pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/cvsps Fix C99 variable declarations to make this...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9d62e560818b
branches:  trunk
changeset: 496920:9d62e560818b
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Fri Jul 15 22:25:58 2005 +0000

description:
Fix C99 variable declarations to make this pkg build with gcc 2.95.

diffstat:

 devel/cvsps/distinfo         |   3 ++-
 devel/cvsps/patches/patch-ab |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 20f7086c1a9d -r 9d62e560818b devel/cvsps/distinfo
--- a/devel/cvsps/distinfo      Fri Jul 15 22:19:11 2005 +0000
+++ b/devel/cvsps/distinfo      Fri Jul 15 22:25:58 2005 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2005/07/13 04:00:41 schmonz Exp $
+$NetBSD: distinfo,v 1.7 2005/07/15 22:25:58 kristerw Exp $
 
 SHA1 (cvsps-2.1.tar.gz) = a53a62b121e7b86e07a393bcb8aa4f0492a747c4
 RMD160 (cvsps-2.1.tar.gz) = a3063f638fbf1136761549658432d5842e4a766f
 Size (cvsps-2.1.tar.gz) = 61634 bytes
 SHA1 (patch-aa) = 7e908b0f79098d7f829058d55db8ed9311101e0f
+SHA1 (patch-ab) = d990e59b00f5d83057239371162d3c246b999323
diff -r 20f7086c1a9d -r 9d62e560818b devel/cvsps/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cvsps/patches/patch-ab      Fri Jul 15 22:25:58 2005 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2005/07/15 22:25:58 kristerw Exp $
+
+--- cvsps.c.orig       Sat Jul 16 00:22:10 2005
++++ cvsps.c    Sat Jul 16 00:22:40 2005
+@@ -2550,9 +2550,9 @@
+ 
+     for (next = ps->members.next; next != &ps->members; next = next->next) 
+     {
++      int d1, d2;
+       PatchSetMember * psm = list_entry(next, PatchSetMember, link);
+       rev = psm->pre_rev;
+-      int d1, d2;
+ 
+       /* the reason this is at all complicated has to do with a 
+        * branch off of a branch.  it is possible (and indeed 



Home | Main Index | Thread Index | Old Index