From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Aug 30 15:41:34 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 1232816A4BF for ; Sat, 30 Aug 2003 15:41:34 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B302444029 for ; Sat, 30 Aug 2003 15:40:27 -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 h7UMeHUp065621 for ; Sat, 30 Aug 2003 15:40:17 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h7UMeHQm065620; Sat, 30 Aug 2003 15:40:17 -0700 (PDT) Resent-Date: Sat, 30 Aug 2003 15:40:17 -0700 (PDT) Resent-Message-Id: <200308302240.h7UMeHQm065620@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 B2B9E16A4BF for ; Sat, 30 Aug 2003 15:36:39 -0700 (PDT) Received: from basement.kutulu.org (pcp03610121pcs.longhl01.md.comcast.net [68.49.239.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F59B43F85 for ; Sat, 30 Aug 2003 15:36:39 -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 A1C5CAB4A for ; Sat, 30 Aug 2003 18:36:58 -0400 (EDT) Received: by wombat.localnet (Postfix, from userid 1001) id 15FF8B82A; Sat, 30 Aug 2003 18:32:46 -0400 (EDT) Message-Id: <20030830223246.15FF8B82A@wombat.localnet> Date: Sat, 30 Aug 2003 18:32:46 -0400 (EDT) From: Michael Edenfield To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/56214: net/cap: file build on -current 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: Sat, 30 Aug 2003 22:41:34 -0000 >Number: 56214 >Category: ports >Synopsis: net/cap: file build on -current >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: Sat Aug 30 15:40:17 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: o varargs -> stdarg o remove non-existant host from {MASTER,PATCH}_SITES: # host ftp-ns.rutgers.edu Host not found. >How-To-Repeat: >Fix: --- cap.patch begins here --- diff -urN cap.orig/Makefile cap/Makefile --- cap.orig/Makefile Thu Feb 20 13:50:52 2003 +++ cap/Makefile Sat Aug 30 18:20:58 2003 @@ -9,9 +9,7 @@ PORTVERSION= 6.0.198 PORTREVISION= 1 CATEGORIES= net -MASTER_SITES= ftp://ftp-ns.rutgers.edu/pub/cap/ \ - ftp://ftp-ns.rutgers.edu/pub/cap/cap.patches/ \ - ftp://munnari.OZ.AU/mac/ \ +MASTER_SITES= ftp://munnari.OZ.AU/mac/ \ ftp://munnari.OZ.AU/mac/cap.patches/ \ ftp://ftp.kuis.kyoto-u.ac.jp/net/cap/ \ ftp://ftp.kuis.kyoto-u.ac.jp/net/cap/cap60.patches/ @@ -19,8 +17,7 @@ patches.144-154.tar.Z patches.155-162.tar.Z \ patches.163-182.tar.Z patches.183-192.tar.Z -PATCH_SITES= ftp://ftp-ns.rutgers.edu/pub/cap/cap.patches/ \ - ftp://munnari.OZ.AU/mac/cap.patches/ +PATCH_SITES= ftp://munnari.OZ.AU/mac/cap.patches/ PATCHFILES= cap60.patch193 cap60.patch194 cap60.patch195 cap60.patch196 \ cap60.patch197 cap60.patch198 diff -urN cap.orig/files/patch-lib-cap-ablog.c cap/files/patch-lib-cap-ablog.c --- cap.orig/files/patch-lib-cap-ablog.c Mon Feb 3 07:11:14 2003 +++ cap/files/patch-lib-cap-ablog.c Sat Aug 30 18:26:48 2003 @@ -1,6 +1,6 @@ ---- lib/cap/ablog.c.orig Mon Feb 3 01:16:00 2003 -+++ lib/cap/ablog.c Mon Feb 3 03:48:59 2003 -@@ -24,6 +24,7 @@ +--- lib/cap/ablog.c.orig Sat Aug 30 18:19:18 2003 ++++ lib/cap/ablog.c Sat Aug 30 18:25:05 2003 +@@ -24,13 +24,14 @@ * */ @@ -8,6 +8,14 @@ #include #include #include + #include + + #ifdef USEVPRINTF +-# include ++# include + #endif USEVPRINTF + #ifdef USETIMES + # include @@ -66,8 +67,13 @@ * This is something all machine should, but don't have :-) */ @@ -23,7 +31,20 @@ #ifndef USEVPRINTF /* Bletch - gotta do it because pyramids don't work the other way */ -@@ -91,7 +97,7 @@ +@@ -79,19 +85,16 @@ + char *fmt; + #else USEVPRINTF + /*VARARGS*/ +-logit(va_alist) +-va_dcl ++logit(int level, char *fmt, ...) + #endif USEVPRINTF + { + static char *mytod(); + #ifdef USEVPRINTF +- register char *fmt; + va_list args; +- int level; #endif USEVPRINTF int saveerr; extern int errno; @@ -32,3 +53,14 @@ #ifndef __FreeBSD__ extern char *sys_errlist[]; #endif +@@ -101,9 +104,7 @@ + + saveerr = errno; + #ifdef USEVPRINTF +- va_start(args); +- level = va_arg(args, int); +- fmt = va_arg(args, char *); ++ va_start(args, fmt); + #endif USEVPRINTF + + if (dlevel < (level & L_LVL)) --- cap.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: