[assimp/f17] Added python patch
rmattes
rmattes at fedoraproject.org
Sun Oct 28 22:28:48 UTC 2012
commit 8ed1bdc4b495e96167802568abd4972a53a82d47
Author: Rich Mattes <richmattes at gmail.com>
Date: Sun Oct 28 18:11:51 2012 -0400
Added python patch
assimp-pythonpath.patch | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/assimp-pythonpath.patch b/assimp-pythonpath.patch
new file mode 100644
index 0000000..0da87d7
--- /dev/null
+++ b/assimp-pythonpath.patch
@@ -0,0 +1,18 @@
+diff -up ./port/PyAssimp/pyassimp/helper.py.pythonpath ./port/PyAssimp/pyassimp/helper.py
+--- ./port/PyAssimp/pyassimp/helper.py.pythonpath 2012-10-24 22:04:36.698871141 -0400
++++ ./port/PyAssimp/pyassimp/helper.py 2012-10-24 22:05:44.265445828 -0400
+@@ -17,11 +17,12 @@ additional_dirs, ext_whitelist = [],[]
+ # populate search directories and lists of allowed file extensions
+ # depending on the platform we're running on.
+ if os.name=='posix':
+- additional_dirs.append('/usr/local/lib/')
+-
++ additional_dirs.append('/usr/lib64/')
++ additional_dirs.append('/usr/lib/')
+ # note - this won't catch libassimp.so.N.n, but
+ # currently there's always a symlink called
+ # libassimp.so in /usr/local/lib.
++ ext_whitelist.append('.0')
+ ext_whitelist.append('.so')
+
+ elif os.name=='nt':
More information about the scm-commits
mailing list