diff --git a/lldb-python-module-symlink.patch b/lldb-python-module-symlink.patch new file mode 100644 index 0000000..284d6a3 --- /dev/null +++ b/lldb-python-module-symlink.patch @@ -0,0 +1,16 @@ +Fix broken symlink to Python's lldb module + +Resolves: #1177143 + +diff -rupN lldb-3.5.0.src/scripts/Python/finish-swig-Python-LLDB.sh lldb-3.5.0.src-new/scripts/Python/finish-swig-Python-LLDB.sh +--- lldb-3.5.0.src/scripts/Python/finish-swig-Python-LLDB.sh 2014-07-01 19:57:19.000000000 +0200 ++++ lldb-3.5.0.src-new/scripts/Python/finish-swig-Python-LLDB.sh 2014-12-24 14:18:10.068604693 +0100 +@@ -158,7 +158,7 @@ then + then + ln -s "../../../LLDB" _lldb.so + else +- ln -s "../../../liblldb${SOEXT}" _lldb.so ++ ln -s "../../../llvm/liblldb${SOEXT}" _lldb.so + fi + else + if [ $Debug -eq 1 ] diff --git a/llvm.spec b/llvm.spec index 23c063b..1da3f36 100644 --- a/llvm.spec +++ b/llvm.spec @@ -75,6 +75,7 @@ Patch100: clang-fake-gcc43.patch Patch200: lldb-python.patch Patch201: lldb-fix-expression-parser.patch +Patch202: lldb-python-module-symlink.patch BuildRequires: bison BuildRequires: chrpath @@ -335,6 +336,7 @@ pushd tools/lldb # careful when recreating this patch... %patch200 -p1 -b .python %patch201 -p2 +%patch202 -p1 sed -i s/@lib@/%{_lib}/g scripts/Python/modules/readline/Makefile popd %endif @@ -696,6 +698,7 @@ exit 0 %changelog * Thu Dec 25 2014 Jan Vcelak 3.5.0-6 - lldb: fix broken expression parser +- lldb, python module: fix symlink to lldb.so (#1177143) * Thu Dec 18 2014 Dan HorĂ¡k - 3.5.0-5 - use the common workaround for OOM during linking on s390