summaryrefslogtreecommitdiff
path: root/chat/icb/patches
diff options
context:
space:
mode:
authortron <tron>2003-09-28 19:29:37 +0000
committertron <tron>2003-09-28 19:29:37 +0000
commited83b43ff15f2abda8ce6fee149f303e97824a83 (patch)
tree9eedebb42f95d683c7c243df590e9989d0b151a0 /chat/icb/patches
parent35cb645712d52afca60a21fbea2ad0d62b00aae2 (diff)
downloadpkgsrc-ed83b43ff15f2abda8ce6fee149f303e97824a83.tar.gz
Fix GCC 3.3.1 related build problem.
Diffstat (limited to 'chat/icb/patches')
-rw-r--r--chat/icb/patches/patch-au37
1 files changed, 37 insertions, 0 deletions
diff --git a/chat/icb/patches/patch-au b/chat/icb/patches/patch-au
new file mode 100644
index 00000000000..d0534e96b83
--- /dev/null
+++ b/chat/icb/patches/patch-au
@@ -0,0 +1,37 @@
+$NetBSD: patch-au,v 1.1 2003/09/28 19:29:37 tron Exp $
+
+--- tcl/panic.c.orig 1995-02-24 22:19:49.000000000 +0100
++++ tcl/panic.c 2003-09-28 21:27:47.000000000 +0200
+@@ -19,7 +19,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <varargs.h>
++#include <stdarg.h>
+
+ /*
+ *----------------------------------------------------------------------
+@@ -39,18 +39,19 @@
+
+ #ifndef lint
+ void
+-panic(va_alist)
+- va_dcl /* char *format, then any number of additional
++panic(char *format, ...)
++ /* char *format, then any number of additional
+ * values to be printed under the control of
+ * format. This is all just the same as you'd
+ * pass to printf. */
+ {
+- char *format;
+ va_list args;
++ char *format;
+
+- va_start(args);
++ va_start(args, format);
+ format = va_arg(args, char *);
+ (void) vfprintf(stderr, format, args);
++ va_end(args);
+ (void) fflush(stderr);
+ abort();
+ }