change-default-ni-drivers-path
authorDebian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
Thu, 29 Sep 2016 18:49:48 +0000 (18:49 +0000)
committerRaspbian forward porter <root@raspbian.org>
Thu, 29 Sep 2016 18:49:48 +0000 (18:49 +0000)
Gbp-Pq: Name 0005-change-default-ni-drivers-path.patch

Source/Core/OniContext.cpp

index 0298f4c7b9ca839c56d37fcbaead280741973ea3..2c5a5737f2a21d512b5b71f6d352e93200bc5cd6 100644 (file)
@@ -24,7 +24,7 @@
 #include <XnOSCpp.h>
 
 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"