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-pfsoutpfm.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-pfsoutpfm.cpp')
| -rw-r--r-- | graphics/pfstools/files/patch-src-fileformat-pfsoutpfm.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/pfstools/files/patch-src-fileformat-pfsoutpfm.cpp b/graphics/pfstools/files/patch-src-fileformat-pfsoutpfm.cpp new file mode 100644 index 000000000000..e4efb7e6edf5 --- /dev/null +++ b/graphics/pfstools/files/patch-src-fileformat-pfsoutpfm.cpp @@ -0,0 +1,20 @@ +--- src/fileformat/pfsoutpfm.cpp.orig 2005-06-15 13:36:54.000000000 +0000 ++++ src/fileformat/pfsoutpfm.cpp 2014-02-20 19:04:01.546588828 +0000 +@@ -74,7 +74,7 @@ + } + int written = fwrite( line, sizeof( float ), lineSize, fh ); + if( written != lineSize ) +- throw new pfs::Exception( "Unable to write data" ); ++ throw pfs::Exception( "Unable to write data" ); + } + delete[] line; + } +@@ -94,7 +94,7 @@ + } + int written = fwrite( line, sizeof( float ), lineSize, fh ); + if( written != lineSize ) +- throw new pfs::Exception( "Unable to write data" ); ++ throw pfs::Exception( "Unable to write data" ); + } + delete[] line; + } |
