void-packages/srcpkgs/llvm/files/patches/lldb/fix-musl.patch
Leah Neukirchen 5adcb02d08 llvm: update to 4.0.0.
- Switch back to dynamic linking, seems to work again.  Fixes #4722.
- Disable libedit on musl (weird input bugs).
2017-05-04 14:46:12 +02:00

28 lines
832 B
Diff

From 13b33959b864e3697e8dad002577321de13f4cc9 Mon Sep 17 00:00:00 2001
From: Andrea Brancaleoni <miwaxe@gmail.com>
Date: Tue, 8 Sep 2015 23:00:56 +0200
Subject: [PATCH] fix musl
---
source/Core/ConnectionSharedMemory.cpp | 1 +
source/Host/common/FileSpec.cpp | 1 +
source/Host/linux/Host.cpp | 2 +-
source/Host/linux/HostThreadLinux.cpp | 2 ++
source/Plugins/Process/Linux/Procfs.h | 2 +-
5 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/source/Host/common/FileSpec.cpp b/source/Host/common/FileSpec.cpp
index ceb094b..a48620d 100644
--- a/source/Host/common/FileSpec.cpp
+++ b/source/Host/common/FileSpec.cpp
@@ -14,6 +14,7 @@
#include "lldb/Host/windows/windows.h"
#endif
#include <fcntl.h>
+#include <limits.h> /* PATH_MAX */
#ifndef _MSC_VER
#include <libgen.h>
#endif
--
2.5.1