diff options
author | James E. Housley <jeh@FreeBSD.org> | 2003-11-22 02:20:34 +0000 |
---|---|---|
committer | James E. Housley <jeh@FreeBSD.org> | 2003-11-22 02:20:34 +0000 |
commit | 4779460643349bd052b5b4c2702beaf2abda251e (patch) | |
tree | 68f41ae76ec63feecf8f51a515be1b2117c064fd /misc/brs/files | |
parent | Update f-prot to 4.3.0. (diff) |
misc/brs stopped compiling on -CURRENT due to an obsolete header. Here's a fix, written by Volker Stolz. Thanks Volker!
PR: 59570
Submitted by: MAINTAINER
Diffstat (limited to 'misc/brs/files')
-rw-r--r-- | misc/brs/files/patch-ad | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/misc/brs/files/patch-ad b/misc/brs/files/patch-ad new file mode 100644 index 000000000000..f13e8744e91d --- /dev/null +++ b/misc/brs/files/patch-ad @@ -0,0 +1,63 @@ +*** tsl.c.orig Wed Aug 9 19:47:29 1995 +--- tsl.c Fri Nov 21 17:31:35 2003 +*************** +*** 106,112 **** + \*----------------------------------------------------------------------*/ + + #include <stdio.h> +! #include <varargs.h> + #include "tsl.h" + + +--- 106,112 ---- + \*----------------------------------------------------------------------*/ + + #include <stdio.h> +! #include <stdarg.h> + #include "tsl.h" + + +*************** +*** 155,161 **** + + + +! tsl_error( fatal, va_alist ) + /*---------------------------------------------------------------------- + | NAME: + | tsl_error +--- 155,161 ---- + + + +! tsl_error( int fatal, ... ) + /*---------------------------------------------------------------------- + | NAME: + | tsl_error +*************** +*** 172,184 **** + | + \*----------------------------------------------------------------------*/ + +- int fatal; +- va_dcl + { + va_list ap; + char *format; + +! va_start(ap); + + format = va_arg(ap, char *); + vfprintf(stderr, format, ap); +--- 172,182 ---- + | + \*----------------------------------------------------------------------*/ + + { + va_list ap; + char *format; + +! va_start(ap, fatal); + + format = va_arg(ap, char *); + vfprintf(stderr, format, ap); |