summaryrefslogtreecommitdiff
path: root/media-libs/exempi/files/exempi-2.4.5-gcc11.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/exempi/files/exempi-2.4.5-gcc11.patch')
-rw-r--r--media-libs/exempi/files/exempi-2.4.5-gcc11.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-libs/exempi/files/exempi-2.4.5-gcc11.patch b/media-libs/exempi/files/exempi-2.4.5-gcc11.patch
new file mode 100644
index 000000000000..259c05d5cbd2
--- /dev/null
+++ b/media-libs/exempi/files/exempi-2.4.5-gcc11.patch
@@ -0,0 +1,11 @@
+--- a/XMPFiles/source/FormatSupport/P2_Support.hpp
++++ b/XMPFiles/source/FormatSupport/P2_Support.hpp
+@@ -79,7 +79,7 @@
+ }; // class P2_Clip
+ struct P2SpannedClip_Order
+ {
+- bool operator()( P2_Clip* lhs, P2_Clip* rhs)
++ bool operator()( P2_Clip* lhs, P2_Clip* rhs) const
+ {
+ return lhs->GetOffsetInShot() < rhs->GetOffsetInShot();
+ }