summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2005-07-15 22:25:58 +0000
committerkristerw <kristerw@pkgsrc.org>2005-07-15 22:25:58 +0000
commit07952117ba8be0425d4aff36fe32a5ed4de4022c (patch)
tree172986dde9cc5aab790314d5bac99b65837dcdd4
parenta317e33b545a0be109e1cc9925aee67393773a9c (diff)
downloadpkgsrc-07952117ba8be0425d4aff36fe32a5ed4de4022c.tar.gz
Fix C99 variable declarations to make this pkg build with gcc 2.95.
-rw-r--r--devel/cvsps/distinfo3
-rw-r--r--devel/cvsps/patches/patch-ab15
2 files changed, 17 insertions, 1 deletions
diff --git a/devel/cvsps/distinfo b/devel/cvsps/distinfo
index 75a71f195d4..0e14c9684b9 100644
--- a/devel/cvsps/distinfo
+++ b/devel/cvsps/distinfo
@@ -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 --git a/devel/cvsps/patches/patch-ab b/devel/cvsps/patches/patch-ab
new file mode 100644
index 00000000000..a842d206b69
--- /dev/null
+++ b/devel/cvsps/patches/patch-ab
@@ -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