llvm/lldb-cmake.patch

32 lines
790 B
Diff

Index: lldb-3.8.1.src/source/lldb.cpp
===================================================================
--- lldb-3.8.1.src.orig/source/lldb.cpp
+++ lldb-3.8.1.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.8.1.src/source/Core/IOHandler.cpp
===================================================================
--- lldb-3.8.1.src.orig/source/Core/IOHandler.cpp
+++ lldb-3.8.1.src/source/Core/IOHandler.cpp
@@ -9,8 +9,8 @@
// C Includes
#ifndef LLDB_DISABLE_CURSES
-#include <curses.h>
-#include <panel.h>
+#include <ncurses/curses.h>
+#include <ncurses/panel.h>
#endif
// C++ Includes