summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2015-10-11 20:38:48 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2015-10-11 20:39:00 +0200
commitc4ea50ca83bfb8f0a402b4f9217eeaa9cbc85c20 (patch)
tree0e260262d392c008668c5beb5eb4aec1c2ee1d4f /sys-devel/llvm/files/llvm-3.7-lldb_python.patch
parentdev-lang/ekopath: Snapshot bump (diff)
downloadgentoo-c4ea50ca83bfb8f0a402b4f9217eeaa9cbc85c20.tar.gz
gentoo-c4ea50ca83bfb8f0a402b4f9217eeaa9cbc85c20.tar.bz2
gentoo-c4ea50ca83bfb8f0a402b4f9217eeaa9cbc85c20.zip
sys-devel/llvm: bump to fix lldb python install
Bug: 562436 Bug: 562438 Package-Manager: portage-2.2.23
Diffstat (limited to 'sys-devel/llvm/files/llvm-3.7-lldb_python.patch')
-rw-r--r--sys-devel/llvm/files/llvm-3.7-lldb_python.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-devel/llvm/files/llvm-3.7-lldb_python.patch b/sys-devel/llvm/files/llvm-3.7-lldb_python.patch
new file mode 100644
index 000000000000..1a958271e187
--- /dev/null
+++ b/sys-devel/llvm/files/llvm-3.7-lldb_python.patch
@@ -0,0 +1,23 @@
+diff -Naur llvm-3.7.0.src.orig/tools/lldb/scripts/Python/finishSwigPythonLLDB.py llvm-3.7.0.src/tools/lldb/scripts/Python/finishSwigPythonLLDB.py
+--- llvm-3.7.0.src.orig/tools/lldb/scripts/Python/finishSwigPythonLLDB.py 2015-06-04 05:12:37.000000000 +0200
++++ llvm-3.7.0.src/tools/lldb/scripts/Python/finishSwigPythonLLDB.py 2015-10-11 19:19:54.074935710 +0200
+@@ -371,14 +371,14 @@
+ strLibFileExtn = ".dylib";
+ else:
+ strLibFileExtn = ".so";
+- strSrc = os.path.join("lib", "liblldb" + strLibFileExtn);
++ strSrc = os.path.join("GENTOO_LIBDIR", "liblldb" + strLibFileExtn);
+
+- if eOSType != utilsOsType.EnumOsType.Windows:
++# if eOSType != utilsOsType.EnumOsType.Windows:
+ # Create a symlink to the "lib" directory, to ensure liblldb's RPATH is
+ # effective.
+- bOk, strErrMsg = make_symlink( vDictArgs, vstrFrameworkPythonDir, "lib", os.path.join("../lib") );
+- if not bOk:
+- return (bOk, strErrMsg)
++# bOk, strErrMsg = make_symlink( vDictArgs, vstrFrameworkPythonDir, "lib", os.path.join("../lib") );
++# if not bOk:
++# return (bOk, strErrMsg)
+
+ bOk, strErrMsg = make_symlink( vDictArgs, vstrFrameworkPythonDir, strSrc, strTarget );
+