From owner-freebsd-ports-bugs Fri Feb 7 10:20:12 2003 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 B92B637B405 for ; Fri, 7 Feb 2003 10:20:08 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 402FC43F85 for ; Fri, 7 Feb 2003 10:20:07 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h17IK7NS063576 for ; Fri, 7 Feb 2003 10:20:07 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h17IK7uk063571; Fri, 7 Feb 2003 10:20:07 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8CCF37B401; Fri, 7 Feb 2003 10:18:22 -0800 (PST) Received: from lambda.foldr.org (lambda.foldr.org [198.78.66.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 079BC43FAF; Fri, 7 Feb 2003 10:18:22 -0800 (PST) (envelope-from vs@foldr.org) Received: from theater.foldr.org (root@pD9509C98.dip.t-dialin.net [217.80.156.152]) by lambda.foldr.org (8.12.3/8.11.6) with ESMTP id h17IIANB017497 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK); Fri, 7 Feb 2003 19:18:14 +0100 (CET) (envelope-from vs@foldr.org) Received: from monster.theater.foldr.org (vs@monster.ipv6.foldr.org [IPv6:3ffe:b80:2de:3:2e0:29ff:fe98:abca]) by theater.foldr.org (8.12.5/8.12.5) with ESMTP id h17IIqwK043883 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Fri, 7 Feb 2003 19:18:53 +0100 (CET) (envelope-from vs@monster.theater.foldr.org) Received: (from vs@localhost) by monster.theater.foldr.org (8.12.6/8.12.6/Submit) id h17II4UR015115; Fri, 7 Feb 2003 19:18:04 +0100 (CET) (envelope-from vs) Message-Id: <200302071818.h17II4UR015115@monster.theater.foldr.org> Date: Fri, 7 Feb 2003 19:18:04 +0100 (CET) From: Volker Stolz Reply-To: Volker Stolz To: FreeBSD-gnats-submit@FreeBSD.org Cc: arved@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/48056: [patch] net/pppload: fix build on -current (bento) Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 48056 >Category: ports >Synopsis: [patch] net/pppload: fix build on -current (bento) >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: Fri Feb 07 10:20:06 PST 2003 >Closed-Date: >Last-Modified: >Originator: Volker Stolz >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD monster.theater.foldr.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sun Nov 24 14:40:01 CET 2002 root@monster.theater.foldr.org:/usr/obj/usr/src/sys/MONSTER i386 >Description: bento noticed that pppload lacks a std-include. >How-To-Repeat: >Fix: Patch existing patchfile: --- files/patch-ab.orig Fri Feb 7 19:13:59 2003 +++ files/patch-ab Fri Feb 7 19:14:29 2003 @@ -1,6 +1,14 @@ ---- Options.C.orig Tue Sep 10 18:55:27 1996 -+++ Options.C Sat Feb 26 17:06:11 2000 -@@ -26,6 +26,7 @@ +--- Options.C.orig Wed Sep 11 01:55:27 1996 ++++ Options.C Fri Feb 7 19:12:41 2003 +@@ -19,6 +19,7 @@ + + extern "C" { + #include ++#include + } + + #include "Options.H" +@@ -26,6 +27,7 @@ Options::Options( int argc, char* argv[] ) : _divider( 512 ), _interval( 5 ), _link( 0 ), _period( 60 ), _retry( 60 ), _showTx( true ), _showRx( true ), _txColor( "forestgreen" ), _rxColor( "red" ) { @@ -8,7 +16,7 @@ for ( int i = 1; i < argc; i++ ) { if ( !strcmp( argv[i], "-cmd" ) ) { _cmd = argv[++i]; -@@ -33,6 +34,8 @@ +@@ -33,6 +35,8 @@ sscanf( argv[++i], "%d", &_divider ); } else if ( !strcmp( argv[i], "-i" ) ) { sscanf( argv[++i], "%d", &_interval ); @@ -17,7 +25,7 @@ } else if ( !strcmp( argv[i], "-link" ) ) { sscanf( argv[++i], "%d", &_link ); } else if ( !strcmp( argv[i], "-p" ) ) { -@@ -60,6 +63,7 @@ +@@ -60,6 +64,7 @@ fprintf( stderr, "-d n Horizontal divider spacing in bytes per second (default: %d).\n", divider() ); fprintf( stderr, "-h Print this help.\n" ); fprintf( stderr, "-i interval Set the polling interval to be 'interval' seconds (default: %d).\n", interval() ); @@ -25,7 +33,7 @@ fprintf( stderr, "-link link The PPP link number to monitor (default: %d).\n", link() ); fprintf( stderr, "-p period Set the load averaging period to be 'period seconds (default: %d).\n", period() ); fprintf( stderr, "-retry interval Time between retries when dialling PPP link (default: %d).\n", retry() ); -@@ -74,7 +78,7 @@ +@@ -74,7 +79,7 @@ fprintf( stderr, "pppload comes with ABSOLUTELY NO WARRANTY; for details see the LICENSE file.\n" ); fprintf( stderr, "This is free software, and you are welcome to redistribute it\n" ); fprintf( stderr, "under certain conditions; see the LICENSE file for details.\n" ); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message