summaryrefslogtreecommitdiff
path: root/net/pppload/files/patch-ac
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-01-26 02:56:30 +0000
committerSteve Price <steve@FreeBSD.org>1999-01-26 02:56:30 +0000
commit1265dc060ebbf21ab03bd25a10d8b84305e77652 (patch)
treea6e3c4e0d5898c60f4c8a64e8f3d992444cda284 /net/pppload/files/patch-ac
parentFix to allow commandline options. (diff)
No longer borken for ELF. Honor PREFIX and CFLAGS. Fix build on alpha.
Use X11BASE to find the X11R6 directory. Give rid up a bunch of extra cruft in patch-aa and split into one patch per file.
Notes
Notes: svn path=/head/; revision=16329
Diffstat (limited to 'net/pppload/files/patch-ac')
-rw-r--r--net/pppload/files/patch-ac27
1 files changed, 27 insertions, 0 deletions
diff --git a/net/pppload/files/patch-ac b/net/pppload/files/patch-ac
new file mode 100644
index 000000000000..541be44618ad
--- /dev/null
+++ b/net/pppload/files/patch-ac
@@ -0,0 +1,27 @@
+diff -u --new-file pppload-1.0/Options.H ./Options.H
+--- pppload-1.0/Options.H Tue Sep 10 16:53:36 1996
++++ ./Options.H Thu Jan 29 21:12:01 1998
+@@ -31,6 +31,8 @@
+ int _divider;
+ //: Statistics polling interval in seconds.
+ int _interval;
++ //: Network device to monitor
++ char _device[4];
+ //: PPP link number to monitor.
+ int _link;
+ //: Load averaging interval in seconds.
+@@ -49,9 +51,12 @@
+ //: Extract command line opotions from argc and argv.
+ Options( int argc, char* argv[] );
+
+- //: Return the PPP command.
+- QString& cmd() { return _cmd; }
++ //: Return the PPP command.
++ QString& cmd() { return _cmd; }
+
++ //: Return the name of the device being monitored
++ char * device() { return _device; }
++
+ //: Return the spacing between horizontal dividers.
+ int divider() { return _divider; }
+