From d477bb63fb5befe54c63cd76bdf635cdb4938b66 Mon Sep 17 00:00:00 2001 From: ImperatorS79 Date: Sun, 29 Nov 2020 14:59:17 +0100 Subject: [PATCH] Add a patch to fix opencascade compilation when using openvr --- mingw-w64-opencascade/0001-fix-compile-openvr.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 mingw-w64-opencascade/0001-fix-compile-openvr.patch diff --git a/mingw-w64-opencascade/0001-fix-compile-openvr.patch b/mingw-w64-opencascade/0001-fix-compile-openvr.patch new file mode 100644 index 0000000000..f510fe430d --- /dev/null +++ b/mingw-w64-opencascade/0001-fix-compile-openvr.patch @@ -0,0 +1,12 @@ +diff -ur occt-V7_5_0.orig/src/Aspect/Aspect_OpenVRSession.cxx occt-V7_5_0/src/Aspect/Aspect_OpenVRSession.cxx +--- occt-V7_5_0.orig/src/Aspect/Aspect_OpenVRSession.cxx 2020-11-26 11:27:09.822443300 +0100 ++++ occt-V7_5_0/src/Aspect/Aspect_OpenVRSession.cxx 2020-11-26 11:30:38.912514000 +0100 +@@ -168,7 +168,7 @@ + vr::IVRSystem* System; //!< OpenVR session object + + //! Empty constructor. +- Aspect_OpenVRSession::VRContext() : System (NULL) ++ VRContext() : System (NULL) + { + memset (TrackedPoses, 0, sizeof(TrackedPoses)); + }