diff options
author | naddy <naddy@FreeBSD.org> | 2003-02-11 23:23:45 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2003-02-11 23:23:45 +0800 |
commit | d95b910e75ed47ad4d61414628d184f41723a180 (patch) | |
tree | 0c717697012014d0d671ffd188acf5518b55ad73 /net | |
parent | f25e96a888430661d6262f1dca994a86ed8bbac5 (diff) | |
download | freebsd-ports-gnome-d95b910e75ed47ad4d61414628d184f41723a180.tar.gz freebsd-ports-gnome-d95b910e75ed47ad4d61414628d184f41723a180.tar.zst freebsd-ports-gnome-d95b910e75ed47ad4d61414628d184f41723a180.zip |
Fix build on -CURRENT.
PR: 48056
Submitted by: Volker Stolz <vs@foldr.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/pppload/files/patch-ab | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/net/pppload/files/patch-ab b/net/pppload/files/patch-ab index 0e823f1d61bb..c4beef9c6a50 100644 --- a/net/pppload/files/patch-ab +++ b/net/pppload/files/patch-ab @@ -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 <stdio.h> ++#include <stdlib.h> + } + + #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" ); |