From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 15 17:30:23 2003 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 D457A16A4B3 for ; Wed, 15 Oct 2003 17:30:23 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2F2243FBF for ; Wed, 15 Oct 2003 17:30:20 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9G0UKFY040038 for ; Wed, 15 Oct 2003 17:30:20 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9G0UKD7040037; Wed, 15 Oct 2003 17:30:20 -0700 (PDT) (envelope-from gnats) Resent-Date: Wed, 15 Oct 2003 17:30:20 -0700 (PDT) Resent-Message-Id: <200310160030.h9G0UKD7040037@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, Michael Edenfield Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB55B16A4B3 for ; Wed, 15 Oct 2003 17:26:38 -0700 (PDT) Received: from basement.kutulu.org (pcp03610121pcs.longhl01.md.comcast.net [68.49.239.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2208B43FE5 for ; Wed, 15 Oct 2003 17:26:37 -0700 (PDT) (envelope-from kutulu@kutulu.org) Received: from wombat.localnet (wombat.localnet [192.168.69.3]) by basement.kutulu.org (Postfix) with ESMTP id 81BE7A9FA for ; Wed, 15 Oct 2003 20:26:36 -0400 (EDT) Received: by wombat.localnet (Postfix, from userid 1001) id 4091EB855; Wed, 15 Oct 2003 20:26:36 -0400 (EDT) Message-Id: <20031016002636.4091EB855@wombat.localnet> Date: Wed, 15 Oct 2003 20:26:36 -0400 (EDT) From: Michael Edenfield To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/58098: net/ttt: fix build on 5.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Michael Edenfield List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2003 00:30:24 -0000 X-List-Received-Date: Thu, 16 Oct 2003 00:30:24 -0000 >Number: 58098 >Category: ports >Synopsis: net/ttt: fix build on 5.x >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: Wed Oct 15 17:30:20 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Michael Edenfield >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD wombat.localnet 5.1-CURRENT FreeBSD 5.1-CURRENT #7: Sun Aug 24 21:35:57 EDT 2003 root@wombat.localnet:/usr/obj/usr/src/sys/ATHLON i386 >Description: >How-To-Repeat: >Fix: --- patch.ttt begins here --- diff -urN ttt.orig/files/patch-common.c ttt/files/patch-common.c --- ttt.orig/files/patch-common.c Wed Dec 31 19:00:00 1969 +++ ttt/files/patch-common.c Wed Oct 15 20:20:12 2003 @@ -0,0 +1,26 @@ +--- common.c.orig Wed Oct 15 19:40:27 2003 ++++ common.c Wed Oct 15 19:41:07 2003 +@@ -44,20 +44,17 @@ + + #include + #include +-#include ++#include + +-void fatal_error(va_alist) +- va_dcl ++void fatal_error(const char *fmt, ...) + { + va_list ap; +- char *fmt; + + if (errno != 0) + perror("fatal_error"); + else + fprintf(stderr, "fatal_error: "); +- va_start(ap); +- fmt = va_arg(ap, char *); ++ va_start(ap, fmt); + vfprintf(stderr, fmt, ap); + va_end(ap); + fprintf(stderr, "\n"); diff -urN ttt.orig/files/patch-ttt.h ttt/files/patch-ttt.h --- ttt.orig/files/patch-ttt.h Wed Dec 31 19:00:00 1969 +++ ttt/files/patch-ttt.h Wed Oct 15 19:41:34 2003 @@ -0,0 +1,11 @@ +--- ttt.h.orig Wed Oct 15 19:41:11 2003 ++++ ttt.h Wed Oct 15 19:41:23 2003 +@@ -78,7 +78,7 @@ + extern int ttt_yscale; /* scale of y axis */ + extern struct timeval ttt_dumptime; + +-extern void fatal_error(/*const char *fmt, ...*/); ++extern void fatal_error(const char *fmt, ...); + + /* function prototypes */ + --- patch.ttt ends here --- >Release-Note: >Audit-Trail: >Unformatted: