ports/63416: bento-fix: sysutils/bkpupsd
Hendrik Scholz
hendrik at scholz.net
Thu Feb 26 22:30:08 UTC 2004
>Number: 63416
>Category: ports
>Synopsis: bento-fix: sysutils/bkpupsd
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 26 14:30:08 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Hendrik Scholz
>Release: FreeBSD 5.2.1-RC amd64
>Organization:
>Environment:
System: FreeBSD slurmcan.wormulon.net 5.2.1-RC FreeBSD 5.2.1-RC #0: Sat Jan 31 12:38:34 GMT 2004 root at ngoc.NUXI.com:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
bentofix:
http://bento.freebsd.org/errorlogs/amd64-5-latest/bkpupsd-1.0a.log
affects all platforms:
http://people.freebsd.org/~fenner/errorlogs/mwatts@edu1.tokyo-med.ac.jp.html
>How-To-Repeat:
>Fix:
--- bkpupsd-varargs.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/FreeBSD-CVS/ports/sysutils/bkpupsd/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile 23 Dec 2003 05:45:34 -0000 1.6
+++ Makefile 26 Feb 2004 22:18:24 -0000
@@ -15,10 +15,4 @@
MAN8= bkpupsd.8
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile due to deprecation of varargs.h"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: files/patch-ab
===================================================================
RCS file: /home/FreeBSD-CVS/ports/sysutils/bkpupsd/files/patch-ab,v
retrieving revision 1.2
diff -u -r1.2 patch-ab
--- files/patch-ab 5 Aug 1999 05:22:49 -0000 1.2
+++ files/patch-ab 26 Feb 2004 22:18:24 -0000
@@ -1,6 +1,6 @@
---- src/bkpupsd.c.old Wed Aug 4 13:45:10 1999
-+++ src/bkpupsd.c Wed Aug 4 13:55:24 1999
-@@ -27,9 +27,12 @@
+--- src/bkpupsd.c.orig Sun Aug 3 13:11:23 1997
++++ src/bkpupsd.c Thu Feb 26 17:17:09 2004
+@@ -27,14 +27,17 @@
*/
#include <stdio.h>
@@ -13,6 +13,12 @@
#include <sys/types.h>
#include <sys/ioctl.h>
#include <signal.h>
+ #include <syslog.h>
+-#include <varargs.h>
++#include <stdarg.h>
+
+ #define POWER_TIMEOUT 5*60
+ #define DEFAULT_PORT "/dev/cuaa1"
@@ -44,16 +47,16 @@
#define SH_RESTORED "/usr/local/libexec/bkpupsd/bkpups.restored"
#define SH_BATTLOW "/usr/local/libexec/bkpupsd/bkpups.battlow"
--- bkpupsd-varargs.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list