aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--multimedia/mxflib/files/patch-mxflib_smartptr.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/mxflib/files/patch-mxflib_smartptr.h b/multimedia/mxflib/files/patch-mxflib_smartptr.h
new file mode 100644
index 00000000000..d801762cf10
--- /dev/null
+++ b/multimedia/mxflib/files/patch-mxflib_smartptr.h
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- mxflib/smartptr.h.orig
++++ mxflib/smartptr.h
+@@ -503,7 +503,7 @@
+ }
+
+ //! Comparison function to allow sorting by indexed value
+- bool operator<(SmartPtr &Other) { return this.operator<(*Other->GetPtr()); }
++ bool operator<(SmartPtr &Other) { return this->operator<(*Other->GetPtr()); }
+
+ //! Get a cast version of the pointer
+ /*! This is used via the SmartPtr_Cast() Macro to allow MSVC 6 to work!!