summaryrefslogtreecommitdiff
path: root/libre/luxmark/exepath.diff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-05-30 14:56:54 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-05-30 15:35:21 -0300
commit98483f2026c1005f783ff31999bce8694e7c27c7 (patch)
treeaa02ee0da65a1268fa7c185bd1343eaad230a815 /libre/luxmark/exepath.diff
parentc434458d49a626b322e09671bb4d87ab69e046ec (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.diff15
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
+ }
+