From 44455ef207a2752ba767d65a4a63e0bf34166f08 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 11 Aug 2015 16:58:02 +0200 Subject: [PATCH] lldb: guard aarch64.patch Else, craps all over the namespace on __i386__. --- srcpkgs/llvm/files/patches/lldb/aarch64.patch | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/llvm/files/patches/lldb/aarch64.patch b/srcpkgs/llvm/files/patches/lldb/aarch64.patch index e3aeee3ce3b..0779472a820 100644 --- a/srcpkgs/llvm/files/patches/lldb/aarch64.patch +++ b/srcpkgs/llvm/files/patches/lldb/aarch64.patch @@ -1,20 +1,24 @@ --- source/Plugins/Process/Linux/ProcessMonitor.cpp.orig +++ source/Plugins/Process/Linux/ProcessMonitor.cpp -@@ -27,6 +27,7 @@ +@@ -27,6 +27,9 @@ #include #endif #include ++#ifdef __aarch64__ +#include ++#endif #include #include #include --- source/Plugins/Process/Linux/NativeProcessLinux.cpp.orig +++ source/Plugins/Process/Linux/NativeProcessLinux.cpp -@@ -29,6 +29,7 @@ +@@ -29,6 +29,9 @@ #include #endif #include ++#ifdef __aarch64__ +#include ++#endif #include #include #include