diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-02-06 14:16:24 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-02-06 14:16:24 +0000 |
commit | 857e094afe4f012e4bca5f4e082c102f5960387b (patch) | |
tree | c95fa0702dd7209a2988401c7ff21e45e4a66cc3 /science/netcdf4/files | |
parent | d7896d335fea2aec52950169a86206063cdee03a (diff) | |
download | ports-857e094afe4f012e4bca5f4e082c102f5960387b.tar.gz ports-857e094afe4f012e4bca5f4e082c102f5960387b.zip |
- Fix build on -current
PR: ports/62431
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=100146
Diffstat (limited to 'science/netcdf4/files')
-rw-r--r-- | science/netcdf4/files/patch-ncvalues.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/science/netcdf4/files/patch-ncvalues.h b/science/netcdf4/files/patch-ncvalues.h new file mode 100644 index 000000000000..1988e2b8746d --- /dev/null +++ b/science/netcdf4/files/patch-ncvalues.h @@ -0,0 +1,20 @@ +--- cxx/ncvalues.h.orig Thu Oct 29 02:10:16 1998 ++++ cxx/ncvalues.h Thu Feb 5 20:51:02 2004 +@@ -14,7 +14,7 @@ + #ifdef STRSTREAM_H_SPEC + # include STRSTREAM_H_SPEC + #else +-# include <strstream.h> ++# include <strstream> + #endif + #include <limits.h> + #include <string.h> +@@ -220,7 +220,7 @@ + char* NcVal(TYPE)::as_string( long n ) const \ + { \ + char* s = new char[32]; \ +- ostrstream ostr(s, sizeof(s)); \ ++ std::ostrstream ostr(s, sizeof(s)); \ + ostr << the_values[n] << ends; \ + return s; \ + } |