summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2007-08-28 19:57:17 +0000
committerWulf Krueger <philantrop@gentoo.org>2007-08-28 19:57:17 +0000
commita32ff2747b08b331f59eb1e6617427c4c52185e4 (patch)
tree1d401fdaf2bd431ac5273cb96f61701426723779 /kde-base/kdegraphics-kfile-plugins/files
parentStable for HPPA (bug #185823). (diff)
downloadgentoo-2-a32ff2747b08b331f59eb1e6617427c4c52185e4.tar.gz
gentoo-2-a32ff2747b08b331f59eb1e6617427c4c52185e4.tar.bz2
gentoo-2-a32ff2747b08b331f59eb1e6617427c4c52185e4.zip
Added an upstream patch to fix compilation with openexr-1.6.0 as per bug 189798.
(Portage version: 2.1.3.7)
Diffstat (limited to 'kde-base/kdegraphics-kfile-plugins/files')
-rw-r--r--kde-base/kdegraphics-kfile-plugins/files/kdegraphics-kfile-plugins-3.5.7-openexr-1.6.0.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/kde-base/kdegraphics-kfile-plugins/files/kdegraphics-kfile-plugins-3.5.7-openexr-1.6.0.patch b/kde-base/kdegraphics-kfile-plugins/files/kdegraphics-kfile-plugins-3.5.7-openexr-1.6.0.patch
new file mode 100644
index 000000000000..de82dba73000
--- /dev/null
+++ b/kde-base/kdegraphics-kfile-plugins/files/kdegraphics-kfile-plugins-3.5.7-openexr-1.6.0.patch
@@ -0,0 +1,25 @@
+--- kfile-plugins/exr/kfile_exr.cpp
++++ kfile-plugins/exr/kfile_exr.cpp
+@@ -32,6 +32,7 @@
+ #include <ImfVecAttribute.h>
+ #include <ImfPreviewImage.h>
+ #include <ImfVersion.h>
++#include <ImfCRgbaFile.h>
+
+ #include <iostream>
+
+@@ -226,7 +227,14 @@
+ qcapDateString.setLength(capDateString.size());
+ appendItem( stdgroup, "Capture Date", qcapDateString );
+ }
++ // This define was introduced in EXR 1.6.0
++#ifndef IMF_B44_COMPRESSION
++ // This is the 1.4 and earlier version
+ if ( hasutcOffset(h) ) {
++#else
++ // This is the 1.6.0 and later version
++ if ( hasUtcOffset(h) ) {
++#endif
+ QString UTCOffset;
+ if (utcOffset(h)>0.0) {
+ UTCOffset.append(QString("%1").arg(utcOffset(h)/3600, 0, 'f', 1));