From c9a0ed137fd69e2758d127520b34c21963545385 Mon Sep 17 00:00:00 2001 From: jmc Date: Thu, 7 Mar 2002 07:41:39 +0000 Subject: Fix call for vslprintf to work on netbsd/powerpc --- net/ppp-mppe/distinfo | 3 ++- net/ppp-mppe/patches/patch-dg | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 net/ppp-mppe/patches/patch-dg (limited to 'net/ppp-mppe') 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; -- cgit v1.2.3