summaryrefslogtreecommitdiff
path: root/multimedia/mxflib
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2014-01-17 13:31:29 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2014-01-17 13:31:29 +0000
commit060e35f91cab2e0d7046e2cbe654e13307fe575d (patch)
tree9c5fa188966dac8e699adb2805087740958f9e2d /multimedia/mxflib
parentReduce over inclusion of bsd.port.mk (diff)
Unbreak on FreeBSD 10.
Notes
Notes: svn path=/head/; revision=340035
Diffstat (limited to 'multimedia/mxflib')
-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 000000000000..d801762cf102
--- /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!!