summarylogtreecommitdiffstats
path: root/paths.patch
diff options
context:
space:
mode:
authorJakob Gahde2018-02-06 12:11:30 +0100
committerJakob Gahde2018-02-06 12:11:30 +0100
commita56fcb160e4b09f0dfa3f854f628833d23555aa2 (patch)
tree93b487f445288ad5b15b9873ce909ef11806b83f /paths.patch
downloadaur-yafaray-blender-exporter.tar.gz
yafaray-blender-exporter 3.3.0-1: New package
Diffstat (limited to 'paths.patch')
-rw-r--r--paths.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/paths.patch b/paths.patch
new file mode 100644
index 00000000000..5864d8463af
--- /dev/null
+++ b/paths.patch
@@ -0,0 +1,14 @@
+diff -aur --no-dereference package.pristine/__init__.py package.new/__init__.py
+--- package.pristine/__init__.py 2017-08-22 18:53:57.000000000 +0200
++++ package.new/__init__.py 2018-02-06 11:43:22.385701679 +0100
+@@ -22,8 +22,8 @@
+ import os
+ import ctypes
+
+-PLUGIN_PATH = os.path.join(__path__[0], 'bin', 'yafaray-plugins')
+-BIN_PATH = os.path.join(__path__[0], 'bin')
++PLUGIN_PATH = '/usr/lib/yafaray-plugins'
++BIN_PATH = '/usr/bin'
+ YAF_ID_NAME = "YAFA_V3_RENDER"
+
+ # Version to be automatically populated during the cmake build process, getting the version from git tags