From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 31 08:50:14 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org 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 0DCD816A420 for ; Fri, 31 Mar 2006 08:50:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C29043D49 for ; Fri, 31 Mar 2006 08:50:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2V8oDsr036609 for ; Fri, 31 Mar 2006 08:50:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2V8oDQM036608; Fri, 31 Mar 2006 08:50:13 GMT (envelope-from gnats) Resent-Date: Fri, 31 Mar 2006 08:50:13 GMT Resent-Message-Id: <200603310850.k2V8oDQM036608@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, Ed Schouten Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08D8016A401 for ; Fri, 31 Mar 2006 08:46:46 +0000 (UTC) (envelope-from ed@zonk.fxq.nl) Received: from swip.net (mailfe10.swip.net [212.247.155.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E5B243D45 for ; Fri, 31 Mar 2006 08:46:44 +0000 (GMT) (envelope-from ed@zonk.fxq.nl) Received: from [83.181.147.170] (HELO zonk.fxq.nl) by mailfe10.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTPS id 1427304 for FreeBSD-gnats-submit@freebsd.org; Fri, 31 Mar 2006 10:46:42 +0200 Received: from zonk.fxq.nl (localhost [127.0.0.1]) by zonk.fxq.nl (8.13.4/8.13.4) with ESMTP id k2V8kr7c079003 for ; Fri, 31 Mar 2006 10:46:53 +0200 (CEST) (envelope-from ed@zonk.fxq.nl) Received: (from ed@localhost) by zonk.fxq.nl (8.13.4/8.13.4/Submit) id k2V8krxK079002; Fri, 31 Mar 2006 10:46:53 +0200 (CEST) (envelope-from ed) Message-Id: <200603310846.k2V8krxK079002@zonk.fxq.nl> Date: Fri, 31 Mar 2006 10:46:53 +0200 (CEST) From: Ed Schouten To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/95148: [dns/totd] Does not compile on FreeBSD CURRENT X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ed Schouten List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 08:50:14 -0000 >Number: 95148 >Category: ports >Synopsis: [dns/totd] Does not compile on FreeBSD CURRENT >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 31 08:50:12 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Ed Schouten >Release: FreeBSD 7.0-CURRENT i386 >Organization: n/a >Environment: System: FreeBSD zonk.fxq.nl 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Mon Mar 27 20:33:56 CEST 2006 root@zonk.fxq.nl:/usr/obj/export/src/sys/ZONK i386 >Description: I tried to compile totd on my desktop running FreeBSD, but it fails because totd is compiled with -Werr and GCC raises a warning at totd.c:507; tv_sec is a time_t, not a long. >How-To-Repeat: Install FreeBSD CURRENT on a machine and try to compile totd. Compilation will stop at totd.c. >Fix: The following diff should be stored in /usr/ports/dns/totd/files/: %%% --- totd.c Fri Mar 31 10:40:55 2006 +++ totd.c Fri Mar 31 10:41:14 2006 @@ -504,7 +504,7 @@ tvp = &tv_out; if (T.debug > 2) syslog (LOG_DEBUG, "next timeout after %ld s.", - tv_out.tv_sec); + (long)tv_out.tv_sec); } } %%% >Release-Note: >Audit-Trail: >Unformatted: