diff options
author | rillig <rillig@pkgsrc.org> | 2007-10-10 18:14:07 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-10-10 18:14:07 +0000 |
commit | f3627f4d2faaab00299858a11cb52927e56fa935 (patch) | |
tree | 898a78aa567abc3ef3255916a280b64491dd6645 /comms/plp/patches | |
parent | 1c808f62808e828da08e0f2ca92bb97b724742b6 (diff) | |
download | pkgsrc-f3627f4d2faaab00299858a11cb52927e56fa935.tar.gz |
Fixed the code the correct way. I somehow forgot to test the last change.
Diffstat (limited to 'comms/plp/patches')
-rw-r--r-- | comms/plp/patches/patch-as | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/comms/plp/patches/patch-as b/comms/plp/patches/patch-as index aeb299a70dd..5b39b73dcda 100644 --- a/comms/plp/patches/patch-as +++ b/comms/plp/patches/patch-as @@ -1,12 +1,23 @@ -$NetBSD: patch-as,v 1.1 2007/10/10 16:57:25 rillig Exp $ +$NetBSD: patch-as,v 1.2 2007/10/10 18:14:07 rillig Exp $ --- utils/bufferstore.h.orig 1999-04-12 21:17:03.000000000 +0000 -+++ utils/bufferstore.h 2007-10-10 16:54:33.000000000 +0000 -@@ -2,7 +2,6 @@ ++++ utils/bufferstore.h 2007-10-10 18:11:58.000000000 +0000 +@@ -1,8 +1,8 @@ + #ifndef _bufferstore_h #define _bufferstore_h ++#include <ostream> #include "bool.h" -class ostream; class bufferStore { public: +@@ -19,7 +19,7 @@ public: + unsigned int getDWord(long pos) const; + const char* getString(long pos=0) const; + void discardFirstBytes(int n); +- friend ostream &operator<<(ostream &s, const bufferStore &m); ++ friend std::ostream &operator<<(std::ostream &s, const bufferStore &m); + bool empty() const; + + // Writing utils |