summaryrefslogtreecommitdiff
path: root/net/ppp/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'net/ppp/patches/patch-af')
-rw-r--r--net/ppp/patches/patch-af15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/ppp/patches/patch-af b/net/ppp/patches/patch-af
new file mode 100644
index 00000000000..51247f59b4c
--- /dev/null
+++ b/net/ppp/patches/patch-af
@@ -0,0 +1,15 @@
+$NetBSD: patch-af,v 1.1 2002/03/07 07:42:16 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;