aboutsummaryrefslogtreecommitdiff
path: root/comms/ecu
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2003-07-18 04:21:26 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2003-07-18 04:21:26 +0000
commitd190a2a92ea4598f86e4e2283f62f093f340ddae (patch)
tree67676f9cde73ecb90fcc4cee52542683efa42bcb /comms/ecu
parentb78a4c4130e48675de6ed757de8bb020e4ce900e (diff)
downloadports-d190a2a92ea4598f86e4e2283f62f093f340ddae.tar.gz
ports-d190a2a92ea4598f86e4e2283f62f093f340ddae.zip
Notes
Diffstat (limited to 'comms/ecu')
-rw-r--r--comms/ecu/files/patch-ae31
-rw-r--r--comms/ecu/files/patch-af32
2 files changed, 63 insertions, 0 deletions
diff --git a/comms/ecu/files/patch-ae b/comms/ecu/files/patch-ae
new file mode 100644
index 000000000000..472ba07e48d2
--- /dev/null
+++ b/comms/ecu/files/patch-ae
@@ -0,0 +1,31 @@
+--- pprintf.c.orig Fri Jul 18 00:04:43 2003
++++ pprintf.c Fri Jul 18 00:06:19 2003
+@@ -40,7 +40,7 @@
+ #if !defined(BUILDING_PROTOTYPES)
+
+ #include <stdio.h>
+-#include <varargs.h>
++#include <stdarg.h>
+
+ /* This must be a typedef not a #define! */
+ typedef char *pointer;
+@@ -50,9 +50,7 @@
+ pprintf(format,va_alist)
+ --------------------------------------------------------------------------*/
+ void
+-pprintf(format, va_alist)
+-char *format;
+-va_dcl
++pprintf(char *format, ...)
+ {
+ va_list args;
+ char c;
+@@ -62,7 +60,7 @@
+ char accum_string[ACCUM_MAX_ALLOWABLE + 1024]; /* fairly fail-safe */
+ char *dp = accum_string;
+
+- va_start(args);
++ va_start(args, format);
+
+ tempfmt[0] = '%';
+ while (c = *format++)
diff --git a/comms/ecu/files/patch-af b/comms/ecu/files/patch-af
new file mode 100644
index 000000000000..fd91bb604e58
--- /dev/null
+++ b/comms/ecu/files/patch-af
@@ -0,0 +1,32 @@
+--- logevent.c.orig Thu Aug 27 15:50:54 1998
++++ logevent.c Fri Jul 18 00:04:31 2003
+@@ -28,7 +28,7 @@
+ #include <sys/locking.h>
+ #endif
+
+-#include <varargs.h>
++#include <stdarg.h>
+
+ /* This must be a typedef not a #define! */
+ typedef char *pointer;
+@@ -74,10 +74,7 @@
+ vlogevent(pid,format,va_alist)
+ --------------------------------------------------------------------------*/
+ void
+-vlogevent(pid, format, va_alist)
+-int pid;
+-char *format;
+-va_dcl
++vlogevent(int pid, char *format, ...)
+ {
+ va_list args;
+ char c;
+@@ -86,7 +83,7 @@
+ char accum_string[256];
+ char *dp = accum_string;
+
+- va_start(args);
++ va_start(args, format);
+
+ tempfmt[0] = '%';
+ while (c = *format++)