aboutsummaryrefslogtreecommitdiffstats
path: root/community/lldb/fix-embedded_interpreter.patch
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-03-01 23:49:56 +0100
committerRasmus Thomsen <oss@cogitri.dev>2020-03-02 10:15:51 +0100
commit9588503236fa4cc4cab34e249e815abf265563cb (patch)
tree85a766f399eab660fc336040f5ea81461e10f3a4 /community/lldb/fix-embedded_interpreter.patch
parent9f3c6cd034506d8980866f91b3b6bb00c5f53c88 (diff)
downloadaports-9588503236fa4cc4cab34e249e815abf265563cb.tar.bz2
aports-9588503236fa4cc4cab34e249e815abf265563cb.tar.xz
community/lldb: move from testing
Diffstat (limited to 'community/lldb/fix-embedded_interpreter.patch')
-rw-r--r--community/lldb/fix-embedded_interpreter.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/lldb/fix-embedded_interpreter.patch b/community/lldb/fix-embedded_interpreter.patch
new file mode 100644
index 0000000000..599e30a440
--- /dev/null
+++ b/community/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: