aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lldb/fix-embedded_interpreter.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-05-07 22:13:54 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-05-07 22:15:00 +0200
commit96633b2dc8314e77cfbab889df437d5c8699fadf (patch)
treee99d24f58437e5e0ceec3e205a400760ed2024eb /testing/lldb/fix-embedded_interpreter.patch
parenteab200a153b116760e101054091baf23e7093057 (diff)
downloadaports-96633b2dc8314e77cfbab889df437d5c8699fadf.tar.bz2
aports-96633b2dc8314e77cfbab889df437d5c8699fadf.tar.xz
testing/lldb: move custom readline.so into correct location
Diffstat (limited to 'testing/lldb/fix-embedded_interpreter.patch')
-rw-r--r--testing/lldb/fix-embedded_interpreter.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/lldb/fix-embedded_interpreter.patch b/testing/lldb/fix-embedded_interpreter.patch
new file mode 100644
index 0000000000..599e30a440
--- /dev/null
+++ b/testing/lldb/fix-embedded_interpreter.patch
@@ -0,0 +1,14 @@
+Hack so that lldb can find its custom readline.so, because we move it
+after install.
+
+This is based on Fedora package.
+
+--- a/source/Interpreter/embedded_interpreter.py
++++ b/source/Interpreter/embedded_interpreter.py
+@@ -1,4 +1,6 @@
+ import sys
++sys.path.insert(1, '%{python_sitearch}/lldb')
++
+ if sys.version_info[0] < 3:
+ import __builtin__ as builtins
+ else: