ppp/ppp-2.4.1-varargs.patch
cvsdist 70d32a2881 auto-import changelog data from ppp-2.4.1-10.src.rpm
Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
Thu Dec 12 2002 Elliot Lee <sopwith@redhat.com> 2.4.1-9
- Fix build failure by rebuilding
Tue Nov 19 2002 Nalin Dahyabhai <nalin@redhat.com> 2.4.1-8
- rebuild
- set x86_64 to use varargs the way s390 does
2004-09-09 10:41:24 +00:00

12 lines
434 B
Diff

--- ppp-2.4.1/pppd/utils.c Thu Jun 6 16:22:58 2002
+++ ppp-2.4.1/pppd/utils.c Thu Jun 6 16:22:00 2002
@@ -254,7 +254,7 @@
break;
case 'r':
f = va_arg(args, char *);
-#ifndef __powerpc__
+#if !defined(__powerpc__) && !defined(__s390__) && !defined(__s390x__) && !defined(__x86_64__)
n = vslprintf(buf, buflen + 1, f, va_arg(args, va_list));
#else
/* On the powerpc, a va_list is an array of 1 structure */