summaryrefslogtreecommitdiff
path: root/graphics/pfstools/files/patch-src-fileformat-rgbeio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pfstools/files/patch-src-fileformat-rgbeio.cpp')
-rw-r--r--graphics/pfstools/files/patch-src-fileformat-rgbeio.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/graphics/pfstools/files/patch-src-fileformat-rgbeio.cpp b/graphics/pfstools/files/patch-src-fileformat-rgbeio.cpp
new file mode 100644
index 000000000000..ffaa1c95a733
--- /dev/null
+++ b/graphics/pfstools/files/patch-src-fileformat-rgbeio.cpp
@@ -0,0 +1,29 @@
+--- src/fileformat/rgbeio.cpp.orig 2007-12-06 11:00:49.000000000 +0000
++++ src/fileformat/rgbeio.cpp 2014-02-20 19:04:01.556587853 +0000
+@@ -141,7 +141,7 @@
+ // Reading RGBE files
+ void readRadianceHeader( FILE *file, int &width, int &height, float &exposure )
+ {
+- DEBUG_STR << "RGBE: reading header..." << endl;
++ DEBUG_STR << "RGBE: reading header..." << std::endl;
+
+ // read header information
+ char head[255];
+@@ -208,7 +208,7 @@
+ height = height - width;
+ }
+ */
+- DEBUG_STR << "RGBE: image size " << width << "x" << height << endl;
++ DEBUG_STR << "RGBE: image size " << width << "x" << height << std::endl;
+ }
+
+
+@@ -389,7 +389,7 @@
+ int width = X->getCols();
+ int height = X->getRows();
+
+- DEBUG_STR << "RGBE: writing image " << width << "x" << height << endl;
++ DEBUG_STR << "RGBE: writing image " << width << "x" << height << std::endl;
+
+ if( Y->getCols() != width || Y->getRows() != height ||
+ Z->getCols() != width || Z->getRows() != height )