aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mxflib
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2014-01-17 21:31:29 +0800
committerolgeni <olgeni@FreeBSD.org>2014-01-17 21:31:29 +0800
commit3152626574bd559742a2c77a4af7e1d0f19c10c3 (patch)
tree9c5fa188966dac8e699adb2805087740958f9e2d /multimedia/mxflib
parentf5e4ff6d4ef551425ed04375194f5ab1781841ff (diff)
downloadfreebsd-ports-gnome-3152626574bd559742a2c77a4af7e1d0f19c10c3.tar.gz
freebsd-ports-gnome-3152626574bd559742a2c77a4af7e1d0f19c10c3.tar.zst
freebsd-ports-gnome-3152626574bd559742a2c77a4af7e1d0f19c10c3.zip
Unbreak on FreeBSD 10.
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!!