diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-08-21 16:34:07 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-08-21 16:34:07 +0000 |
commit | 142fd293c76cce7eee416ad66e4cc802277725a2 (patch) | |
tree | d996c25035a778f64113103ec3fd8f3b1d407006 /net/cap/files | |
parent | - Sneak CXX into configure script as CC. Configure script ignores CXX and keeps (diff) |
fix build with gcc3.4
Diffstat (limited to 'net/cap/files')
-rw-r--r-- | net/cap/files/patch-papif.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net/cap/files/patch-papif.c b/net/cap/files/patch-papif.c new file mode 100644 index 000000000000..25f47e001577 --- /dev/null +++ b/net/cap/files/patch-papif.c @@ -0,0 +1,20 @@ +--- applications/papif/papif.c.orig Sat Aug 21 18:29:42 2004 ++++ applications/papif/papif.c Sat Aug 21 18:31:17 2004 +@@ -244,6 +244,17 @@ + #define lpd_REPRINT 1 /* forces a reprint */ + #define lpd_ERRORS 2 /* printed with errors */ + ++#ifndef USEVPRINTF ++/* Bletch - gotta do it because pyramids don't work the other way */ ++/* (using _doprnt and &args) and don't have vprintf */ ++/* of course, there will be something that is just one arg larger :-) */ ++/* VARARGS1 */ ++dolog(fmt, a1,a2,a3,a4,a5,a6,a7,a8,a9,aa,ab,ac,ad,ae,af); ++char *fmt; ++#else ++dolog(register char *fmt, ...); ++#endif ++ + #ifdef USESYSLOG + #ifdef __STDC__ + log_i(fmt, a1,a2,a3,a4,a5,a6,a7,a8,a9,aa,ab,ac,ad,ae,af) |