OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=421
41 lines
1.1 KiB
Diff
41 lines
1.1 KiB
Diff
Index: lldb-3.7.0.src/source/lldb.cpp
|
|
===================================================================
|
|
--- lldb-3.7.0.src.orig/source/lldb.cpp
|
|
+++ lldb-3.7.0.src/source/lldb.cpp
|
|
@@ -21,11 +21,7 @@ extern "C" const unsigned char liblldb_c
|
|
static const char *
|
|
GetLLDBRevision()
|
|
{
|
|
-#ifdef LLDB_REVISION
|
|
return LLDB_REVISION;
|
|
-#else
|
|
- return NULL;
|
|
-#endif
|
|
}
|
|
|
|
static const char *
|
|
Index: lldb-3.7.0.src/source/Core/IOHandler.cpp
|
|
===================================================================
|
|
--- lldb-3.7.0.src.orig/source/Core/IOHandler.cpp
|
|
+++ lldb-3.7.0.src/source/Core/IOHandler.cpp
|
|
@@ -29,8 +29,8 @@
|
|
#include "lldb/Target/ThreadPlan.h"
|
|
|
|
#ifndef LLDB_DISABLE_CURSES
|
|
-#include <ncurses.h>
|
|
-#include <panel.h>
|
|
+#include <ncurses/ncurses.h>
|
|
+#include <ncurses/panel.h>
|
|
#endif
|
|
|
|
using namespace lldb;
|
|
Index: lldb-3.7.0.src/source/Host/CMakeLists.txt
|
|
===================================================================
|
|
--- lldb-3.7.0.src.orig/source/Host/CMakeLists.txt
|
|
+++ lldb-3.7.0.src/source/Host/CMakeLists.txt
|
|
@@ -134,3 +134,4 @@ else()
|
|
endif()
|
|
|
|
add_lldb_library(lldbHost ${HOST_SOURCES})
|
|
+target_link_libraries(lldbHost dl pthread)
|