diff options
Diffstat (limited to 'kde-base/kdegraphics-kfile-plugins/files/kdegraphics-kfile-plugins-3.5.7-openexr-1.6.0.patch')
-rw-r--r-- | kde-base/kdegraphics-kfile-plugins/files/kdegraphics-kfile-plugins-3.5.7-openexr-1.6.0.patch | 25 |
1 files changed, 0 insertions, 25 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 deleted file mode 100644 index de82dba73000..000000000000 --- a/kde-base/kdegraphics-kfile-plugins/files/kdegraphics-kfile-plugins-3.5.7-openexr-1.6.0.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- 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)); |