diff options
| author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2014-06-20 17:17:54 +0000 |
|---|---|---|
| committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2014-06-20 17:17:54 +0000 |
| commit | ce3d606a5b5d25c1a7fa7e2f2ddb75a284d17941 (patch) | |
| tree | da56af4d8dbe76ea4db95f5ac25d17feb92aaabd /graphics/pfstools/files/patch-src-fileformat-exrio.cpp | |
| parent | - Update to 1.0.7 (diff) | |
- Update from 1.6.4 to 1.8.5 [1]
- Use options helpers
PR: ports/191179
Submitted by: ii@any.com.ru [1]
Notes
Notes:
svn path=/head/; revision=358615
Diffstat (limited to 'graphics/pfstools/files/patch-src-fileformat-exrio.cpp')
| -rw-r--r-- | graphics/pfstools/files/patch-src-fileformat-exrio.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/graphics/pfstools/files/patch-src-fileformat-exrio.cpp b/graphics/pfstools/files/patch-src-fileformat-exrio.cpp new file mode 100644 index 000000000000..e2d1f9a16320 --- /dev/null +++ b/graphics/pfstools/files/patch-src-fileformat-exrio.cpp @@ -0,0 +1,28 @@ +--- src/fileformat/exrio.cpp.orig 2005-06-15 13:36:54.000000000 +0000 ++++ src/fileformat/exrio.cpp 2014-02-20 19:04:01.546588828 +0000 +@@ -54,14 +54,14 @@ + } + + DEBUG_STR << "OpenEXR file \"" << filename << "\" (" +- << width << "x" << height << ")" << endl; ++ << width << "x" << height << ")" << std::endl; + } + + void OpenEXRReader::readImage( pfs::Array2D *R, pfs::Array2D *G, + pfs::Array2D *B ) + { + assert(file!=NULL); +- DEBUG_STR << "Reading OpenEXR file... " << endl; ++ DEBUG_STR << "Reading OpenEXR file... " << std::endl; + + Imf::Rgba* tmp_img = new Imf::Rgba[width*height]; + +@@ -93,7 +93,7 @@ + OpenEXRReader::~OpenEXRReader() + { + delete file; +- file==NULL; ++ file=NULL; + } + + OpenEXRWriter::OpenEXRWriter(const char* filename) |
