From: Debian Multimedia Maintainers Date: Wed, 9 Aug 2017 06:40:32 +0000 (+0100) Subject: change-default-ni-drivers-path X-Git-Tag: archive/raspbian/2.2.0.33+dfsg-9+rpi1^2~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ca4d37c0979838b49cecf89a1ea44064c732a1cd;p=openni2.git change-default-ni-drivers-path Gbp-Pq: Name 0005-change-default-ni-drivers-path.patch --- diff --git a/Source/Core/OniContext.cpp b/Source/Core/OniContext.cpp index 0298f4c..2c5a573 100644 --- a/Source/Core/OniContext.cpp +++ b/Source/Core/OniContext.cpp @@ -24,7 +24,7 @@ #include static const char* ONI_CONFIGURATION_FILE = "/etc/openni2/OpenNI.ini"; -static const char* ONI_DEFAULT_DRIVERS_REPOSITORY = "OpenNI2" XN_FILE_DIR_SEP "Drivers"; +static const char* ONI_DEFAULT_DRIVERS_REPOSITORY = "/usr/lib/" "OpenNI2" XN_FILE_DIR_SEP "Drivers"; #define XN_MASK_ONI_CONTEXT "OniContext"