diff options
author | steve <steve@FreeBSD.org> | 2000-02-27 22:49:03 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-02-27 22:49:03 +0800 |
commit | d383eb8e00dbaf0f43c1d3150864f5a1de1398f7 (patch) | |
tree | 5c9447da40a69c53825d7765d0e69d39dabbc32c /net/pppload | |
parent | 79907733776de0535f3ff1463f4a1bd9f85be30c (diff) | |
download | freebsd-ports-gnome-d383eb8e00dbaf0f43c1d3150864f5a1de1398f7.tar.gz freebsd-ports-gnome-d383eb8e00dbaf0f43c1d3150864f5a1de1398f7.tar.zst freebsd-ports-gnome-d383eb8e00dbaf0f43c1d3150864f5a1de1398f7.zip |
Make this port build again on -current.
Diffstat (limited to 'net/pppload')
-rw-r--r-- | net/pppload/files/patch-ab | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/net/pppload/files/patch-ab b/net/pppload/files/patch-ab index 2c7732baae69..0e823f1d61bb 100644 --- a/net/pppload/files/patch-ab +++ b/net/pppload/files/patch-ab @@ -1,16 +1,14 @@ -diff -u --new-file pppload-1.0/Options.C ./Options.C ---- pppload-1.0/Options.C Tue Sep 10 16:55:27 1996 -+++ ./Options.C Fri Jan 30 20:01:38 1998 -@@ -24,7 +24,7 @@ - #include "Options.H" - +--- Options.C.orig Tue Sep 10 18:55:27 1996 ++++ Options.C Sat Feb 26 17:06:11 2000 +@@ -26,6 +26,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" ) -+: _divider( 512 ), _interval( 5 ), _device("tun"), _link( 0 ), _period( 60 ), _retry( 60 ), _showTx( true ), _showRx( true ), _txColor( "forestgreen" ), _rxColor( "red" ) + : _divider( 512 ), _interval( 5 ), _link( 0 ), _period( 60 ), _retry( 60 ), _showTx( true ), _showRx( true ), _txColor( "forestgreen" ), _rxColor( "red" ) { ++ strcpy(_device, "tun"); for ( int i = 1; i < argc; i++ ) { if ( !strcmp( argv[i], "-cmd" ) ) { -@@ -33,6 +33,8 @@ + _cmd = argv[++i]; +@@ -33,6 +34,8 @@ sscanf( argv[++i], "%d", &_divider ); } else if ( !strcmp( argv[i], "-i" ) ) { sscanf( argv[++i], "%d", &_interval ); @@ -19,7 +17,7 @@ diff -u --new-file pppload-1.0/Options.C ./Options.C } else if ( !strcmp( argv[i], "-link" ) ) { sscanf( argv[++i], "%d", &_link ); } else if ( !strcmp( argv[i], "-p" ) ) { -@@ -60,6 +62,7 @@ +@@ -60,6 +63,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() ); @@ -27,7 +25,7 @@ diff -u --new-file pppload-1.0/Options.C ./Options.C 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 +77,7 @@ +@@ -74,7 +78,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" ); |