Date: Fri, 27 Aug 2004 11:07:38 +0400 From: Roman Bogorodskiy <bogorodskiy@inbox.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/71020: [ maintainer ] sysutils/torsmo: fix build on some 5.2 boxes Message-ID: <E1C0apl-000B4f-00.bogorodskiy-inbox-ru@mx2.mail.ru> Resent-Message-ID: <200408270710.i7R7AS4s006652@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 71020 >Category: ports >Synopsis: [ maintainer ] sysutils/torsmo: fix build on some 5.2 boxes >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Aug 27 07:10:28 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Roman Bogorodskiy >Release: FreeBSD 5.3-BETA1 i386 >Organization: >Environment: System: FreeBSD lame.novel.ru 5.3-BETA1 FreeBSD 5.3-BETA1 #3: Wed Aug 25 10:44:08 MSD 2004 root@lame.novel.ru:/usr/obj/usr/home/novel/current/src/sys/NOVEL i386 >Description: - It was reported that torsmo fails to build on some 5.2 boxes, changing includes order fixes it. - Removed unused function prototype. >How-To-Repeat: >Fix: diff -ruN torsmo.orig/files/freebsd.c torsmo/files/freebsd.c --- torsmo.orig/files/freebsd.c Wed Aug 25 16:26:28 2004 +++ torsmo/files/freebsd.c Wed Aug 25 16:31:26 2004 @@ -11,13 +11,13 @@ #include <stdlib.h> #include <string.h> #include <kvm.h> -#include <sys/dkstat.h> #include <sys/param.h> #include <sys/types.h> #include <sys/time.h> #include <sys/resource.h> #include <sys/sysctl.h> #include <sys/vmmeter.h> +#include <sys/dkstat.h> #include <unistd.h> #include <sys/user.h> #include <sys/socket.h> @@ -25,8 +25,6 @@ #include <net/if_mib.h> #include <sys/socket.h> #include <ifaddrs.h> - -void net_init(); #define GETSYSCTL(name, var) getsysctl(name, &(var), sizeof(var)) #define KELVTOC(x) ((x - 2732) / 10.0) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1C0apl-000B4f-00.bogorodskiy-inbox-ru>