summaryrefslogtreecommitdiff
path: root/net/pim6sd/patches
diff options
context:
space:
mode:
authorwiz <wiz>2011-12-21 11:58:41 +0000
committerwiz <wiz>2011-12-21 11:58:41 +0000
commit207fe753a6b13cce209c06991a4923db8c47ce5f (patch)
treece2ab5117932eb212004aedccefe3c1e57e61bb8 /net/pim6sd/patches
parenta6a847fcf74e45cb82f30ab2a78a96171968c566 (diff)
downloadpkgsrc-207fe753a6b13cce209c06991a4923db8c47ce5f.tar.gz
Fix build with gcc-4.5.
Diffstat (limited to 'net/pim6sd/patches')
-rw-r--r--net/pim6sd/patches/patch-cfparse.y15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/pim6sd/patches/patch-cfparse.y b/net/pim6sd/patches/patch-cfparse.y
new file mode 100644
index 00000000000..75f2a0603bb
--- /dev/null
+++ b/net/pim6sd/patches/patch-cfparse.y
@@ -0,0 +1,15 @@
+$NetBSD: patch-cfparse.y,v 1.1 2011/12/21 11:58:41 wiz Exp $
+
+Fix build with gcc-4.5.
+
+--- cfparse.y.orig 2003-10-21 08:15:45.000000000 +0000
++++ cfparse.y
+@@ -1232,7 +1232,7 @@ cf_post_config()
+
+ /* initialize all the temporary variables */
+ void
+-cf_init(s, d)
++cf_init(int s, int d)
+ {
+ struct uvif *v;
+ mifi_t vifi;