diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-05-07 21:38:57 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-05-07 21:45:16 +0200 |
commit | 6f67bc92d117872255ea28559a1c4cded72757d1 (patch) | |
tree | 4d1312b650041a7b46f5d56b7bffd5e8fddcb2de /testing/lldb/musl-include-limits.h.patch | |
parent | 26741307e7dce9d4e1c4c7f0682fc6259f1abcca (diff) | |
download | aports-6f67bc92d117872255ea28559a1c4cded72757d1.tar.bz2 aports-6f67bc92d117872255ea28559a1c4cded72757d1.tar.xz |
testing/lldb: upgrade to 5.0.1
Diffstat (limited to 'testing/lldb/musl-include-limits.h.patch')
-rw-r--r-- | testing/lldb/musl-include-limits.h.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/testing/lldb/musl-include-limits.h.patch b/testing/lldb/musl-include-limits.h.patch deleted file mode 100644 index 3cc0dd6325..0000000000 --- a/testing/lldb/musl-include-limits.h.patch +++ /dev/null @@ -1,24 +0,0 @@ -This patch fixes error when building with clang++: - - [159/862] Building CXX object source/Host/CMakeFiles/lldbHost.dir/common/FileSpec.cpp.o - FAILED: source/Host/CMakeFiles/lldbHost.dir/common/FileSpec.cpp.o - /usr/bin/clang++ -DHAVE_PROCESS_VM_READV -DHAVE_ROUND -DLIBXML2_DEFINED -DLLDB_DISABLE_LIBEDIT -DLLDB_USE_BUILTIN_DEMANGLER -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Isource/Host -I../source/Host -I../include -Iinclude -I/usr/lib/llvm4/include -I/usr/include/python2.7 -I../tools/clang/include -I../clang/include -I/usr/include/libxml2 -I../source/. -I../source/Plugins/Process/Linux -I../source/Plugins/Process/POSIX -Os -fomit-frame-pointer -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -fcolor-diagnostics -ffunction-sections -fdata-sections -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -O3 -DNDEBUG -fno-exceptions -MD -MT source/Host/CMakeFiles/lldbHost.dir/common/FileSpec.cpp.o -MF source/Host/CMakeFiles/lldbHost.dir/common/FileSpec.cpp.o.d -o source/Host/CMakeFiles/lldbHost.dir/common/FileSpec.cpp.o -c ../source/Host/common/FileSpec.cpp - ../source/Host/common/FileSpec.cpp:92:22: error: use of undeclared identifier 'PATH_MAX' - char resolved_path[PATH_MAX]; - ^ - ../source/Host/common/FileSpec.cpp:675:17: error: use of undeclared identifier 'PATH_MAX' - char path_buf[PATH_MAX]; - ^ - ... - 8 errors generated. - ---- a/source/Host/common/FileSpec.cpp -+++ b/source/Host/common/FileSpec.cpp -@@ -9,6 +9,7 @@ - - #ifndef _WIN32 - #include <dirent.h> -+#include <limits.h> - #else - #include "lldb/Host/windows/windows.h" - #endif |