diff options
author | Anders Nordby <anders@FreeBSD.org> | 2005-02-27 14:22:08 +0000 |
---|---|---|
committer | Anders Nordby <anders@FreeBSD.org> | 2005-02-27 14:22:08 +0000 |
commit | 0c13fa71e55117133e5718d0195f5d374c6f747e (patch) | |
tree | e724b976549b80cfd15fa6f180dbf3de68478ed3 /audio/HVSC-Update/files/patch-src-TextFile.h | |
parent | - Fix security vulnerability (buffer overflow) (diff) |
Unbreak build for FreeBSD >= 5.x.
Diffstat (limited to 'audio/HVSC-Update/files/patch-src-TextFile.h')
-rw-r--r-- | audio/HVSC-Update/files/patch-src-TextFile.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/audio/HVSC-Update/files/patch-src-TextFile.h b/audio/HVSC-Update/files/patch-src-TextFile.h new file mode 100644 index 000000000000..2d8fcfc01347 --- /dev/null +++ b/audio/HVSC-Update/files/patch-src-TextFile.h @@ -0,0 +1,23 @@ +--- src/TextFile.h.orig Fri Mar 29 19:35:26 2002 ++++ src/TextFile.h Sun Feb 27 15:03:16 2005 +@@ -10,12 +10,18 @@ + #endif + #include <ctype.h> + #include <fstream.h> +-#include <iostream.h> ++#include <iostream> ++using namespace std; + #include <string.h> + #if defined(HAVE_STRSTREA_H) + #include <strstrea.h> + #else +-#include <strstream.h> ++#include "strstream" ++ ++using std::strstreambuf; ++using std::istrstream; ++using std::ostrstream; ++using std::strstream; + #endif + + #include "fformat.h" // strnicmp stuff |