From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 27 07:10:29 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BB7E16A4CE for ; Fri, 27 Aug 2004 07:10:29 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04BFA43D41 for ; Fri, 27 Aug 2004 07:10:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i7R7ASfI006659 for ; Fri, 27 Aug 2004 07:10:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7R7AS4s006652; Fri, 27 Aug 2004 07:10:28 GMT (envelope-from gnats) Resent-Date: Fri, 27 Aug 2004 07:10:28 GMT Resent-Message-Id: <200408270710.i7R7AS4s006652@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Roman Bogorodskiy Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B208A16A4CE for ; Fri, 27 Aug 2004 07:07:40 +0000 (GMT) Received: from mx2.mail.ru (mx2.mail.ru [194.67.23.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEAAE43D5E for ; Fri, 27 Aug 2004 07:07:39 +0000 (GMT) (envelope-from bogorodskiy@inbox.ru) Received: from [217.23.66.47] (port=58146 helo=inbox.ru) by mx2.mail.ru with esmtp id 1C0apl-000B4f-00 for FreeBSD-gnats-submit@freebsd.org; Fri, 27 Aug 2004 11:07:38 +0400 Message-Id: Date: Fri, 27 Aug 2004 11:07:38 +0400 From: Roman Bogorodskiy To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/71020: [ maintainer ] sysutils/torsmo: fix build on some 5.2 boxes X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Roman Bogorodskiy List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2004 07:10:29 -0000 >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 #include #include -#include #include #include #include #include #include #include +#include #include #include #include @@ -25,8 +25,6 @@ #include #include #include - -void net_init(); #define GETSYSCTL(name, var) getsysctl(name, &(var), sizeof(var)) #define KELVTOC(x) ((x - 2732) / 10.0) >Release-Note: >Audit-Trail: >Unformatted: