summaryrefslogtreecommitdiff
path: root/net/ppp-mppe
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2002-03-07 07:41:39 +0000
committerjmc <jmc@pkgsrc.org>2002-03-07 07:41:39 +0000
commit93f23cdcb00368dc4cbbd031b804bb05140212c4 (patch)
treea5d9741b0635dafb219574c975227a0158a0623f /net/ppp-mppe
parentbfd38826b41881664217208c304e305f648e1668 (diff)
downloadpkgsrc-93f23cdcb00368dc4cbbd031b804bb05140212c4.tar.gz
Fix call for vslprintf to work on netbsd/powerpc
Diffstat (limited to 'net/ppp-mppe')
-rw-r--r--net/ppp-mppe/distinfo3
-rw-r--r--net/ppp-mppe/patches/patch-dg15
2 files changed, 17 insertions, 1 deletions
diff --git a/net/ppp-mppe/distinfo b/net/ppp-mppe/distinfo
index 8a21d78271d..22d73b4c510 100644
--- a/net/ppp-mppe/distinfo
+++ b/net/ppp-mppe/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2001/04/21 11:23:31 wiz Exp $
+$NetBSD: distinfo,v 1.3 2002/03/07 07:41:39 jmc Exp $
SHA1 (ppp-2.3.9.tar.gz) = ef5ef4686f6738193ec88972902f9a5a6fb8f5dd
Size (ppp-2.3.9.tar.gz) = 768540 bytes
@@ -56,3 +56,4 @@ SHA1 (patch-dc) = 8743c0b620edae4b72677b90a5bdda2fff1aed95
SHA1 (patch-dd) = eef0d7a9cb0b91542436d1a272425a0e390687f2
SHA1 (patch-de) = 795b3b48dd00789d806bab2aac3466f3b0f2b56e
SHA1 (patch-df) = de7274ec92a84cfdfa76a61a2c3f1b6856dbdc90
+SHA1 (patch-dg) = 1afd9a7c3357abe0dbee8cb597e2a64bce4e8f89
diff --git a/net/ppp-mppe/patches/patch-dg b/net/ppp-mppe/patches/patch-dg
new file mode 100644
index 00000000000..595f18af707
--- /dev/null
+++ b/net/ppp-mppe/patches/patch-dg
@@ -0,0 +1,15 @@
+$NetBSD: patch-dg,v 1.1 2002/03/07 07:41:40 jmc Exp $
+
+--- pppd/utils.c.orig Thu Mar 7 07:35:26 2002
++++ pppd/utils.c Thu Mar 7 07:36:39 2002
+@@ -252,8 +252,10 @@
+ #ifndef __powerpc__
+ n = vslprintf(buf, buflen + 1, f, va_arg(args, va_list));
+ #else
++#ifndef __NetBSD__
+ /* On the powerpc, a va_list is an array of 1 structure */
+ n = vslprintf(buf, buflen + 1, f, va_arg(args, void *));
++#endif
+ #endif
+ buf += n;
+ buflen -= n;