diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-05-30 14:56:54 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-05-30 15:35:21 -0300 |
commit | 98483f2026c1005f783ff31999bce8694e7c27c7 (patch) | |
tree | aa02ee0da65a1268fa7c185bd1343eaad230a815 /libre/luxmark/exepath.diff | |
parent | c434458d49a626b322e09671bb4d87ab69e046ec (diff) |
luxmark-3.1-2.parabola1: prepare for update for luxrays 1.6
* add fix for the exePath for luxVR
Diffstat (limited to 'libre/luxmark/exepath.diff')
-rw-r--r-- | libre/luxmark/exepath.diff | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libre/luxmark/exepath.diff b/libre/luxmark/exepath.diff new file mode 100644 index 000000000..bf135fec6 --- /dev/null +++ b/libre/luxmark/exepath.diff @@ -0,0 +1,15 @@ +diff --git a/src/luxmarkapp.cpp b/src/luxmarkapp.cpp +--- a/src/luxmarkapp.cpp ++++ b/src/luxmarkapp.cpp +@@ -90,10 +90,7 @@ + } + exePath = boost::filesystem::path(boost::filesystem::initial_path<boost::filesystem::path>()); + #else +- +- // Look for the directory where Lux executables are +- const boost::filesystem::path luxMarkExe(argv[0]); +- exePath = boost::filesystem::absolute(luxMarkExe).parent_path(); ++ exePath = "/usr/bin"; + #endif + } + |