Camera tracking integration
authorSergey Sharybin <sergey.vfx@gmail.com>
Sun, 4 Sep 2011 12:56:16 +0000 (12:56 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sun, 4 Sep 2011 12:56:16 +0000 (12:56 +0000)
===========================

Fix compilation for 32bit OSX.

extern/libmv/patches/config_mac.patch [new file with mode: 0644]
extern/libmv/patches/series
extern/libmv/third_party/glog/src/config_mac.h

diff --git a/extern/libmv/patches/config_mac.patch b/extern/libmv/patches/config_mac.patch
new file mode 100644 (file)
index 0000000..5a88015
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/src/third_party/glog/src/config_mac.h b/src/third_party/glog/src/config_mac.h
+index a45575b..5f953d1 100644
+--- a/src/third_party/glog/src/config_mac.h
++++ b/src/third_party/glog/src/config_mac.h
+@@ -131,7 +131,7 @@
+ #define PACKAGE_VERSION "0.3.1"
+ /* How to access the PC from a struct ucontext */
+-#define PC_FROM_UCONTEXT uc_mcontext->__ss.__rip
++#undef PC_FROM_UCONTEXT
+ /* Define to necessary symbol if this constant uses a non-standard name on
+    your system. */
index 4327488..80f0d2c 100644 (file)
@@ -1,4 +1,5 @@
 v3d_verbosity.patch
 snrptinf_fix.patch
 bundle_tweaks.patch
-fast.patch
\ No newline at end of file
+fast.patch
+config_mac.patch
index a45575b..5f953d1 100644 (file)
 #define PACKAGE_VERSION "0.3.1"
 
 /* How to access the PC from a struct ucontext */
-#define PC_FROM_UCONTEXT uc_mcontext->__ss.__rip
+#undef PC_FROM_UCONTEXT
 
 /* Define to necessary symbol if this constant uses a non-standard name on
    your system. */