View | Details | Raw Unified | Return to bug 63416
Collapse All | Expand All

(-)Makefile (-7 / +1 lines)
Lines 15-24 Link Here
15
15
16
MAN8=		bkpupsd.8
16
MAN8=		bkpupsd.8
17
17
18
.include <bsd.port.pre.mk>
18
.include <bsd.port.mk>
19
20
.if ${OSVERSION} >= 500113
21
BROKEN=		"Does not compile due to deprecation of varargs.h"
22
.endif
23
24
.include <bsd.port.post.mk>
(-)files/patch-ab (-3 / +9 lines)
Lines 1-6 Link Here
1
--- src/bkpupsd.c.old	Wed Aug  4 13:45:10 1999
1
--- src/bkpupsd.c.orig	Sun Aug  3 13:11:23 1997
2
+++ src/bkpupsd.c	Wed Aug  4 13:55:24 1999
2
+++ src/bkpupsd.c	Thu Feb 26 17:17:09 2004
3
@@ -27,9 +27,12 @@
3
@@ -27,14 +27,17 @@
4
  */
4
  */
5
 
5
 
6
 #include <stdio.h>
6
 #include <stdio.h>
Lines 13-18 Link Here
13
 #include <sys/types.h>
13
 #include <sys/types.h>
14
 #include <sys/ioctl.h>
14
 #include <sys/ioctl.h>
15
 #include <signal.h>
15
 #include <signal.h>
16
 #include <syslog.h>
17
-#include <varargs.h>
18
+#include <stdarg.h>
19
 
20
 #define POWER_TIMEOUT		5*60
21
 #define DEFAULT_PORT		"/dev/cuaa1"
16
@@ -44,16 +47,16 @@
22
@@ -44,16 +47,16 @@
17
 #define SH_RESTORED		"/usr/local/libexec/bkpupsd/bkpups.restored"
23
 #define SH_RESTORED		"/usr/local/libexec/bkpupsd/bkpups.restored"
18
 #define SH_BATTLOW		"/usr/local/libexec/bkpupsd/bkpups.battlow"
24
 #define SH_BATTLOW		"/usr/local/libexec/bkpupsd/bkpups.battlow"

Return to bug 63416